Commit Graph

3664 Commits

Author SHA1 Message Date
Benedikt Ritter 4a96a5dafe Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536473 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 18:33:13 +00:00
Henri Yandell bf4dabb998 Adding LANG-928, also moved a couple of items to past tense
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535916 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 02:50:25 +00:00
Henri Yandell 7494fec3a1 Updating javadoc to not use parseInt as an explanation for why it doesn't support octals larger than \377
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535915 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 02:48:35 +00:00
Henri Yandell 2550d4cfa2 Rewriting OctalUnescaper as a hand rolled parser (all of 4 characters), instead of trying to handle the conversion via repeated attempts to convert the numbers. This fixes bugs, see LANG-929, and also changes the behaviour for 'illegal' octals such as \999. Instead of throwing NumberFormatException, it will now ignore them. This seems the better behaviour.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535914 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 02:45:39 +00:00
Henri Yandell 6ea7f2f7af Applying github pull request https://github.com/apache/commons-lang/pull/5, linked as LANG-928, fixing a bug in OctalEscaper trying to parse octal numbers longer than 3 digits
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535911 13f79535-47bb-0310-9956-ffa450edef68
2013-10-26 02:14:35 +00:00
Matthew Jason Benson 38f8b88528 Validation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535763 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 15:25:22 +00:00
Matthew Jason Benson b39f106258 checkstyle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535757 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 15:07:13 +00:00
Henri Yandell 70b3504b9f Applying Thomas Neidhart's patch for LANG-905; fixing a bug in which EqualsBuilder considers two arrays of the same type to be equal, without considering the contents
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535653 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 08:19:29 +00:00
Henri Yandell 4fc5c6b35c Applying Sebb's patch from LANG-774 - adding isStarted, isSuspended and isStopped to StopWatch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535555 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 21:23:40 +00:00
Henri Yandell be370cd0ef Applying Thomas' patch from LANG-917 - fixing Arne Burmeister's reported exception when combining custom and choice formats
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535547 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 20:54:34 +00:00
Henri Yandell a93703d002 Noting LANG-848
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535519 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 20:07:24 +00:00
Henri Yandell 96235eaae0 Applying Alexander Muthmann's patch from LANG-848, adding isBlank/isEmpty CharSequence... variants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535515 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 19:54:47 +00:00
Benedikt Ritter b35b6c5762 Add FindBugs exclusion for replacement of deprecated method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535124 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 19:15:54 +00:00
Benedikt Ritter 5d35afbe9c Add missing param tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535123 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 19:04:29 +00:00
Henri Yandell f9c2bc0785 Removing the ASF @author
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535095 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 18:18:38 +00:00
Gary D. Gregory 7869bf058e [LANG-926] Add ArrayUtils.reverse(array, from, to) methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535078 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:23:07 +00:00
Gary D. Gregory b0cd0eabd1 Apache branding.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535071 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 17:00:05 +00:00
Gary D. Gregory db542a6b42 Javadoc: Add @see tags for subarray methods to point to Java 6 Arrays.copyOfRange(...) methods. The behavior is not exactly the same so no deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1535068 13f79535-47bb-0310-9956-ffa450edef68
2013-10-23 16:19:15 +00:00
Matthew Jason Benson 54a4a86b0f javadoc cleanup and @since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534839 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 22:48:58 +00:00
Matthew Jason Benson 4ca75d9f7f javadoc tag cleanup
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534831 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 22:41:06 +00:00
Benedikt Ritter fcc00998ec Add TODO marker for missing since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534772 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 20:21:06 +00:00
Benedikt Ritter b86d8184a0 Add missing param tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534770 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 20:19:25 +00:00
Benedikt Ritter 45273917dc Fix javadoc param tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534760 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 20:00:35 +00:00
Benedikt Ritter 01d67b1bda Removing isExactlyOneTrue, since there is no consensus about this method. See also LANG-922.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534738 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 19:23:21 +00:00
Henri Yandell dac619c84d Returning NotImplementedException to Lang after it was removed in Lang 3.0 per the request in LANG-769.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534380 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 21:24:47 +00:00
Sebastian Bazley fed6fa68a3 ASF Branding
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1534233 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 15:45:22 +00:00
Benedikt Ritter 8433dc4f9f Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533914 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 14:32:07 +00:00
Benedikt Ritter 6b3993188e Use less confusing method name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533913 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 14:31:24 +00:00
Thomas Neidhart 25a0fd71c2 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533798 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 17:46:57 +00:00
Henri Yandell 48695e2afe Fixing typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533794 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 17:25:04 +00:00
Henri Yandell 5d2d19c479 Adding checkstyle reportset so we don't get the aggregate report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533787 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 17:10:57 +00:00
Sebastian Bazley e63272730a It's confusing to re-use field names locally
Document that the parameter is unused

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533570 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 17:40:28 +00:00
Sebastian Bazley 58a749fbac It's confusing to re-use field names locally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533566 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 17:21:23 +00:00
Sebastian Bazley 602038dcff It's confusing to re-use field names locally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533556 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:53:41 +00:00
Sebastian Bazley 1d97f23c08 It's confusing to re-use field names locally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533551 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:49:15 +00:00
Sebastian Bazley 4be45b6dcc Don't override variable name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533544 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:39:05 +00:00
Sebastian Bazley 7b6c2cc0bd Add dummy serialVersionUIDs to avoid IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533541 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:33:52 +00:00
Sebastian Bazley 7fac289ed9 Spelling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533527 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:03:17 +00:00
Sebastian Bazley f040de2153 Suppress deprecated warnings for test code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533515 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 15:36:22 +00:00
Benedikt Ritter c3116fcd11 Correct JavaDoc for generic type parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533474 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 14:53:11 +00:00
Benedikt Ritter 95f1f14b8e Add some JavaDoc to make CheckStyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533417 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 12:24:09 +00:00
Benedikt Ritter ec1f4d743c java.lang.reflect.AccessibleObject is only needed for JavaDoc. Remove it from the imports an link to is explicitly in JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533411 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:58:57 +00:00
Benedikt Ritter 4a5491e725 Make this a JavaDoc comment so that checkstyle is happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533410 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:55:22 +00:00
Benedikt Ritter 227946134c Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533406 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:49:52 +00:00
Benedikt Ritter f9be1de577 Fix JavaDoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533402 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:45:26 +00:00
Henri Yandell cc6a92b1a5 Deprecating StringUtils.toString(byte[],String) in favour of a new CharSet based method, as reported by Aaron Digulla in LANG-795
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 07:30:57 +00:00
Henri Yandell e01f2a4a19 Added a Getting Involved section specifically for Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532973 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 06:09:47 +00:00
Henri Yandell c854dd9007 Noting the javadoc fix for RandomStringUtils per LANG-902
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532685 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:30:39 +00:00
Henri Yandell cb3d478b78 Fixing the documentation so that a random string of numbers and letters is not guaranteeing that a number or a letter will appear as reported by Andrzej Winnicki in LANG-902
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532684 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:28:42 +00:00
Benedikt Ritter 0de9354f50 LANG-922 - Add isOneTrue(booleans...) to BooleanUtils to preserve old behavior of BooleanUtils.xor(booleans...). Added isOneTrue for primitives and wrappers, isOneFalse still missing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532491 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 19:09:31 +00:00