Joerg Schaible
|
7bd9b8ada1
|
Fix failing unit test of Contexted(Runtime)Exception, adjust formatted message.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@802569 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-09 18:06:58 +00:00 |
Joerg Schaible
|
ad922624da
|
Add ExceptionContext package (LANG-497, contributed by Derek Ashmore).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@802566 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-09 17:46:13 +00:00 |
Henri Yandell
|
2e165be127
|
Improving performance of getAllInterfaces per LANG-500's patch from Pino Silvaggio
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@802477 13f79535-47bb-0310-9956-ffa450edef68
|
2009-08-09 02:44:56 +00:00 |
Henri Yandell
|
f957d81625
|
Fixing classes to not need UnhandledException and IllegalArgumentException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796078 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:55:30 +00:00 |
Henri Yandell
|
5e58c2cfd8
|
Moving IncompleteArgumentException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796076 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:51:04 +00:00 |
Henri Yandell
|
d8ae0bdbef
|
Moving NullArgumentException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796075 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:50:56 +00:00 |
Henri Yandell
|
687dc10a61
|
Moving NotImplementedException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796074 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:50:47 +00:00 |
Henri Yandell
|
f04f89bfda
|
Moving IllegalClassException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796073 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:50:42 +00:00 |
Henri Yandell
|
26b587c7ba
|
Moving UnhandledException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796071 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:50:16 +00:00 |
Henri Yandell
|
a2773b230e
|
Fixing classes to not need NullArgumentException
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796070 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:46:42 +00:00 |
Henri Yandell
|
72913ae9d7
|
Moving IncompleteArgumentException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796068 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:43:08 +00:00 |
Henri Yandell
|
4af0d359b4
|
Moving IllegalClassException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796067 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:41:01 +00:00 |
Henri Yandell
|
13ad49b575
|
Moving NotImplementedException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796066 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:40:38 +00:00 |
Henri Yandell
|
eb888eb2ef
|
Moving UnhandledException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796065 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:40:09 +00:00 |
Henri Yandell
|
9a0e5f8c0f
|
Moving NullArgumentException to backcompat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796064 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:39:08 +00:00 |
Henri Yandell
|
cc6281fc3e
|
Improving code coverage with more tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@796062 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 23:28:45 +00:00 |
Henri Yandell
|
75b967beaa
|
Improving code coverage by testing exceptions and empty constructor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795895 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 16:14:34 +00:00 |
Henri Yandell
|
84beb062c1
|
Improving code coverage for a couple of null cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795894 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 16:14:16 +00:00 |
Henri Yandell
|
4a30af0280
|
Removing missing import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795893 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 16:13:10 +00:00 |
Henri Yandell
|
d0e667d278
|
Updating TODOs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795892 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 16:12:53 +00:00 |
Henri Yandell
|
be336df54a
|
Improving Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795891 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-20 16:12:35 +00:00 |
Henri Yandell
|
944f642f0b
|
Applying my patch to LANG-355, making StrBuilder implement Appendable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795604 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 19:41:50 +00:00 |
Henri Yandell
|
4351e7a1a1
|
Applying Arnaud Brunet's patch from LANG-355 to make StrBuilder implement CharSequence
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795600 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 19:30:40 +00:00 |
Henri Yandell
|
49e68a3f96
|
Applying Robert Scholte's patch to Travis Reeder's request for a DateUtils.ceiling(...) method to complete truncate(...) and round(...) in LANG-434
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795597 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 19:21:04 +00:00 |
Henri Yandell
|
784e93e61d
|
Refactoring the array of Java ctrl characters to be in EntityArray rather than embedded in their own escape/unescape
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795596 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 19:15:14 +00:00 |
Henri Yandell
|
dff12292a0
|
Updating javadoc to note new '/' difference between Java and JavaScript (LANG-421)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795594 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 19:04:30 +00:00 |
Henri Yandell
|
0bfa6b451e
|
Adding unit test to show the problem reported in LANG-339 - namely that Chinese, Japanese etc characters are escaped. Furthermore the test notes that they are not subsequently unescaped; which means a lack of symmetry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@795593 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-19 18:41:14 +00:00 |
Henri Yandell
|
489cc2fd6f
|
Applying Ivan Bilenjkij's patch from LANG-513, improving the generics of the getEnumMap method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@792051 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 06:45:02 +00:00 |
Henri Yandell
|
8f9a5889e0
|
Updating comment to explain why a public constructor exists
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@792050 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 06:35:53 +00:00 |
Henri Yandell
|
2a7a320d63
|
synchronized removed from availableLocaleSet per LANG-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@792049 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-08 06:30:04 +00:00 |
Henri Yandell
|
a4325e5559
|
Moving availableLocaleSet and availableLocaleList to both lazily initialize in a separate synchronized method. This brings the two pieces of code into line with each other, allows availableLocaleSet() to be unsynchronized as desired in LANG-488 and removes the static initialization of availableLocaleList() as requested in LANG-511
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@791726 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-07 07:10:02 +00:00 |
Henri Yandell
|
76555b1480
|
Deprecating StringEscapeUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@791721 13f79535-47bb-0310-9956-ffa450edef68
|
2009-07-07 06:56:22 +00:00 |
Henri Yandell
|
ee930ccac2
|
Splitting out the \b \n \t \f \r Java ctrl chars as their own translator to help with the request in LANG-498
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789589 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 07:04:06 +00:00 |
Henri Yandell
|
9d917f24ce
|
Making the EntityArrays class public by cloning the arrays when they are accessed. API might need a sanity check as this is the old Entities stuff. Also changing the arrays to be private and the rest of the code to use the cloning methods. This does add performance overhead, but I think it'll be negligible and better to practice safe coding. Part of LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789584 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 06:47:18 +00:00 |
Henri Yandell
|
5ead3906e2
|
Moving a few of the StringUtils methods over to accepting CharSequence instead of String as part of LANG-510
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789575 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 06:34:01 +00:00 |
Henri Yandell
|
b395162258
|
Applying Vincent Ricard's patch in LANG-471 (reported by Ivica Mikic) adding isAllUpperCase and isAllLowerCase to StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789573 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 06:24:20 +00:00 |
Henri Yandell
|
697cb0fc1a
|
Performance improvement. Switching from looping through a doubled array to using a Map. This probably costs more for simple cases like Java/EcmaScript/Xml, but makes up for it in the Html case. This gets performance of the testUnescapeHexCharsHtml method back down to near the same region as the original code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789567 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 05:47:39 +00:00 |
Henri Yandell
|
df0d0cc96a
|
Adding a simple unit test for text translate. More needed, though StringEscapeUtils does do a good job of hitting a high level of coverage for these classes already. It's easier to debug when you have tighter testing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789566 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 05:46:08 +00:00 |
Henri Yandell
|
78d29f75f9
|
Added todo note
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@789561 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-30 05:09:01 +00:00 |
Henri Yandell
|
f3ac86a292
|
Applying patch from LANG-461 from Vincent Ricard to add toByte and toShort methods to NumberUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788276 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 07:09:30 +00:00 |
Henri Yandell
|
275f3fa088
|
Refactoring to avoid code duplication - LANG-458
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788275 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 06:58:11 +00:00 |
Henri Yandell
|
47cd2e5536
|
Generifying the general Mutable, and the underlying MutableObject. This then allows for typed checking of a MutableBigDecimal for example as per LANG-276
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788263 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 05:25:23 +00:00 |
Henri Yandell
|
171fa698d3
|
Removing unnecessary Escape*AsciiAsUnicode classes. UnicodeEscaper now handles the range concept directly and the ctrl character lookup table is now a direct LookupTranslator defined in EscapeUtils. cf LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788259 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 05:00:39 +00:00 |
Henri Yandell
|
bda5d16000
|
Fixing bug in below/above implementations found while implementing NumericEntityEscaper
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788257 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 04:57:19 +00:00 |
Henri Yandell
|
b4bdbdfe9c
|
Replacing the NonAsciiAsNumericEntity class with a more generic NumericEntityEscaper. cf LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788256 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 04:56:18 +00:00 |
Henri Yandell
|
f8a77fc872
|
Adding some todo notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788255 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 04:54:48 +00:00 |
Henri Yandell
|
05107d6474
|
Indentation fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788254 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 04:52:32 +00:00 |
Henri Yandell
|
cec3b9ff20
|
Updating ESCAPE_JAVA to use the new .with() approach and to fold the two unicode escape methods into one.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788245 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 03:55:18 +00:00 |
Henri Yandell
|
b9ab7659bc
|
Rather than writing specific translators to handle unicode between different ranges, UnicodeEscaper now supports a range filter. cf LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788244 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 03:54:43 +00:00 |
Henri Yandell
|
a11f380774
|
Adding a method to chain translators together. I've gone back and forth on the name, currently with() is my preference. So you could say: BASIC_XML.with(HTML4_ENTITIES). cf LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@788243 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-25 03:54:03 +00:00 |
Henri Yandell
|
a027b12acf
|
Adding escapeXxx(String) and unescapeXxx(String) methods to EscapeUtils + UnescapeUtils, and changing StringEscapeUtils to use them. LANG-505
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787903 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-24 04:41:51 +00:00 |
Henri Yandell
|
c159ace15b
|
Removing Suite classes per agreement on mailing list back in March
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787896 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-24 04:03:36 +00:00 |
Henri Yandell
|
c5ef7421d9
|
Removing IntHashMap. Without Entities it's not needed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787895 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-24 04:01:35 +00:00 |
Henri Yandell
|
8a57de11ee
|
Updating the @since as I don't expect a 2.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787893 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-24 03:59:23 +00:00 |
Henri Yandell
|
c404121979
|
Committing a rewrite of StringEscapeUtils guts - LANG-505. Entities.java can now go away. Most of the code is in the new text.translate package. More work is needed, including what to actually define as 'ESCAPE_XML' etc, but it's now easy for someone to look at the source to EscapeUtils and UnescapeUtils and put their own ESCAPE_XML variable together, and with lots of reuse value.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787560 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-23 06:15:50 +00:00 |
Henri Yandell
|
bc1104da49
|
Removing escapeSql per LANG-493
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@786942 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-21 05:35:04 +00:00 |
Henri Yandell
|
9209200145
|
Moving isEmpty to generics as per LANG-504
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775797 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-18 03:15:33 +00:00 |
Henri Yandell
|
f38cdfbf8c
|
Cloning the output from getExcludeFieldNames, adjusting the code to use the attribute directly so it doesn't pay the clone() cost every time and changing the attribute from private to protected to let subclasses retain the ability to modify the field names (if that is why a getExcludeFieldNames method existed). Document in LANG-489
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775432 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:26:07 +00:00 |
Henri Yandell
|
58178ddfd8
|
Started cloning the input character array. Record in LANG-489 for migration guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775429 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:18:46 +00:00 |
Henri Yandell
|
0d231cb285
|
Commented out unused field
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775428 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:17:21 +00:00 |
Henri Yandell
|
226801cebc
|
Removing unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775425 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 07:27:40 +00:00 |
Henri Yandell
|
373624c4f0
|
Removing unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775420 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 06:32:52 +00:00 |
Henri Yandell
|
bb7775388f
|
Fixing javadoc, unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775411 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 03:46:27 +00:00 |
Henri Yandell
|
e9b32bccfa
|
Fixing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775410 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 03:44:06 +00:00 |
Henri Yandell
|
7c7fea8957
|
Commiting my variant patch from LANG-336 to Henrik Maryn's genericizing code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775048 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-15 07:34:17 +00:00 |
Henri Yandell
|
ed49378250
|
Genericizing per LANG-336. Removed two lines in the test that were trying to build a to string up to a class that was not in the hierarchy. The compiler now protects against this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775045 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-15 07:33:02 +00:00 |
Henri Yandell
|
a60f59ac93
|
Type doesn't need to be ArrayList, and updating for loops
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772553 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:42:01 +00:00 |
Henri Yandell
|
7d744b2267
|
Genericizing excludeFieldList variable and updating for loop to foreach - LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772551 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:41:42 +00:00 |
Henri Yandell
|
ca3a3baa65
|
Genericizing excludeFieldList variablle - LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772548 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:31:48 +00:00 |
Henri Yandell
|
bab78e92bb
|
Type doesn't need tobe ArrayList
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772544 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:28:13 +00:00 |
Henri Yandell
|
97631fd612
|
Adding generics - LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772541 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:12:25 +00:00 |
Henri Yandell
|
a373714575
|
Updating to java 5 foreach - LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772540 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:11:38 +00:00 |
Henri Yandell
|
3d2c545acb
|
Updating to java 5 foreach - LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772539 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 08:10:59 +00:00 |
Henri Yandell
|
73ac4a0289
|
Applying Hendrik Maryns' generics changes for Entities + Validate from LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@770891 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-02 05:20:35 +00:00 |
Henri Yandell
|
8b7956d27f
|
Applying a set of updates for new Java features from Hendrik Maryns in LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@770105 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-30 08:08:48 +00:00 |
Henri Yandell
|
f89a50b528
|
Simplifying for loop
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@770101 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-30 07:50:19 +00:00 |
Henri Yandell
|
c58bbaaa4b
|
Applying Hendrik Maryns' generics changes for Mutable classes from LANG-336
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@770100 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-30 07:40:02 +00:00 |
Henri Yandell
|
0904ecd4fa
|
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
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@770078 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-30 06:03:16 +00:00 |
Henri Yandell
|
574493d175
|
Improving getPackageName(Class) to be class.getPackage().getName(). This method then becomes one of the null-protection only methods... which are imo struggling for justification
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@763561 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-09 08:38:53 +00:00 |
Henri Yandell
|
9adc537013
|
Removing BooleanUtils.toBooleanObject(boolean) as JDK 1.4 provides Boolean.valueOf(boolean) - even if we ignore autoboxing. LANG-492
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@763559 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-09 08:34:47 +00:00 |
Sebastian Bazley
|
07c1324202
|
Generic fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756852 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-21 01:00:21 +00:00 |
Sebastian Bazley
|
6cf9814780
|
ObjectUtils.max(null,null) requires casts to agree with signature; likewise min
Also use actual Date objects rather than generic Comparable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756844 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-21 00:17:43 +00:00 |
Sebastian Bazley
|
b9e3bc72d5
|
LANG-495 - add generics for max and min
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756634 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-20 17:10:39 +00:00 |
Sebastian Bazley
|
b8a8046723
|
Test min and max are reflexive; test both nulls
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755579 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-18 12:33:03 +00:00 |
Sebastian Bazley
|
6349c0d097
|
Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755573 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-18 12:05:47 +00:00 |
Sebastian Bazley
|
e8512544ed
|
LANG-369 - must use fixed object as lock target
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755391 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-17 20:54:52 +00:00 |
Sebastian Bazley
|
86d0d0e216
|
Ensure calculation is performed as a long
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755387 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-17 20:51:58 +00:00 |
Sebastian Bazley
|
8338eb2544
|
Specify encoding to use; Use better JUnit; Add JCIP annotation depend
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755269 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-17 14:40:26 +00:00 |
Sebastian Bazley
|
654fb75d80
|
Genericize some more classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754810 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-16 03:35:20 +00:00 |
Sebastian Bazley
|
950def5b6f
|
Genericize some more classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754808 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-16 02:11:38 +00:00 |
Sebastian Bazley
|
9aa057fea0
|
Add test with empty string array
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754806 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-16 02:11:08 +00:00 |
Sebastian Bazley
|
e0914986c4
|
Byte.valueOf() is definitely faster than new Byte()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@754805 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-16 02:08:49 +00:00 |
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
|
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 |
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
|
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
|
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
|
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 |
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
|
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 |
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
|
98de18758d
|
Fixing the locale to English as hex chars are all ascii
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655256 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-11 06:26:14 +00:00 |
Henri Yandell
|
8fc1df0227
|
Fixing the toLowerCase locale as we're looking for english text as per LANG-432
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655255 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-11 06:25:41 +00:00 |
Henri Yandell
|
e1981a5d7b
|
Removing the Cloneable interface from StrBuilder as per LANG-302
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655251 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-11 05:57:18 +00:00 |
Henri Yandell
|
4342bd5d69
|
Applying Vincent Behar's second patch for LANG-419 - fixing a bug in abbreviate such that lower limits greater than the length of the string weren't working correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655246 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-11 05:18:02 +00:00 |
Henri Yandell
|
23b89b4eb5
|
Adding Locale overloads for toUpperCase and toLowerCase as provided by Benjamin Bentmann in LANG-430
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655239 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-11 04:52:10 +00:00 |
Henri Yandell
|
0e42c3d9da
|
Fixing the html fix from Benjamin Bentmann in LANG-431 - unclosed tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@655203 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-10 22:37:09 +00:00 |
Matthew Jason Benson
|
934e9044bb
|
better exception message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@654277 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-07 21:09:23 +00:00 |
Matthew Jason Benson
|
98781dc64f
|
use existing API to get all interfaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@654273 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-07 21:06:48 +00:00 |
Matthew Jason Benson
|
30e77453fc
|
unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@654266 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-07 20:36:54 +00:00 |
Niall Pemberton
|
585e4c6eb3
|
LANG-436 Remove caching from MethodUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@654159 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-07 16:06:21 +00:00 |
Matthew Jason Benson
|
e0da000caa
|
remove use of 1.5 Arrays.toString()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@653924 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-06 21:11:00 +00:00 |
Matthew Jason Benson
|
04e9eb14e7
|
merge [LANG-416] from LANG_POST_2_4 branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@653918 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-06 20:45:11 +00:00 |
Matthew Jason Benson
|
504af2f2ed
|
merge from LANG_POST_2_4 branch: test as many locales as possible; test overriding a built-in format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@653909 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-06 20:30:15 +00:00 |
Matthew Jason Benson
|
8c7546be27
|
merge ClassUtils isAssignable w/ autoboxing from LANG_POST_2_4 branch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@653907 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-06 20:26:08 +00:00 |
Matthew Jason Benson
|
290731e746
|
merge suite name from LANG_POST_2_4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@653839 13f79535-47bb-0310-9956-ffa450edef68
|
2008-05-06 16:57:34 +00:00 |