2894 Commits

Author SHA1 Message Date
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
Henri Yandell
3a0c152c22 Removing @author tags per thread on dev@: http://mail-archives.apache.org/mod_mbox/commons-dev/201104.mbox/%3CBANLkTikEa6GNSghx5VidxgNqi3nmKxxcVA@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088899 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 05:31:27 +00:00
Matthew Jason Benson
1dd3a636aa varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088656 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 14:55:08 +00:00
Henri Yandell
325648a185 Rolling capitalize and uncapitalize back from (CharSequence) to (String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088505 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:42:38 +00:00
Henri Yandell
9946140913 Rolling StringUtils and test code back to r1082046. The move to CharSequence is theoretically desirable, but there are no common immutable CharSequence subclasses other than String, making this a complex and useless change. Instead StrBuilder should be enhanced. LANG-687
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088444 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 23:41:59 +00:00
Henri Yandell
f5a6dc28f5 Setting the length of the new array to optimize speed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088439 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 23:35:59 +00:00
Henri Yandell
a859fffc0a Removing unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088424 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 21:45:35 +00:00
Henri Yandell
161b9cb4ca Upgrading pom version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088423 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 21:45:23 +00:00
Matthew Jason Benson
9f7311fa2f varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088344 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:30:34 +00:00
Matthew Jason Benson
ff5d71e1c1 varargs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088343 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:25:36 +00:00
Matthew Jason Benson
f10738fcb5 merge CharSetUtils String[] and String method forms to String...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088340 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:19:31 +00:00
Matthew Jason Benson
125aa57018 merge CharSet getInstance/constructor String[] and String forms to String...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1088339 13f79535-47bb-0310-9956-ffa450edef68
2011-04-03 17:14:50 +00:00
Matthew Jason Benson
3541b7848a javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083850 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:59:10 +00:00
Matthew Jason Benson
05510d7079 retract @Nonbinding support; doesn't seem proper default behavior
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083849 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:58:07 +00:00
Matthew Jason Benson
85b9694d48 javadoc refactoring + many @code tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083833 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 15:29:45 +00:00
Matthew Jason Benson
fb173be6ce test tweaks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083503 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 16:58:55 +00:00
Matthew Jason Benson
b39944f756 test @Nonbinding support
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083502 13f79535-47bb-0310-9956-ffa450edef68
2011-03-20 16:55:24 +00:00
Oliver Heger
8fdbe09405 git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083232 13f79535-47bb-0310-9956-ffa450edef68 2011-03-19 16:56:23 +00:00
Oliver Heger
1d0e73a682 Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083229 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:55:23 +00:00