816 Commits

Author SHA1 Message Date
Benedikt Ritter
635e41ea18 LANG-1052: Multiline recursive to string style. This fixes #34 from github. Thanks to Jan Matèrne.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1637671 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 12:47:12 +00:00
Duncan Jones
ef26a66763 LANG-536 - Add isSorted() to ArrayUtils. Patch supplied by James Sawle. Closes #32 in GitHub.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1632874 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 05:52:37 +00:00
Gary D. Gregory
a11351107e [LANG-1044] Add method org.apache.commons.lang3.reflect.MethodUtils.invokeExactMethod(Object, String)</action>
[LANG-1045] Add method org.apache.commons.lang3.reflect.MethodUtils.invokeMethod(Object, String)</action>


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1630268 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 02:22:34 +00:00
Benedikt Ritter
4477ae6952 LANG-1041: Fix MethodUtilsTest so it does not depend on JDK method ordering. This fixes #30 from github. Thanks to Alexandre Bartel.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1628922 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 10:12:12 +00:00
Benedikt Ritter
aa3f174986 Remove tab characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1628921 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 10:07:11 +00:00
Duncan Jones
7406d02eb0 Fix for LANG-827: CompareToBuilder's doc doesn't specify precedence of fields it uses in performing comparisons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1628165 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 12:02:11 +00:00
Duncan Jones
22b6781a0b Added missing support for ISO 8601 parsing and printing using "ZZ" pattern (code now matches Javadoc). Addresses LANG-1000.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1628061 13f79535-47bb-0310-9956-ffa450edef68
2014-09-28 10:11:17 +00:00
Duncan Jones
2154d5fbf8 Fix for LANG-1035: Javadoc for EqualsBuilder.reflectionEquals() is unclear
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1623970 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 11:32:53 +00:00
Benedikt Ritter
bc8e23808b LANG-1020: Improve performance of normalize space. Thanks to Libor Ondrusek. This closes #27 from github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1620317 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 13:04:54 +00:00
Gary D. Gregory
1384457a39 [LANG-1033] Add StringUtils.countMatches(CharSequence, char)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1616372 13f79535-47bb-0310-9956-ffa450edef68
2014-08-06 23:46:30 +00:00
Benedikt Ritter
5ae1b02383 Document the changes from LANG-1027
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1612391 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 20:01:04 +00:00
Benedikt Ritter
de67dec077 LANG-1021: Provide methods to retrieve all fields/methods annotated with a specific type. Thanks to Alexander Müller.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1612063 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 09:15:04 +00:00
Benedikt Ritter
b1caa21bf5 LANG-1026: Bring static method references in StringUtils to consistent style. Thanks to Alex Yursha
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1610149 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 09:27:57 +00:00
Benedikt Ritter
7022c194e0 LANG-1016: NumberUtils#isParsable method(s). Thanks to Juan Pablo Santos Rodríguez.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1609273 13f79535-47bb-0310-9956-ffa450edef68
2014-07-09 19:21:48 +00:00
Benedikt Ritter
d96586563c LANG-1017: Use non-ASCII digits in Javadoc examples for StringUtils.isNumeric. Thanks to Christoph Schneegans.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1599322 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 19:31:36 +00:00
Benedikt Ritter
3728344459 LANG-1008: Change min/max methods in NumberUtils/IEEE754rUtils from array input parameters to varargs. This also closes #23 from github. Thanks to Thiago Andrade.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1593118 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 19:05:39 +00:00
Benedikt Ritter
b78295b4fa LANG-999: Add fuzzy String matching logic to StringUtils. This also closes #20 from github. Thanks to Ben Ripkens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1593112 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 18:42:33 +00:00
Sebastian Bazley
287aba5b2e Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1593109 13f79535-47bb-0310-9956-ffa450edef68
2014-05-07 18:35:42 +00:00
Benedikt Ritter
c3d65461a3 LANG-1006: Add wrap (with String or char) to StringUtils. This closes PR #21 from github. Thanks to Thiago Andrade.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592810 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 17:28:50 +00:00
Benedikt Ritter
7d6e0beccb LANG-1005: Extend DurationFormatUtils#formatDurationISO default pattern to match #formatDurationHMS. Thanks to Michael Osipov.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592592 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 18:02:25 +00:00
Benedikt Ritter
d910918faf LANG-1007: Fixing NumberUtils JAVADoc comments for max methods. This also fixes pull request #22 from github. Thanks to Thiago Andrade.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592587 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:48:48 +00:00
Duncan Jones
75fbc009dd LANG-731: Better Javadoc for BitField class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592457 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 07:05:33 +00:00
Benedikt Ritter
fd54d42f78 LANG-1004: DurationFormatUtils#formatDurationHMS implementation does not correspond to Javadoc and vice versa. Thanks to Michael Osipov
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1592360 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 15:40:59 +00:00
Benedikt Ritter
64ef8a8022 LANG-1003: DurationFormatUtils are not able to handle negative durations/periods. Reported by Michael Osipov.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1591840 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 09:21:14 +00:00
Gary D. Gregory
b4b51a8fc9 <action issue="LANG-1001" type="fix" dev="ggregory" due-to="Michael Osipov">ISO 8601 misspelled throughout the Javadocs</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1591488 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 21:49:35 +00:00
Benedikt Ritter
6125951060 LANG-993: Add zero copy write method to StrBuilder; LANG-994: Add zero copy read method to StrBuilder. Thanks to Mikhail Mazursky.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1590224 13f79535-47bb-0310-9956-ffa450edef68
2014-04-26 10:39:03 +00:00
Benedikt Ritter
454fd1ea0f Add another missing ticket to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1590013 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 12:54:19 +00:00
Benedikt Ritter
b46471100b Add missing bug fix to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1590006 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 11:51:05 +00:00
Benedikt Ritter
fbb0f7f88c LANG-995: Fix bug with stripping spaces on last line in WordUtils.wrap(). This fixes #18 from github. Thanks to Andrey Khobnya
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1586649 13f79535-47bb-0310-9956-ffa450edef68
2014-04-11 13:28:30 +00:00
Benedikt Ritter
6b438fe99b Add next version to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1586100 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:41:57 +00:00
Benedikt Ritter
d72d2b08dc Document 3.3.2 release date
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1586077 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 18:46:07 +00:00
Benedikt Ritter
24767d6f49 Add description for 3.3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1585293 13f79535-47bb-0310-9956-ffa450edef68
2014-04-06 12:03:39 +00:00
Benedikt Ritter
1113ab56bc Document Niall's work on LANG-992
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582982 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 10:46:34 +00:00
Benedikt Ritter
186209aac5 Preparation for next release (which will be 3.3.2)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582977 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 10:30:14 +00:00
Benedikt Ritter
3cdb486869 Remove trailing whitespaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582973 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 10:28:40 +00:00
Gary D. Gregory
024a22b015 <action issue="LANG-989" type="add" dev="ggregory">Add org.apache.commons.lang3.SystemUtils.IS_JAVA_1_8</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1579864 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 02:01:34 +00:00
Benedikt Ritter
ac5451f0bb Add next version to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1578992 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 18:08:59 +00:00
Benedikt Ritter
2824f002cb Document release of 3.3.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1578990 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 18:08:09 +00:00
Benedikt Ritter
79dac6677e Change next version in changes.xml to 3.3.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577845 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:27:06 +00:00
Benedikt Ritter
11bbcd4a97 Correct indentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577837 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:17:48 +00:00
Duncan Jones
80bd3fdb42 LANG-987: DateUtils.getFragmentInDays(Date, Calendar.MONTH) returns wrong days, reported by Jay Xu.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577332 13f79535-47bb-0310-9956-ffa450edef68
2014-03-13 21:40:26 +00:00
Benedikt Ritter
66a37174a0 Post release clean up: Set next development version, document release date of 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1574137 13f79535-47bb-0310-9956-ffa450edef68
2014-03-04 17:15:06 +00:00
Sebastian Bazley
1a97c7efe1 LANG-983 DurationFormatUtils does not describe format string fully
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573786 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 22:31:28 +00:00
Sebastian Bazley
aadd8e172e LANG-981 DurationFormatUtils#lexx does not detect unmatched quote char
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573770 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:44:15 +00:00
Sebastian Bazley
77f5fe29e3 LANG-978 Failing tests with Java 8 b128
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573756 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:32:07 +00:00
Sebastian Bazley
8b5e3eb81d LANG-982 DurationFormatUtils.formatDuration(61999, "s.SSSS") - ms field size should be 4 digits
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573754 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:29:58 +00:00
Sebastian Bazley
cf4138d7bc LANG-984 DurationFormatUtils does not handle large durations correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573749 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:10:40 +00:00
Benedikt Ritter
24f4c1c6ee Add a little teaser for 3.3 to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572870 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 08:24:58 +00:00
Bruno P. Kinoshita
600432075b LANG-621: ReflectionToStringBuilder.toString does not debug 3rd party object fields within 3rd party object. Suggested by Philip Hodges. Final patch from Thomas Neidhart.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1569028 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 15:45:17 +00:00
Benedikt Ritter
74fa00c3c5 LANG-955: Add methods for removing all invalid characters according to XML 1.0 and XML 1.1 in an input string to StringEscapeUtils. Thanks to Adam Hooper
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1568639 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 16:13:27 +00:00