Commit Graph

1935 Commits

Author SHA1 Message Date
Sebastian Bazley c0917e861a Make private static fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754456 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 14:56:55 +00:00
Sebastian Bazley b43136cb1c Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753662 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 14:05:13 +00:00
Sebastian Bazley 80941d0b80 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753660 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 14:00:22 +00:00
Sebastian Bazley 94036044a4 Unnecessary casts (clone)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753658 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:55:29 +00:00
Sebastian Bazley a7670821dc Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753656 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:41:29 +00:00
Sebastian Bazley d165a84e9e Fix various Eclipse warnings (casts, unused vars, @Override)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753655 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:40:37 +00:00
Sebastian Bazley 8328a95adb Fix various Eclipse warnings (casts, unused vars)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753654 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:37:21 +00:00
Sebastian Bazley 6315813381 Casts not really needed, but keep for consistency so suppress warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753653 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:32:29 +00:00
Sebastian Bazley 5b64c9177b Avoid class cast and unused var warnings [Eclipse]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753652 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:23:02 +00:00
Sebastian Bazley 6c2ce661d9 Cast null for calling invoke() [Eclipse]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753651 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:17:50 +00:00
Sebastian Bazley 63f03f356c Cast null for calling getMethods() [Eclipse]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753650 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 13:15:07 +00:00
Sebastian Bazley 43db58d70f Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753646 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 12:58:05 +00:00
Sebastian Bazley fede75d58f Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753645 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 12:54:15 +00:00
Sebastian Bazley c653a71c1e Add missing index to array reference (Findbugs)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753643 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 12:22:50 +00:00
Henri Yandell d34bc6a603 Removed deprecated NumberRange class [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753627 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 10:03:13 +00:00
Henri Yandell f62839527b Removing deprecated NumberUtils.toInt methods [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753626 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 10:01:53 +00:00
Henri Yandell 5ca11e049c Removed deprecated org.apache.commons.lang.NumberUtils class as per LANG-438
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753625 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 09:59:56 +00:00
Henri Yandell cba79c706b Removing deprecated fields in DateUtils as per LANG-438
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753624 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 09:57:47 +00:00
Henri Yandell 798b3306f8 Fixing package name. Removing import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753621 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 09:26:42 +00:00
Henri Yandell 929156a833 Moving IDKey into builder package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753620 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 09:26:14 +00:00
Henri Yandell ebeafe7dd0 Making IDKey package private. Which means it needs to move into builder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753619 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 09:26:01 +00:00
Matthew Jason Benson 9ec9d423fa comments, a spelling correction, some ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@752469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-11 15:27:27 +00:00
Henri Yandell 67bca7a1e8 Hooking up tests and tests to ignore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751360 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 02:34:41 +00:00
Henri Yandell eca2cde607 Fixing names of classes so they compile/run
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751359 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 02:20:22 +00:00
Henri Yandell e745797ab3 Renaming files to match *Test.java of other tests. Code is broken - needs to be edited after the svn mv
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751358 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 02:15:36 +00:00
Henri Yandell 76fdbaf1a4 Removing EnumTests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751351 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:57:50 +00:00
Henri Yandell 69d0399fcd Moving the enums package over to the backcompat branch. Won't be in 3.0 as people should use Java enums nowadays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751350 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:56:56 +00:00
Henri Yandell 784a817fef Moving the enums package over to the backcompat branch. Won't be in 3.0 as people should use Java enums nowadays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751349 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:56:00 +00:00
Henri Yandell bcf6e9d662 Adding Java5 EnumUtils class with getEnumMap method. LANG-290
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751347 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:37:57 +00:00
Henri Yandell f5203850b0 Documenting future of enums
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@751344 13f79535-47bb-0310-9956-ffa450edef68
2009-03-08 01:07:17 +00:00
Henri Yandell b23d1430ee Missed removing a test.enum
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749347 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 16:28:52 +00:00
Henri Yandell 1b3c9a30cd Removing enum.EnumTestSuite
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749175 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:48:28 +00:00
Henri Yandell 4f49d7d272 Removing the enum package from the All test suite
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749174 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:44:13 +00:00
Henri Yandell 50af57d0b8 Moving enum test package to back compat 'branch'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749173 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:40:27 +00:00
Henri Yandell 5df3e1aad7 Moving enum package to back compat 'branch'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749171 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:39:27 +00:00
Henri Yandell cf5530f662 Moving to targetting JDK 1.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749165 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:29:35 +00:00
Henri Yandell 4f3b802594 Adding javadoc per LANG-424 to point out what happens in substringLast/substringBefore methods when substring is not found
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749151 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 02:33:24 +00:00
Henri Yandell cb8a0d43ea Applying my patch from LANG-478 - moving StopWatch to using nanoTime under the hood.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749114 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 21:18:18 +00:00
Henri Yandell ef718fccdf Removing the notion that -1 was a special state value. The code was changed a while back to have properly defined states. Helps prepare for LANG-478
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749101 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 21:02:57 +00:00
Henri Yandell c068395793 Applying Alexander Kjall's patch from LANG-480; along with a unit test made from his example. Fixes unicode conversion above U+00FFFF being done into 2 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@749095 13f79535-47bb-0310-9956-ffa450edef68
2009-03-01 20:54:40 +00:00
Matthew Jason Benson 00fee20efc ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@739041 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 22:00:55 +00:00
Phil Steitz 10e6a671fc Fixed download link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@737515 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 14:44:48 +00:00
Niall Pemberton a38e2e942d Fix for LANG-477 OutOfMemory with custom format registry and a pattern containing single quotes - thanks to Duncan Eley
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@733169 13f79535-47bb-0310-9956-ffa450edef68
2009-01-09 22:05:14 +00:00
Henri Yandell eb8b39b145 Removing commented out main method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@723785 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 16:34:26 +00:00
Sebastian Bazley 4ebd1df198 Typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@720929 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 18:16:33 +00:00
Sebastian Bazley 748d68532e Remove Javadoc for non-existent parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@720923 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 17:34:58 +00:00
Henri Yandell b1e8a26177 Updating the BigDecimal.compareTo(Object) to BigDecimal.compareTo(BigDecimal) to match JDK change - fixes LANG-468/LANG-464
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@711969 13f79535-47bb-0310-9956-ffa450edef68
2008-11-06 20:36:17 +00:00
Henri Yandell a6a2d04877 Applying Robert Scholte's excellent unit tests from LANG-443 and his second patch from LANG-440 fixing a discovered boundary case for AM_PM in round
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@711616 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 17:00:43 +00:00
Henri Yandell 0d0061f247 Applying test/fix from LANG-457 - getting a StringIndexOutOfBounds from createNumber rather than a NumberFormatException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@711605 13f79535-47bb-0310-9956-ffa450edef68
2008-11-05 16:33:25 +00:00
Henri Yandell 9d8846081a Adding reflect to the build.xml as per LANG-463
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@701953 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 06:05:32 +00:00