1588 Commits

Author SHA1 Message Date
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
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
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
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
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