Author: sebb
Date: Tue Nov 11 13:04:13 2008
New Revision: 713168

URL: http://svn.apache.org/viewvc?rev=713168&view=rev
Log:
Remove deprecated Java 1.3 work-rounds

Modified:
    jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java

Modified: 
jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
URL: 
http://svn.apache.org/viewvc/jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java?rev=713168&r1=713167&r2=713168&view=diff
==============================================================================
--- jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java 
(original)
+++ jakarta/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java 
Tue Nov 11 13:04:13 2008
@@ -216,20 +216,6 @@
 
     /**
      * Convert a boolean to its string representation Equivalent to
-     * Boolean.toString(boolean) but valid also for JDK 1.3, which
-     * does not have toString(boolean)
-     *
-     * @param value
-     *            boolean to convert
-     * @return "true" or "false"
-     * @deprecated Use Boolean.toString(boolean) instead.
-     */
-    public static String booleanToString(boolean value) {
-        return value ? "true" : "false";
-    }
-
-    /**
-     * Convert a boolean to its string representation Equivalent to
      * Boolean.valueOf(boolean).toString().toUpperCase() but valid also for JDK
      * 1.3, which does not have valueOf(boolean)
      *
@@ -242,20 +228,6 @@
     }
 
     /**
-     * Version of Boolean.valueOf(boolean) for JDK 1.3
-     *
-     * @param value
-     *            boolean to convert
-     * @return Boolean.TRUE or Boolean.FALSE
-     *
-     * @deprecated use Boolean.valueOf(boolean)
-     *
-     */
-    public static Boolean valueOf(boolean value) {
-        return value ? Boolean.TRUE : Boolean.FALSE;
-    }
-
-    /**
      * Simple-minded String.replace() for JDK1.3 Should probably be recoded...
      *
      * @param source



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to