Commit Graph

1629 Commits

Author SHA1 Message Date
Stephen Colebourne 4bfa1f6cb9 Initial commit of StrSubstitutor (VariableFormatter) for review
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424871 13f79535-47bb-0310-9956-ffa450edef68
2006-07-24 01:00:37 +00:00
Stephen Colebourne 8b2b1ba0f2 Copyright dates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424613 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:12:41 +00:00
Stephen Colebourne cbf6c47104 Link builder to tokenizer properly
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424612 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:10:16 +00:00
Stephen Colebourne d22e559db1 Add toString
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424611 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 18:09:27 +00:00
Stephen Colebourne 7917cc095b Allow tokenizer state to be adjusted before and after tokenizing
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424608 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 17:25:38 +00:00
Stephen Colebourne b7b7d7c935 Add method to get all tokens as a list as well as an array
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424596 13f79535-47bb-0310-9956-ffa450edef68
2006-07-22 16:08:25 +00:00
Henri Yandell 9cbf70d822 Adding Niall's fix for LANG-59 - an edge case in date truncation - and his enhancement
for the unit test that was there. 

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@424192 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 05:47:07 +00:00
Henri Yandell c62bd30765 Removing old release notes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@422328 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 01:14:52 +00:00
Niall Pemberton 71910e6e4d LANG-272 Remove 2.1 build target and exclusion of "text" package from source distro.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@420730 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 05:37:53 +00:00
Niall Pemberton b9b6b027db Fix for LANG-272 - Minor JavaDoc changes to clean up checkstyle issues
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@420491 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 11:23:57 +00:00
Niall Pemberton 33c8a32830 Fix for LANG-272 - minor build changes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@420490 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 11:22:38 +00:00
Stephen Colebourne 6e041ae62f Add serialization version id and javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419740 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:34:47 +00:00
Stephen Colebourne 7d0e5c002e Layout action methods to match general lang formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419739 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:31:00 +00:00
Stephen Colebourne 3d6bdcae69 Layout getters and setters in pairs to match general lang formatting
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419738 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:27:57 +00:00
Stephen Colebourne 6aa020e6bc Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419737 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 23:24:06 +00:00
Stephen Colebourne c94fd719e7 Reduce scope from public to protected in parser
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419726 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 22:18:31 +00:00
Henri Yandell 21870c8afa Applying javadoc fixes from Michael Heuer for the stripXxx methods as mentioned in LANG-270
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419651 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 18:43:02 +00:00
Stephen Colebourne 3a48c43f4d Remove debugging code
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419387 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 23:49:33 +00:00
Stephen Colebourne 00d021f30e Fix char/Character methods in ArrayUtils
LANG-267

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419386 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 23:42:43 +00:00
Henri Yandell d9c144d8c3 Fixed a bit of javadoc with bad xhtml
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419177 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 06:36:02 +00:00
Henri Yandell 3f84c0412c Added hashCode method for inner Token class as recommended by PMD
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419176 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 06:33:33 +00:00
Henri Yandell 4a453bd132 Minor style fixes suggested by checkstyle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419174 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 06:14:13 +00:00
Henri Yandell f5bc3757bb Adding the missing char/Character methods in ArrayUtils, as pointed out (and patched) by Andres Almiray in LANG-267
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@419122 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 00:04:28 +00:00
Henri Yandell ed0f4c03e1 Removing trace statement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418918 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 05:38:56 +00:00
Henri Yandell 81340ea32f Adding unit test for LANG-59. Sometimes passes, sometimes fails
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418834 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 19:21:14 +00:00
Henri Yandell 9c2f070f61 Fixed escaping of backslash-u in javadoc notes for issue reported in LANG-66
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418833 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 19:19:51 +00:00
Henri Yandell 7f8f3da321 Added note in javadoc of issue reported in LANG-66
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418831 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 19:11:02 +00:00
Stephen Colebourne 594ec5482d Improve JIRA links
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418581 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 12:05:52 +00:00
Stephen Colebourne 1cdf7916ec Fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418568 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 10:46:52 +00:00
Stephen Colebourne 5c20e64552 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@418567 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 10:31:34 +00:00
Henri Yandell b014341965 Adding a test and a fix for LANG-100. This is a bug in which the randomly created String can sometimes be illegal unicode; because the code does not consider when relationships exist between characters. High and low surrogates are now dealt with, but I'm skipping private high surrogates because I can't find out what to do. Need to go plod very slowly through the spec. This site was very useful: http://www.alanwood.net/unicode/private_use_high_surrogates.html
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@417319 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 00:28:43 +00:00
Henri Yandell cac478de51 Fixing isSmoker attribute name to smoker to match the code example in both of these files - spotted by Corey Tripp in LANG-264
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@416495 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 23:03:20 +00:00
Henri Yandell d3c425d6f1 Added Collection APIs for the excludeFieldNames as suggested at the end of LANG-226
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@416487 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 22:20:44 +00:00
Henri Yandell b7d3fd9e4d Committing fix for LANG-140. By reversing the order of field calculation, Yu Peng's bug goes away
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@415317 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 12:48:08 +00:00
Henri Yandell 30753fb56a Added unit test for LANG-140 - thanks to Yu Peng for the test case
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@415316 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 12:47:28 +00:00
Henri Yandell d13e4b12f3 Pretty sure Util tests were gone a long long time ago
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@415315 13f79535-47bb-0310-9956-ffa450edef68
2006-06-19 12:45:54 +00:00
Henri Yandell baff3dca73 Added containsIgnoreCase method - LANG-263
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@412200 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 19:35:14 +00:00
Henri Yandell 1aed55020d Exposing the unescapeXml and escapeXml methods that take Writers - LANG-260. A recent thread did point out that there are problems with the concept of escaping Xml as a single method, and instead it needs to be an xml parser that escapes the body and the attribute content differently - however we're obviously not there yet and I don't think making the existing 80/20 good enough code more usable hurts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@412009 13f79535-47bb-0310-9956-ffa450edef68
2006-06-06 05:23:37 +00:00
Henri Yandell 80e957ecc4 Fixing Javadoc and adding Unit Test for the example for #LANG-261.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@411898 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 19:37:19 +00:00
Henri Yandell 37b370c114 Dropped the [lang] bit, unnecessary in Jira now I feel. Changed the search existing bug's url to use a standard one
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@407159 13f79535-47bb-0310-9956-ffa450edef68
2006-05-17 05:08:53 +00:00
Henri Yandell 240e79c33b Updating to cover JIRA instead of Bugzilla
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406867 13f79535-47bb-0310-9956-ffa450edef68
2006-05-16 07:41:38 +00:00
Henri Yandell 6f07b031be Updating to cover JIRA instead of Bugzilla
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406866 13f79535-47bb-0310-9956-ffa450edef68
2006-05-16 07:40:41 +00:00
Henri Yandell e280e3b84a Fixing issue tracking link
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406861 13f79535-47bb-0310-9956-ffa450edef68
2006-05-16 07:15:07 +00:00
Henri Yandell 9efc6d8dd8 Switched url from bugzilla to jira
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406847 13f79535-47bb-0310-9956-ffa450edef68
2006-05-16 05:48:03 +00:00
Stephen Colebourne 76ca3f317f Javadoc for not escaping apos
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406082 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 12:11:13 +00:00
Stephen Colebourne 2bdf879815 Style changes to match rest of class
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406081 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 12:10:37 +00:00
Stephen Colebourne fa7c1ed4a4 Javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406080 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 11:37:28 +00:00
Stephen Colebourne e28889038a Javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@406078 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 11:36:15 +00:00
Henri Yandell e7918ea4c8 stye to style
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@405325 13f79535-47bb-0310-9956-ffa450edef68
2006-05-09 07:36:31 +00:00
Fredrik Westermarck e8c5f9fbb6 Resolved a few checkstyle issues.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@400092 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 15:23:31 +00:00