You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2009/03/15 03:06:50 UTC
[jira] Created: (LANG-492) Remove code handled now by the JDK
Remove code handled now by the JDK
----------------------------------
Key: LANG-492
URL: https://issues.apache.org/jira/browse/LANG-492
Project: Commons Lang
Issue Type: Task
Reporter: Henri Yandell
Fix For: 3.0
enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-492.
------------------------------
Resolution: Fixed
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Components: General
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697433#action_12697433 ]
Henri Yandell commented on LANG-492:
------------------------------------
svn ci -m "Removing BooleanUtils.toBooleanObject(boolean) as JDK 1.4 provides Boolean.valueOf(boolean) - even if we ignore autoboxing. LANG-492" src
Sending src/java/org/apache/commons/lang/ArrayUtils.java
Sending src/java/org/apache/commons/lang/BooleanUtils.java
Sending src/java/org/apache/commons/lang/builder/ToStringBuilder.java
Sending src/java/org/apache/commons/lang/mutable/MutableBoolean.java
Sending src/test/org/apache/commons/lang/BooleanUtilsTest.java
Transmitting file data .....
Committed revision 763559.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764956#action_12764956 ]
Henri Yandell commented on LANG-492:
------------------------------------
Per LANG-535; consider removing ClassUtils.getShortClassName and its ilk due to existence of Class.getSimpleName.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704488#action_12704488 ]
Henri Yandell commented on LANG-492:
------------------------------------
To delete:
NumberUtils.compare(double, double) is now in Double.
NumberUtils.compare(float, float) is now in Float.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778779#action_12778779 ]
Henri Yandell commented on LANG-492:
------------------------------------
Consider removing ArrayUtils.hashCode (Arrays.hashCode), ArrayUtils.clone (Arrays.copyOf) and ArrayUtils.toString (Arrays.toString).
The copyOf methods are JDK 1.6.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779334#action_12779334 ]
Henri Yandell commented on LANG-492:
------------------------------------
hashCode removed.
toString - toString(Object[], String) isn't supported (i.e. a default value). toString(null) also fails to compile.
clone - pending JDK 1.6 dependency.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704490#action_12704490 ]
Henri Yandell commented on LANG-492:
------------------------------------
svn ci -m "Removing NumberUtils.compare(float,float) and NumberUtils.compare(double,double). These are now foud in
Float and Double respectively. Keeping the unit tests, but pointing to the JDK methods as a regression. LANG-492"
Sending src/java/org/apache/commons/lang/builder/CompareToBuilder.java
Sending src/java/org/apache/commons/lang/math/NumberUtils.java
Sending src/java/org/apache/commons/lang/math/Range.java
Sending src/java/org/apache/commons/lang/mutable/MutableDouble.java
Sending src/java/org/apache/commons/lang/mutable/MutableFloat.java
Sending src/test/org/apache/commons/lang/math/NumberUtilsTest.java
Transmitting file data ......
Committed revision 770078.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717208#action_12717208 ]
Henri Yandell commented on LANG-492:
------------------------------------
Consider removing the replaceXxx methods. Regex exists in the JDK now, and Matcher.literalReplacement might mean we could still have a optimized way. Given the popularity of this API - also consider replacing with an implementation based on Regex. Potentially move to RegexUtils.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-492) Remove code handled now by the JDK
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682118#action_12682118 ]
Henri Yandell commented on LANG-492:
------------------------------------
svn ci -m "Removing the Lang NestableException concept and instead relying on the J
DK support. [LANG-492]. [LANG-491] notes the need to rethink ExceptionUtils and its test. "
Sending src/java/org/apache/commons/lang/NotImplementedException.java
Sending src/java/org/apache/commons/lang/SerializationException.java
Sending src/java/org/apache/commons/lang/StringEscapeUtils.java
Sending src/java/org/apache/commons/lang/UnhandledException.java
Sending src/java/org/apache/commons/lang/exception/ExceptionUtils.java
Deleting src/java/org/apache/commons/lang/exception/Nestable.java
Deleting src/java/org/apache/commons/lang/exception/NestableDelegate.java
Deleting src/java/org/apache/commons/lang/exception/NestableError.java
Deleting src/java/org/apache/commons/lang/exception/NestableException.java
Deleting src/java/org/apache/commons/lang/exception/NestableRuntimeException.java
Sending src/test/org/apache/commons/lang/NotImplementedExceptionTest.java
Sending src/test/org/apache/commons/lang/UnhandledExceptionTest.java
Deleting src/test/org/apache/commons/lang/exception/AbstractNestableTest.java
Sending src/test/org/apache/commons/lang/exception/ExceptionTestSuite.java
Sending src/test/org/apache/commons/lang/exception/ExceptionUtilsTest.java
Deleting src/test/org/apache/commons/lang/exception/NestableDelegateTest.java
Deleting src/test/org/apache/commons/lang/exception/NestableErrorTest.java
Deleting src/test/org/apache/commons/lang/exception/NestableExceptionTest.java
Deleting src/test/org/apache/commons/lang/exception/NestableRuntimeExceptionTest.java
Transmitting file data .........
Committed revision 754589.
> Remove code handled now by the JDK
> ----------------------------------
>
> Key: LANG-492
> URL: https://issues.apache.org/jira/browse/LANG-492
> Project: Commons Lang
> Issue Type: Task
> Reporter: Henri Yandell
> Fix For: 3.0
>
>
> enum, enums packages removed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.