Commit Graph

2315 Commits

Author SHA1 Message Date
Sebastian Bazley 5ca6b02849 Fix some raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829535 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 11:07:57 +00:00
Sebastian Bazley 64712a4fd3 Fix internal raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829534 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 11:07:08 +00:00
Sebastian Bazley 1da31f43a9 Unused variables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829533 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 11:06:52 +00:00
Henri Yandell e2ccc014f8 Rolling back 826960 - IOException would need to be added to the API
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829487 13f79535-47bb-0310-9956-ffa450edef68
2009-10-25 03:37:21 +00:00
Stephen Colebourne dc200f42a4 Remove references to Labeled in method names as it is unecessary and the spelling looks poor/confusing in British English
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829405 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:45:42 +00:00
Stephen Colebourne 0a72dbad5a Allow contexted exception to store non-serializable objects (more flexible, and doesn't prevent serialization)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829404 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:38:08 +00:00
Stephen Colebourne 926ed9ea0e Tidy up contexted exception classes, better Javadoc, final variables, etc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829400 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:27:30 +00:00
Sebastian Bazley f61c229c74 Fix internal raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829398 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:17:13 +00:00
Sebastian Bazley 2f941fb8d6 Unused
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829397 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:16:42 +00:00
Sebastian Bazley 96dea6c4f6 Fix internal raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829395 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:04:22 +00:00
Sebastian Bazley a80284f4c5 Document unused items
Raw types

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829394 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:02:23 +00:00
Sebastian Bazley 223eafb8c9 Drop unused fields
Raw types

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829393 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 16:01:37 +00:00
Sebastian Bazley 835085d912 Fix Eclipse case drop-thru warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829391 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 15:48:10 +00:00
Sebastian Bazley c341321e0c Document impossible unchecked cast warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829388 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 15:38:31 +00:00
Stephen Colebourne ab6b8d8d57 LANG-547 - Remove unused field
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829385 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 15:18:48 +00:00
Sebastian Bazley 6fea27514a Fix some raw types and other Eclipse warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829375 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 14:26:35 +00:00
Sebastian Bazley 823e75f9b3 Fix some raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829374 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 14:15:08 +00:00
Sebastian Bazley 6622091f9b Fix internal raw types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829367 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 13:43:11 +00:00
Sebastian Bazley fdb8010676 Fix raw Class types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829364 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 13:37:46 +00:00
Sebastian Bazley 6eab86bafd Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829360 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 12:55:00 +00:00
Sebastian Bazley 726835ef8c Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829359 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 12:54:21 +00:00
Stephen Colebourne 17748e482d Apply generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829352 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 12:08:55 +00:00
Stephen Colebourne 14224204d9 Fix test case tear down that causes other tests to break
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829348 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 11:44:07 +00:00
Stephen Colebourne d87e7f52c0 Reorder methods and adjust Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829345 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 11:23:53 +00:00
Stephen Colebourne 58bf5f3aa3 Apply generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829343 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 11:08:52 +00:00
Henri Yandell 4f9c1c3777 Changing the hashCode() method to return toHashCode() per the request in LANG-520
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829285 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 00:04:07 +00:00
Henri Yandell 3d17fad6d6 Patch from Michael Rudolf in LANG-522 applied with additional String constructor tests added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829283 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 00:00:47 +00:00
Henri Yandell 51a130b544 Applying patch from Vincent Ricard in LANG-514. CharRange constructors removed and replaced with readable static builder methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@829282 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 23:59:02 +00:00
Henri Yandell ba0205c202 Making the private fields final via Sebb's patch from LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828944 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 06:46:02 +00:00
Henri Yandell 6ef494b6f4 Making private fields final per Sebb's patch to LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828943 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 06:44:45 +00:00
Henri Yandell 37405f1efe Adding back the empty constructor per Sebb's comment on LANG-540
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828942 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 06:43:26 +00:00
Sebastian Bazley f20df89b6f LANG-541 - Switched StringBuffer to StringBuilder when only used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828910 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 01:46:25 +00:00
Sebastian Bazley 749c4c66c5 LANG-541 - Switched StringBuffer to StringBuilder when only used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828909 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 01:37:07 +00:00
Sebastian Bazley e226ac7de9 Make private field final to improve thread safety
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828899 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 00:24:27 +00:00
Sebastian Bazley 8ee228155c Unnecessary semi-colon;
Remove TODO which has been addressed

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828897 13f79535-47bb-0310-9956-ffa450edef68
2009-10-23 00:23:15 +00:00
Henri Yandell 711e204e73 Applying the final part of Benjamin Bentmann's patch to LANG-432, improving our handling of case-insensitive Strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828317 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 05:46:33 +00:00
Henri Yandell 7d3fbbfd43 Applying Tomasz Nurkiewicz's patch from LANG-533 adding notBlank methods to Validate
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@828310 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 05:33:21 +00:00
Niall Pemberton 96acca756c Update to commons-parent-12
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@827830 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 23:00:29 +00:00
Henri Yandell 7e83efc1d1 Removing tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826970 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 06:11:39 +00:00
Henri Yandell 13a0cc63cd Applying Robert Scholte's patch from LANG-422, adding a appendSeparator with an alternative default separator if the StrBuilder is currently empty
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826969 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 06:10:10 +00:00
Henri Yandell dbf4cd5f42 Moved identityToString(StringBuffer, Object) to identityToString(Appendable, Object) per LANG-542
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826960 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:46:43 +00:00
Henri Yandell 6d8ed9be2c Switched StringBuffer to StringBuilder whenever a local usage (and not subsequently used in an API) as per LANG-541
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826958 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:35:46 +00:00
Henri Yandell 7f837535c6 Adding a StringUtils.repeat(String, String separator, int) method per request in LANG-348
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826955 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 05:18:57 +00:00
Henri Yandell 5b601a3d6b Applying Sebb's patch from LANG-540 making the NumericEntityEscaper class immutable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826947 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 04:19:47 +00:00
Henri Yandell d68da319fa Fixing compile error introduced after making variable final but leaving a path in which it can miss getting initialized
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826946 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 04:16:38 +00:00
Henri Yandell c9a918a842 Making private options variable final at Sebb's pointing out of thread safety improvement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826584 13f79535-47bb-0310-9956-ffa450edef68
2009-10-19 04:38:32 +00:00
Henri Yandell bdb8ae03b6 Changing Param to Option. A Parameter is a user supplied value; an Option is a user supplied choice. LANG-507 related.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826518 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 20:32:40 +00:00
Henri Yandell 0fd4b3afe1 Sebb pointed out that the implementation for LANG-507 was not thread safe. Rewriting to pass parameters in to the constructor, but doing so in an experimental way - comments very much desired on whether this makes for a nice API or not
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826514 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 20:14:30 +00:00
Sebastian Bazley b3cec0c2c3 Add missing @Override markers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826421 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 12:21:31 +00:00
Sebastian Bazley b287ebae61 Remove unused imports and throws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@826420 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 12:16:50 +00:00