Commit Graph

3012 Commits

Author SHA1 Message Date
Phil Steitz f070298869 Restored Ant build.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090934 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 05:00:19 +00:00
Phil Steitz a164864059 Dropped line length check.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090933 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 04:23:33 +00:00
Phil Steitz fc9dec48b8 Fixed javadoc spelling errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090932 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 04:23:01 +00:00
Luc Maisonobe 67704d8e76 filtered out false positive findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090828 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 16:53:39 +00:00
Matthew Jason Benson 8d01b77e2e fix introduced failures having to do with removing the call to internal helper method #toNoNullStringArray()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090821 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:59:07 +00:00
Matthew Jason Benson 880c74f3a3 more varargs-related updates
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090813 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 15:03:23 +00:00
Matthew Jason Benson a681d650f6 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090811 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 14:51:19 +00:00
Sebastian Bazley 5bc9b57f4e Fix SVN keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090563 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 11:00:10 +00:00
Henri Yandell 19e4076ee1 Updating the manual clirr report
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090526 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:59:08 +00:00
Henri Yandell 83558381e3 Adding LANG-510
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:47:15 +00:00
Henri Yandell f08d8a2b0c Fixing documentation post translate move to Range API
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090522 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:30:12 +00:00
Henri Yandell 1a1145199e Moving 510 to below the beta fold. Adding LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090521 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 04:24:47 +00:00
Henri Yandell 944040db83 Fixing @see reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090514 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:41:19 +00:00
Henri Yandell b310b05700 Making it explicit that the else statement expects to jump to the next iteration of the loop
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090511 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:16:13 +00:00
Henri Yandell 0a1740cb4d Changing comment so PMD notices the NOPMD
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090510 13f79535-47bb-0310-9956-ffa450edef68
2011-04-09 02:14:26 +00:00
Henri Yandell 235040fa98 Making CharRange non-public. LANG-689
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090427 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:17:10 +00:00
Henri Yandell 4458775718 Note the CharSequence API change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090426 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 20:17:00 +00:00
Henri Yandell 287b2cd800 Moving text translation classes to the Range class for its configuration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090111 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 04:47:21 +00:00
Sebastian Bazley 0d01e050fa Fix broken test - Sun Java and Eclipse casting nasturtiums at each other
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090006 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:57:08 +00:00
Henri Yandell 6623901d3f My screwup. Rolling back didn't fix, so rolling forward again. No idea still why the build fails; needs investigation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090004 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:55:43 +00:00
Henri Yandell 22822da85e Rolling back the TypeUtilsTest change in r1089973 as it breaks the build. Unsure why.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1090000 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:47:48 +00:00
Henri Yandell ee1dce15c2 Removing @author that was introduced by undeleting a file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089996 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:41:01 +00:00
Sebastian Bazley 937114b426 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089974 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:10:40 +00:00
Sebastian Bazley 44a1c545c2 Comment out useless self-assigns
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089973 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:09:31 +00:00
Sebastian Bazley b084341cba Raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089971 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:06:21 +00:00
Sebastian Bazley 306b3880e1 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089970 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:05:50 +00:00
Sebastian Bazley 45be0392e8 Rewrap text
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089968 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 20:03:59 +00:00
Matthew Jason Benson 368fe5337c keywords fixup
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089964 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:49:02 +00:00
Matthew Jason Benson faae4b3b10 formatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089963 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:47:43 +00:00
Matthew Jason Benson f4c4d5ab24 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089961 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 19:46:58 +00:00
Matthew Jason Benson e490a84b17 [LANG-688] removed unnecessary elses and use of ternary operator with primitive boolean consequences e.g. (some boolean expression) ? true : false
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089904 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 15:03:21 +00:00
Henri Yandell 2541a62def Moving the CharSequence specific methods out of StringUtils and reintroducing the CharSequenceUtils class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089751 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 06:28:21 +00:00
Henri Yandell e5763ff6f0 Adding a test to enforce the CharSequence vs String contract for StringUtils. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089742 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:22:01 +00:00
Henri Yandell 7a37a3deb2 Adding missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089741 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:02:00 +00:00
Henri Yandell fb79157dbb Adding NOPMD tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089740 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 05:01:54 +00:00
Henri Yandell d6fe7f6789 Adding NOPMD tags for various empty catch blocks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089736 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:39:33 +00:00
Henri Yandell 4c690103f1 Defining TODO, NOTE and NOPMD as the interesting tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089735 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:39:13 +00:00
Henri Yandell b9b11b94c8 Adding javadoc for the new regionMatchesSequence method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089734 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:37:52 +00:00
Henri Yandell 5a7b17cf3e Reapplying more of Oliver's checkstyle fixes from r1083211
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089733 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:34:35 +00:00
Henri Yandell 3b180e56c3 Moving N.B. to NOTE: to standardize that tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089730 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:14:33 +00:00
Henri Yandell 473359a5cc Moving a startsWith test to the right test class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089726 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:05:57 +00:00
Henri Yandell 3dc67a2a4a Added CharSequence endsWithAny and startsWithAny tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089725 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:04:26 +00:00
Henri Yandell cc3b4d31bc Implemented the native CharSequence version of toCharArray
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089724 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 04:03:55 +00:00
Henri Yandell d1b24a3fea Moving equalsIgnoreCase, indexOfIgnoreCase, lastIndexOfIgnoreCase and containsIgnoreCase to the CharSequence API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089695 13f79535-47bb-0310-9956-ffa450edef68
2011-04-07 00:24:50 +00:00
Henri Yandell 3af0fd99d1 Adding green regionMatches implementation and moving endsWith and startsWith methods to use it; thus giving them CharSequence based APIs. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089540 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 17:21:36 +00:00
Henri Yandell 5b8fd90207 Rolling back accidental r1089306 commit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089307 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:36:35 +00:00
Henri Yandell 09cf7964fc Moving countMatches, ordinalIndexOf and lastOrdinalIndexOf over to a CharSequence-based API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089306 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:34:26 +00:00
Henri Yandell 50f136c874 Moving countMatches, ordinalIndexOf and lastOrdinalIndexOf over to a CharSequence-based API. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089305 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:31:22 +00:00
Henri Yandell 3d041e3560 Moving stripAccents to accepting String instead of CharSequence. Even though the underlying Java API takes CharSequence, it makes for a clumsy interface and it is better to encourage the user to handle their own toString. Related to LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089303 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:16:17 +00:00
Henri Yandell 6dfc599a23 Replacing some of the older code. When performing a mutation operation (even if it's on an immutable by returning a new instance), String should go in and String should come out. When performing a non-mutation operation, CharSequence should be passed in. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1089302 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 05:11:31 +00:00