Commit Graph

3676 Commits

Author SHA1 Message Date
Sebastian Bazley cfb488a05f LANG-863 Method returns number of inheritance hops between parent and subclass
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1545145 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 03:38:11 +00:00
Sebastian Bazley 7c919293f7 Fix svnmailer charset (and make dummy change)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1545136 13f79535-47bb-0310-9956-ffa450edef68
2013-11-25 02:36:47 +00:00
Sebastian Bazley 9a6bce82ec LANG-932 Spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1544776 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 12:25:48 +00:00
Sebastian Bazley 2ecd5a12dc Fix issue number: 932 => 931
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1544775 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 12:23:39 +00:00
Maurizio Cucchiara 4660148be3 Minor code optimizations:
* removed boxing
* removed unused variables
* removed useless casts* removed boxing
* removed unused variables
* removed useless casts
* replaced asArrayList method with Arrays.asList

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1544770 13f79535-47bb-0310-9956-ffa450edef68
2013-11-23 11:11:28 +00:00
Emmanuel Bourg b26d344a27 Upgrade easymock to 3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1540888 13f79535-47bb-0310-9956-ffa450edef68
2013-11-12 00:15:33 +00:00
Benedikt Ritter 8d7fe1ac10 LANG-931 - Misleading Javadoc comment in StrBuilderReader class. Thanks to Christoph Schneegans.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1539473 13f79535-47bb-0310-9956-ffa450edef68
2013-11-06 21:53:52 +00:00
Thomas Neidhart c7543d9f32 Added last released version.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1538181 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 12:35:36 +00:00
Benedikt Ritter d27df61ab5 Make usage of default charset explicit and remove FindBugs exclusion. Kudos to Sebb for spotting this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536835 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 18:16:29 +00:00
Benedikt Ritter c650b17f50 If using more than one method name, the method elements have to be wrapped in an Or element
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536490 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 19:14:11 +00:00
Benedikt Ritter 8b0cc5d9c4 Add exclusions where FindBugs seems to be unable to figure out that we acutally have a default statement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536487 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 19:06:16 +00:00
Benedikt Ritter 21b12e810a Remove unused constant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1536477 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 18:38:50 +00:00
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