Commit Graph

2819 Commits

Author SHA1 Message Date
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
Oliver Heger 6e547b34b4 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083228 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:53:44 +00:00
Oliver Heger 8de56221fd Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083222 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:45:59 +00:00
Oliver Heger 93598f906b Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083221 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:44:54 +00:00
Oliver Heger a2d928146c Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083220 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:43:58 +00:00
Oliver Heger b78378ca53 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083218 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:42:55 +00:00
Oliver Heger 57706fae97 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083217 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:41:05 +00:00
Oliver Heger 33c75a4ac8 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083216 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:38:57 +00:00
Oliver Heger 4c8462b9f5 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:36:39 +00:00
Oliver Heger d12117713b Checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083211 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:32:34 +00:00
Oliver Heger e6f9e6c973 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083207 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:09:23 +00:00
Oliver Heger 32fd2eeb29 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083206 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:07:20 +00:00
Oliver Heger c509d13abe Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083201 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:01:48 +00:00
Oliver Heger 210709ed3d Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083200 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 16:01:06 +00:00
Oliver Heger cd23f77879 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083198 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:50:58 +00:00
Oliver Heger c0798a65fc Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083197 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:47:45 +00:00
Oliver Heger cf38b99ba8 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083195 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 15:41:46 +00:00
Matthew Jason Benson 8ec9dee44f respect @javax.enterprise.util.Nonbinding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083107 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 23:25:09 +00:00
Oliver Heger a68f9dadd5 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083068 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:55:28 +00:00
Oliver Heger 37a40f70ec Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083066 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:53:52 +00:00
Oliver Heger 24e94b5651 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083060 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:51:03 +00:00
Oliver Heger e8c97dc4e7 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083058 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:46:55 +00:00
Oliver Heger ee0e27d638 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083054 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:33:01 +00:00
Oliver Heger 2fe3cb939e Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083053 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:31:33 +00:00
Oliver Heger 7fa56af132 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083052 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:29:53 +00:00
Oliver Heger ced4aa7699 Checkstyle and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1083050 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 20:29:22 +00:00