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
|
adfc17682b
|
Removing Ant build system. Already out of date, and broken with the suites gone
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787897 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-24 04:04:15 +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
|
00f699c160
|
Improving pom by making targetJdk for PMD use the variable. Thanks for the suggesiton Sebb
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@787543 13f79535-47bb-0310-9956-ffa450edef68
|
2009-06-23 04:55:46 +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 |
Sebastian Bazley
|
1645f246d3
|
Re-Fix DOAP tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@779542 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-28 10:24:26 +00:00 |
Sebastian Bazley
|
fbedcd5054
|
Fix DOAP tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@779524 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-28 10:05:29 +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
|
010401200c
|
Adding Hendrik Maryns as a contributor given all the work he did on Generics. Thanks again Hendrik
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775436 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:45:23 +00:00 |
Henri Yandell
|
62e3300e4f
|
Letting PMD know we're on 1.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775434 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:36:51 +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
|
cbc1dc8c5a
|
Hooking up findbugs exclude file and updating the exception cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775427 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 08:16:29 +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
|
5e4deef918
|
Couple more reports - CPD and JavaNCSS because... why not?
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@775422 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-16 07:06:17 +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
|
7a75f11d58
|
Start of changes file - LANG-484
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@772557 13f79535-47bb-0310-9956-ffa450edef68
|
2009-05-07 09:00:26 +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
|
50bc6d35b0
|
Revert JCIP depend to compile+optional now fix has been added for OSGI bundling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756817 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-20 23:54:37 +00:00 |
Niall Pemberton
|
d080d78f3a
|
Add instruction to not export the "net.jcip.annotations" - this causes the maven-bundle-plugin to output an "Ignore-Package" statement which I assume will have no negative impact
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756756 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-20 20:53:38 +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
|
b9ad25bcfc
|
Change JCIP dependency scope to "provided" to prevent transitive dependencies
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@756531 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-20 15:30:40 +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
|
c957e2394e
|
Two more false positives
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@755447 13f79535-47bb-0310-9956-ffa450edef68
|
2009-03-17 23:51:21 +00:00 |