Commit Graph

2179 Commits

Author SHA1 Message Date
Sebastian Bazley 909dd44949 Byte.valueOf() is definitely faster than new Byte()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754804 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 02:06:18 +00:00
Henri Yandell 64dfea8d86 Fixing javadoc to not reference removed method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754782 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 22:36:07 +00:00
Sebastian Bazley f3a2199a83 Genericize
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754686 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 16:27:34 +00:00
Sebastian Bazley c06b74202d Genericize; remove invalid Javadoc reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754682 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 16:11:01 +00:00
Sebastian Bazley ebfe3a9c1d Genericize; add final qualifier to private var
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754678 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 15:27:48 +00:00
Sebastian Bazley d85758d688 LANG-438 - replace links to Javadoc that was deleted with the deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754677 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 15:06:03 +00:00
Sebastian Bazley 524e74451b Don't expose static arrays to potential writes, even for testing
Add package protected read method instead

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754653 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 11:18:30 +00:00
Henri Yandell 9aaab6cabb This should bring code coverage to 100% for MutableBoolean
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754611 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 03:43:40 +00:00
Henri Yandell f4a99655f0 Bringing the code coverage to 100% :) Constructor wasn't being tested.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754610 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 03:41:15 +00:00
Sebastian Bazley 8a51b94300 Generify LocaleUtils and its Test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754603 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:50:18 +00:00
Henri Yandell 856a80b608 Removing removed test from suite - LANG-493
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754602 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:49:37 +00:00
Henri Yandell 351ace5692 Dropping RandomUtils from Lang to the backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754601 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:46:35 +00:00
Henri Yandell da46e86e2f Dropping RandomUtils from Lang to the backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754600 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:44:13 +00:00
Henri Yandell b2fdd722e7 Dropping JVMRandom from Lang to the backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754599 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:43:42 +00:00
Henri Yandell 791e7f3830 Removing the Lang NestableException concept and instead relying on the JDK support. [LANG-492]. [LANG-491] notes the need to rethink ExceptionUtils and its test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754589 13f79535-47bb-0310-9956-ffa450edef68
2009-03-15 02:10:44 +00:00
Sebastian Bazley 13bd2d388e Re-enable test as it has now been fixed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754554 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 23:40:03 +00:00
Sebastian Bazley 2455cece59 Remove spurious blank line from output
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754553 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 23:38:25 +00:00
Sebastian Bazley c1c4bb4a77 Add missing test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754550 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 23:30:26 +00:00
Sebastian Bazley f26a785f20 Fix Short test case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754549 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 23:29:22 +00:00
Sebastian Bazley bb90472825 Remove tests of removed deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754539 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:57:10 +00:00
Sebastian Bazley fd0deef560 Suppress warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754538 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:55:11 +00:00
Sebastian Bazley eaac4a7df7 Replace deprecated method call
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754537 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:54:00 +00:00
Sebastian Bazley ef0dec934b Remove deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754531 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:33:48 +00:00
Sebastian Bazley 71711e3cf8 Remove deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754522 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:24:04 +00:00
Sebastian Bazley a4548304f9 Suppress warnings for unread/unused fields and casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754519 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:00:26 +00:00
Sebastian Bazley d744105cdb Suppress warnings for unread/unused fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754493 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 17:01:21 +00:00
Sebastian Bazley 1c224cbdd2 Extraneous ;
Make private variable final

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754492 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 17:00:31 +00:00
Henri Yandell 0cfdae8456 Note that FindBugs is memory hungry
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754491 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:54:45 +00:00
Sebastian Bazley f960575bce Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754490 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:53:10 +00:00
Henri Yandell 624bb28be5 Turning on cobertura + findbugs. Pointing clirr to 2.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754489 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:47:40 +00:00
Henri Yandell 094cfa33a0 Removing Resources section. Article is a 404 now and the list of things used in the latest release grows and grows
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754488 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:45:09 +00:00
Henri Yandell 6a1996d610 Removed deprecated methods from ToStringStyle (setShortClassName + isShortClassName) [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754486 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:37:15 +00:00
Henri Yandell 084cfeed41 Removed deprecated getJavaVersion() method from SystemUtils [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754485 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:36:17 +00:00
Henri Yandell 69717be43d Removed deprecated constructors from ReflectionToStringBuilder [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754484 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:34:16 +00:00
Henri Yandell d3f62a5f6f Removed deprecated methods from StandardToStringStyle (setShortClassName + isShortClassName) [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754483 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:33:57 +00:00
Henri Yandell 386cd26dab Removing deprecated evaluateSet and translate methods [LANG-438]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754482 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:29:28 +00:00
Sebastian Bazley dc08c40f60 revert Oops, readers need to be synch too - misread field name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754477 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:12:09 +00:00
Sebastian Bazley fb94c3fe59 Oops, readers need to be synch too
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754474 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:08:19 +00:00
Sebastian Bazley 2bfd4fec17 Can we make these fields private?
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754472 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:04:58 +00:00
Sebastian Bazley 5bfe84d276 Make private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754471 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:04:17 +00:00
Sebastian Bazley e0d8c67113 Make private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754470 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:03:31 +00:00
Sebastian Bazley 46b743d26e Add synch for lazily created static field
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754469 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 16:02:18 +00:00
Sebastian Bazley 3b03f6a0ad Oops - accidentally removed some lines in r753655. Replaced.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754460 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 15:18:22 +00:00
Sebastian Bazley 7585da946c Document thread-safety of cDefaultPattern
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754457 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 14:57:45 +00:00
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