Commit Graph

2022 Commits

Author SHA1 Message Date
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
Henri Yandell 17f1d2951f Improving javadoc a little to explain what the point of this class is/was
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@699767 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 03:31:24 +00:00
Sebastian Bazley a78f1c2b45 LANG-445 - new method StringUtils.startsWithAny(String str, String[] searchStrs)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@697715 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 08:53:07 +00:00
Niall Pemberton fa436d849d LANG-460 - JavaDoc corrections - parameters interchanged in StringUtils startsWith/startsWithIgnoreCase methods thanks to Jörg Gottschling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@696516 13f79535-47bb-0310-9956-ffa450edef68
2008-09-17 23:26:20 +00:00
Sebastian Bazley 3ed99652c8 LANG-459 HashCodeBuilder.reflectionHashCode() can generate incorrect hashcodes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@695951 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 16:03:14 +00:00
Matthew Jason Benson 6f27e9bbd1 assembly version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@692272 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 22:09:13 +00:00
Henri Yandell 8b718d2470 Switching from printStackTrace to UnhandledException as per LANG-450
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@688011 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 07:49:28 +00:00
Niall Pemberton 2d575a7359 Upgrade to latest clirr plugin version 2.2.2 (fixes problem downloading the old artifact from the repo)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@687301 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 12:56:25 +00:00
Niall Pemberton cd95357e1a Release version shouldn't ever be set to SNAPSHOT - used to generate the download page and should be the last release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@678587 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 22:26:37 +00:00
Niall Pemberton d109428fd8 change commons-parent to version 11
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@678495 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:43:58 +00:00
Henri Yandell b353a8e999 Added javadoc to show that LANG-444 can be implemented by defaultIfEmpty, and proved it in the unit test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@672995 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 04:53:50 +00:00
Henri Yandell db5c7106a4 Applying Robert Scholte's fix for LANG-440, replicating the SEMI_MONTH logic for AM_PM requests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@664643 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 07:17:24 +00:00
Henri Yandell 08c4a79f5c Fixing the unit test as described in LANG-440. The truncate tests for AM_PM had been copied and were not testing againt the correct expected results. This will break the build.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@664642 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 07:15:50 +00:00
Henri Yandell b57e9b6fd4 Fixing the docs as per LANG-442 - the href's were not working correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@664635 13f79535-47bb-0310-9956-ffa450edef68
2008-06-09 06:48:45 +00:00