Commit Graph

3487 Commits

Author SHA1 Message Date
Benedikt Ritter d7e2aa2504 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582669 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 10:05:06 +00:00
Benedikt Ritter 95aa6af17c Fix JavaDoc problems in ClassUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582667 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 10:04:33 +00:00
Niall Pemberton cf03e6173b LANG-992 Fix NumberUtils#isNumber() returns false for "0.0", "0.4790", et al
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1582585 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 03:10:27 +00:00
Duncan Jones 708da45999 Minor Javadoc corrections.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1580464 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:28:42 +00:00
Gary D. Gregory 863bf52eae <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@1579865 13f79535-47bb-0310-9956-ffa450edef68
2014-03-21 02:02:04 +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 3a394317b0 Archive release notes for 3.3.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1579023 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 19:28: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
Gary D. Gregory 6a3dc33850 Fix Javadoc 8 doclint issues.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1578214 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 02:44:58 +00:00
Benedikt Ritter 6abb5453e7 Update index.xml for upcoming 3.3.1 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577853 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:45:52 +00:00
Benedikt Ritter a66a5cb647 Add upcoming 3.3.1 release to release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577850 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:35:03 +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 b504d77013 Update download page for upcomming 3.3.1 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577843 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:24:35 +00:00
Benedikt Ritter 3b681d4a78 Remove pointer to user guide, since it has been moved to JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577839 13f79535-47bb-0310-9956-ffa450edef68
2014-03-15 12:20:33 +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 3ee44535b4 Make use of existing TimeUnit class to manage time units.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1577519 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 13:23:25 +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 1ca3a263e1 Unnecessary array creation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573807 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 23:31:53 +00:00
Sebastian Bazley 19120b7224 Javadoc fix - method does not use a TimeZone
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573790 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 22:41:13 +00:00
Sebastian Bazley 5b32cabf3f Add some more tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573787 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 22:31:49 +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 8d360ae707 Don't assign parameter; use the work field
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573762 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 21:36:16 +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
Sebastian Bazley ddc06197e4 Close resource
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573188 13f79535-47bb-0310-9956-ffa450edef68
2014-03-01 16:11:01 +00:00
Sebastian Bazley 2ea3865e0c Deprecation warnings don't apply to references within the same class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573186 13f79535-47bb-0310-9956-ffa450edef68
2014-03-01 15:53:17 +00:00
Sebastian Bazley b6e5ed0586 Don't write parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1573185 13f79535-47bb-0310-9956-ffa450edef68
2014-03-01 15:51:39 +00:00
Benedikt Ritter 01329b7cf5 Make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572877 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 08:42:25 +00:00
Benedikt Ritter ffb07f08d8 Add missing AL header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572875 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 08:34:55 +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
Benedikt Ritter edbd9842cf Restore binary compartibility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572865 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 07:56:42 +00:00
Benedikt Ritter 057249fc70 Constructor param can be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572846 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 07:45:37 +00:00
Benedikt Ritter 513347342a Replace tabs with whitespaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572845 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 07:44:50 +00:00
Benedikt Ritter aba9631464 Reverting changes from r1570821 since they didn't work as expected
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572520 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 11:22:46 +00:00
Benedikt Ritter 9bc263f242 Update index page for upcoming 3.3 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1571955 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 08:05:51 +00:00
Benedikt Ritter f18194f4d7 Add upcoming 3.3 release to release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1571954 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 08:03:57 +00:00
Benedikt Ritter ceea303ffb Add release notes for 3.3 to release notes archive
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1570827 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 11:58:13 +00:00
Benedikt Ritter e97d1e0b72 Preparation of Commons Lang 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1570826 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 11:55:06 +00:00
Benedikt Ritter 70323b2834 Provide a possibility to use mvn deploy for uploading to nexus
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1570821 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 11:33:21 +00:00
Benedikt Ritter 5d478ec9a7 Fix JavaDoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1570818 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 11:10:40 +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
Benedikt Ritter ab14240150 LANG-977: NumericEntityEscaper incorrectly encodes supplementary characters. Thanks to Chris Karcher.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1568612 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 10:35:35 +00:00
Sebastian Bazley 408462e80d Don't mutate parameters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567801 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 23:27:47 +00:00
Sebastian Bazley 9135f2d28c Don't mutate parameters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567799 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 23:25:58 +00:00
Sebastian Bazley 5932b49770 LANG-973 Make some private fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567796 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 23:19:37 +00:00
Henri Yandell efa688d1f6 Switching i->em tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567516 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 03:52:45 +00:00
Henri Yandell 56457611f3 Switching b->strong tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1567515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 03:51:25 +00:00
Sebastian Bazley 3269d1bc7a Javadoc update
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566972 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:57:40 +00:00
Sebastian Bazley 9397608dd3 LANG-971 NumberUtils#isNumber(String) fails to reject invalid Octal numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566967 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:53:03 +00:00
Sebastian Bazley 5a509030a9 LANG-972 NumberUtils#isNumber does not allow for hex 0XABCD
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566963 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 02:34:36 +00:00
Sebastian Bazley 159415855d Simplify tests by extracting common code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566731 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 20:24:56 +00:00
Gary D. Gregory 44b4c8763d <action issue="LANG-966" type="add" dev="ggregory">Add IBM OS/400 detection</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566705 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 19:12:03 +00:00
Gary D. Gregory 5feaa5fe2c <action issue="LANG-969" type="fix" dev="ggregory" due-to="Matt Bishop">StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1566489 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 02:06:06 +00:00
Gary D. Gregory 4b718f6e5a <action issue="LANG-970" type="add" dev="ggregory">Add APIs MutableBoolean setTrue() and setFalse()</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565915 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 04:35:17 +00:00
Gary D. Gregory 2d6fef59e6 Better Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565834 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 22:23:02 +00:00
Gary D. Gregory 84f392eaa4 [LANG-969] StringUtils.toEncodedString(byte[], Charset) needlessly throws exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565833 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 22:21:55 +00:00
Gary D. Gregory 555570c954 Better name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565488 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 23:45:12 +00:00
Gary D. Gregory af54765d0c Tests on our AS/400 shows the value to be "OS/400".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565487 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 23:44:53 +00:00
Sebastian Bazley d6a556dad7 Add explict default case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565257 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:51:45 +00:00
Sebastian Bazley 65392be352 Add explict default case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565252 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:48:08 +00:00
Sebastian Bazley eabd95a51c Additional samples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565251 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:47:21 +00:00
Sebastian Bazley af74365e31 Rename to avoid clashing with parameter names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565245 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:39:50 +00:00
Sebastian Bazley 32a260ff46 Don't assign parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565243 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:37:12 +00:00
Sebastian Bazley f27c439c8d Fall through is intentional
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565235 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:31:43 +00:00
Sebastian Bazley 5a001837b4 Clarify that leading zeros are not ignored
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1565232 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 13:29:21 +00:00
Gary D. Gregory 4d51150a69 [LANG-966] Add IBM iSeries 5 OS detection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1564150 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 01:48:15 +00:00
Gary D. Gregory 21c438188f Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563993 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 18:45:16 +00:00
Gary D. Gregory c40d7c4d37 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563680 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:41:15 +00:00
Gary D. Gregory 04d743f4f4 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563679 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:40:52 +00:00
Gary D. Gregory 35a2c81ac4 Add missing @since.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563678 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:40:32 +00:00
Benedikt Ritter 717ac0c7b3 Set svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563407 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 12:47:15 +00:00
Benedikt Ritter 48652f5941 LANG-946: ConstantInitializerTest fails when building with IBM JDK 7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563388 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 10:46:28 +00:00
Duncan Jones 954280893c Reverts changes introduced in r1563259. Discussion to be had over correct place for this functionality (likely org.apache.commons.lang3.Conversion).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563378 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 07:53:54 +00:00
Gary D. Gregory a3de60835e <action issue="LANG-962" type="add" dev="ggregory">Add SerializationUtils.roundtrip(T extends Serializable) to serialize then deserialize</action>
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563309 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 22:32:03 +00:00
Duncan Jones 364d5912b2 LANG-341: Please add number to byte[] methods. Suggested by Lilianne E. Blaze. Final patch from Vincent Ricard (with thanks to Henri Yandell).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563259 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 21:12:57 +00:00
Gary D. Gregory 725a2be1ef More precise generics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563016 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 23:37:23 +00:00
Gary D. Gregory 0c7b32a211 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself. Only call setAccessible if neccessary and tell the caller about it so it can undo the change if need be.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1563014 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 23:28:26 +00:00
Gary D. Gregory 1bc33d2211 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562994 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 22:00:42 +00:00
Gary D. Gregory 2eecc96a53 [LANG-961] org.apache.commons.lang3.reflect.FieldUtils.removeFinalModifier(Field) does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562991 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:53:52 +00:00
Gary D. Gregory 8c04a90ec5 Add in-line comment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562987 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:37:34 +00:00
Gary D. Gregory c79f82491a removeFinalModifier does not clean up after itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562985 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:36:38 +00:00
Gary D. Gregory 2c8822657d Javadoc: format.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562982 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:35:28 +00:00
Gary D. Gregory 9b07d9c306 Javadoc: Use the active voice.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562981 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:35:10 +00:00
Gary D. Gregory 8f06368cd4 Make the write*Field impl match its in-line comment and not rely on the default behavior of writeField(field,target,value).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562979 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:33:17 +00:00
Gary D. Gregory fd3057092d Make the write*Field impl match its in-line comment and not rely on the default behavior of writeField(field,target,value).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:32:19 +00:00
Gary D. Gregory fc41d6bb88 Make the readDeclaredField(final Object target, final String fieldName, final boolean forceAccess) impl match its in-line comment and not rely on the default behavior of readField(Field, Object).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562977 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:30:34 +00:00
Gary D. Gregory 5ba58d45d0 Make the readDeclaredField(final Object target, final String fieldName, final boolean forceAccess) impl match its in-line comment and not rely on the default behavior of readField(Field, Object).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562976 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:29:53 +00:00
Gary D. Gregory 03c16e857d Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562971 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:23:18 +00:00
Benedikt Ritter f67f7c27dc Remove unnecessary white spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562922 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 18:54:41 +00:00
Matthew Jason Benson 42ef7d6bc8 ws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562880 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 16:28:19 +00:00
Duncan Jones 82664d556c Removed two duplicated assertions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562018 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 09:35:29 +00:00
Duncan Jones ce9d841f79 Resolved compiler warnings shown in Eclipse and when compiling with -Xlint:unchecked.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1562017 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 09:31:53 +00:00
Benedikt Ritter 1837ea7782 Fix raw type warnings, as pointed out by Duncan Jones
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561722 13f79535-47bb-0310-9956-ffa450edef68
2014-01-27 16:19:55 +00:00
Duncan Jones ef9db7e5c7 Lang is targeted at Java 1.6 now. Corrected text alignment issue (now left-aligned),
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561402 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 21:01:32 +00:00
Benedikt Ritter f074f784ef Add missing changes entry for LANG-958
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561276 13f79535-47bb-0310-9956-ffa450edef68
2014-01-25 08:53:31 +00:00
Chas Honton 1c050743c9 FastDateParser javadoc incorrectly states that SimpleDateFormat is used internally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561228 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 23:29:17 +00:00
Duncan Jones 8a82d7b79b Renamed DiffList to DiffResult as per discussion in LANG-637.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561225 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 23:17:29 +00:00
Duncan Jones ea47f03c4d LANG-637: There should be a DifferenceBuilder with a ReflectionDifferenceBuilder implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561215 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 22:37:50 +00:00
Sebastian Bazley 054f2f9160 Oops - wrong section
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561071 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 17:09:46 +00:00
Sebastian Bazley 8630180fff LANG-954 uncaught PatternSyntaxException in FastDateFormat on Android
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561045 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 16:00:35 +00:00
Benedikt Ritter 2d55e408ed LANG-956: Improve JavaDoc of WordUtils.wrap methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 15:42:19 +00:00
Benedikt Ritter 5158ed5e23 Remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561016 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:07:03 +00:00
Benedikt Ritter 731a7fa4b9 We are commons now
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561015 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:06:08 +00:00
Benedikt Ritter 66243d1058 Add test for ClassPathUtils accessebility
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561014 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:03:52 +00:00
Benedikt Ritter 1e355cfb10 Utilities in commons lang are not final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561013 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 14:02:49 +00:00
Benedikt Ritter 2b2eaf5af1 Document behavior for null inputs in class JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561010 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:58:55 +00:00
Benedikt Ritter 4403166697 Add missing quotes to JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561007 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:55:58 +00:00
Benedikt Ritter 1275bf6219 Add missing @since tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561005 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:52:46 +00:00
Benedikt Ritter 07ea480752 Use assertNull(actual) instead of assertEquals(null, actual)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1561003 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 13:48:26 +00:00
Benedikt Ritter fc52f1c7f8 Use annotation based testing for failure case
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560762 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:15:48 +00:00
Benedikt Ritter 7a532bcc01 Keep tests for Levenshtein Distance together
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560759 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:10:58 +00:00
Benedikt Ritter 64e9b7f514 Remove unused local variables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560757 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:10:09 +00:00
Benedikt Ritter 3eb4be60cf Reuse code already available in StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560756 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:07:46 +00:00
Benedikt Ritter 6f5f99440e Inline division operation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560753 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:03:13 +00:00
Benedikt Ritter b44b35129e More source code to format...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560751 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 17:01:48 +00:00
Benedikt Ritter 7d4041d827 Format source code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560746 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:57:58 +00:00
Benedikt Ritter 5a770a121a Use final modifier where possible
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560744 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:55:58 +00:00
Benedikt Ritter bf37bd5d74 Remove unnecessary try-catch-block
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560742 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:53:42 +00:00
Benedikt Ritter d47495f3f1 Correct indentation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560741 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:51:30 +00:00
Benedikt Ritter 8d815d8f8d Tiddy up JavaDoc for Jaro Winkler Distance calculation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560740 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:48:17 +00:00
Benedikt Ritter 7460a856f2 LANG-944: Add the Jaro-Winkler string distance algorithm to StringUtils - partially applying the patch by Rekha Joshi as submitted for further refinement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560727 13f79535-47bb-0310-9956-ffa450edef68
2014-01-23 16:27:51 +00:00
Henri Yandell 8cd2339a97 Applying Eli Lindsey's patch to Yaniv Kunda's report in LANG-936 that StringUtils.getLevensteinDistance(String, String, int) gave the wrong answer when the int threshold is near Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560275 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 08:19:22 +00:00
Benedikt Ritter 3a8595f1a5 LANG-954: uncaught PatternSyntaxException in FastDateFormat - add test for the pattern in question; works at least with JDK 1.7.0_45
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1560137 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 18:45:08 +00:00
Bruno P. Kinoshita 5d10a4a6aa [LANG-943] Test DurationFormatUtilsTest.testEdgeDuration fails in JDK 1.6, 1.7 and 1.8, BRST time zone
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559802 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 18:37:44 +00:00
Benedikt Ritter b5a9cd944c LANG-951: Fragments are wrong by 1 day when using fragment YEAR or MONTH - fix test that failed because of wrong assertions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559787 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:33:09 +00:00
Benedikt Ritter b3c1a78dab Add LANG-613 to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559783 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:26:50 +00:00
Benedikt Ritter 0942ef04f1 LANG-951: Fragments are wrong by 1 day when using fragment YEAR or MONTH - applying patch provided by Sebastian Götz, several tests now fail because of wrong assertions, will fix them in a separate commit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559780 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:19:59 +00:00
Matthew Jason Benson 8252b04a45 [LANG-613] ConstructorUtils.getAccessibleConstructor() Does Not Check the Accessibility of Enclosing Classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559779 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 17:19:02 +00:00
Benedikt Ritter 43008052af LANG-417: New class ClassPathUtils with methods for turning FQN into resource path
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559495 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 13:26:45 +00:00
Stefan Bodewig c2a5482eea Add site publication and building a Nexus Upload Bundle
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559344 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 13:53:17 +00:00
Stefan Bodewig 66733aa27d modularize build file a little, deal with existing dist workspace
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559325 13f79535-47bb-0310-9956-ffa450edef68
2014-01-18 06:56:11 +00:00
Benedikt Ritter 0a4525efd7 LANG-939: Move Documentation from user guide to package-info files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1559146 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 15:23:19 +00:00
Benedikt Ritter c20c8fa1bc LANG-953: Convert package.html files to package-info.java files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558546 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 19:38:15 +00:00
Benedikt Ritter 282c5699e4 Fix typo introduced by myself :o)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558513 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:59:21 +00:00
Benedikt Ritter 3af7ba8e46 Fix JavaDoc problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558512 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:56:57 +00:00
Benedikt Ritter be963fc089 Simplify assertions by using assertNull instead of assertEquals(null, ...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558507 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 18:50:11 +00:00
Benedikt Ritter 1f9493cd56 Add missing tickets to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1558482 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 17:35:23 +00:00
Chas Honton 03645a1ec1 LANG-949 and LANG-950
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557882 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 23:01:23 +00:00
Benedikt Ritter 2abe2c8366 No need to do a save comparison here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557597 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:59:08 +00:00
Benedikt Ritter 10fee7abaf LANG-940: Fix deprecation warnings; found some more usages
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557592 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:53:16 +00:00
Benedikt Ritter bdb68492fc Remove unnecessary semicolon
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557589 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:45:19 +00:00
Benedikt Ritter 9a5706719c Fix compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557586 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:32:39 +00:00
Benedikt Ritter 7692a9d575 Fix typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557585 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:29:53 +00:00
Benedikt Ritter d048a37502 LANG-940: Fix deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557584 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 18:26:49 +00:00
Benedikt Ritter 2b795dd03a Add missing resolved issue to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 17:58:00 +00:00
Benedikt Ritter c825a13b0b Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557520 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 12:38:08 +00:00
Benedikt Ritter 11a15c6394 LANG-834: Validate: add inclusiveBetween and exclusiveBetween overloads for primitives types. Initial patch provided by Sebb.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557509 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 10:22:00 +00:00
Benedikt Ritter 28daf04ae2 Use annotation based testing for failure cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557446 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:39:21 +00:00
Benedikt Ritter 5f8d99694b LANG-900 introduced new features, so next version will be 3.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557435 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:11:48 +00:00
Benedikt Ritter b05a81debb LANG-900: New RandumUtils class. Thanks to Duncan Jones
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 19:10:13 +00:00
Benedikt Ritter 8ea0c02848 LANG-915: Wrong locale handling in LocaleUtils.toLocale(). Thanks to Sergio Fernández
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557378 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 13:06:36 +00:00
Matthew Jason Benson 7a62fabdfc [LANG-819] support ? extends as type parameter for input Iterables on #generateBitVector() methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1557159 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 15:41:57 +00:00
Benedikt Ritter 19714df228 Replace old comment with one that really explains the property
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556856 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:10:04 +00:00
Benedikt Ritter 31e1180905 Reuse properties from default build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556855 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:07:52 +00:00
Benedikt Ritter 5d41d0f54c Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556853 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 16:05:09 +00:00
Benedikt Ritter 99338c3732 Add missing empty lines at EOF
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556363 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 21:35:37 +00:00
Benedikt Ritter 3e20e18fb3 First version of an ant script to automate creation of RCs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556346 13f79535-47bb-0310-9956-ffa450edef68
2014-01-07 20:34:12 +00:00
Benedikt Ritter 21d7d44759 'Apache' is arleady contained in project.name in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556011 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 20:08:16 +00:00
Benedikt Ritter b1005ec0c9 Relese notes must contain AL header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1556010 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 20:07:26 +00:00
Benedikt Ritter 555d592ed7 Update version number to 3.2.1 on index.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555581 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 16:58:07 +00:00
Benedikt Ritter d883e8232a Update changes.xml in preparation for 3.2.1 RC1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555579 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 16:52:56 +00:00
Benedikt Ritter 834c3a8b0d Update release history page in preparation for 3.2.1 RC1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555578 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 16:52:15 +00:00
Benedikt Ritter ff10b1adfc Add release notes to release notes archive
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555577 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 16:50:18 +00:00
Benedikt Ritter 9007e3d7b0 Update downloads page in preparation of 3.2.1 RC1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555525 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 15:30:55 +00:00
Benedikt Ritter b9b452dfaa Add LANG-938 parent ticket to list of changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555520 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 14:58:32 +00:00
Benedikt Ritter d971fa4cf7 LANG-942: Test failure in FastDateParserTest and FastDateFormat_ParserTest when building with JDK8. Thanks to Bruno P. Kinoshita and Henri Yandell for their help in fixing this issue.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555485 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 12:08:29 +00:00
Benedikt Ritter 4d05ad978a Add link to lang's Sonar dashboard
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555107 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 14:22:41 +00:00
Benedikt Ritter 704312c34c Default implementation actually returns false
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555099 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 14:09:47 +00:00
Benedikt Ritter 3000281e86 Remove unnecessary white spaces at EOL
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555044 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 10:27:30 +00:00
Benedikt Ritter 24b6a468ae LANG-941: Test failure in LocaleUtilsTest when building with JDK 8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555043 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 10:26:54 +00:00
Benedikt Ritter 02b55d4ff3 Use assertNull instead of comparing to null
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555041 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:45:30 +00:00
Benedikt Ritter c99a4a3ee2 LANG-941: Test failure in LocaleUtilsTest when building with JDK 8 - make problem more explicit by checking for empty strings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555040 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:43:49 +00:00
Benedikt Ritter d230e3a426 Missed those methods in last commit: Assertion methods can be static
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555038 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:25:11 +00:00
Benedikt Ritter 4af9eed43d Assertion methods can be static
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1555037 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 09:22:25 +00:00
Benedikt Ritter 0f2e42d6ee LANG-937: Fix missing Hamcrest dependency in Ant Build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1554848 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 17:06:53 +00:00
Benedikt Ritter 15a51f1d1a Fix wrong download links
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1554660 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 18:00:30 +00:00
Benedikt Ritter 91fd2a1ff0 Update Java requirements on downloads page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1554644 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:10:06 +00:00
Benedikt Ritter 33b22d8b1b Update trunk after release 3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1554643 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 16:56:21 +00:00
Gary D. Gregory c4ecd75ecd No need for if/then/else w/ 2 returns when a simple ternary expression will do.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553931 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:24:44 +00:00
Gary D. Gregory e539d10f76 Convert 'for' loops to enhanced 'for' loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553930 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:22:41 +00:00
Gary D. Gregory f6f96c6dab Remove unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553929 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:19:39 +00:00
Gary D. Gregory a0bf6e4354 Fix Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553928 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:18:46 +00:00
Gary D. Gregory 25b4ce9978 Add missing '@Deprecated' annotations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553927 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:17:57 +00:00
Gary D. Gregory b671987817 Add missing serial version ID (default 1L).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553926 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 21:15:10 +00:00
Benedikt Ritter dc6b6b09f8 Set svn keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553851 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:51:31 +00:00
Benedikt Ritter cb475136b8 Add upcoming release 3.2 to release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553850 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:47:51 +00:00
Benedikt Ritter 7b70ac9611 Add upcoming release 3.2 to release history page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553849 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:46:54 +00:00
Benedikt Ritter 17559c5391 Document java version requirement on main page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553848 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:39:07 +00:00
Benedikt Ritter ea67d70b4a Better wording
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553847 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:38:33 +00:00
Benedikt Ritter 9935df7d8c Document Clirr errors on main site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1553846 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:34:48 +00:00
Benedikt Ritter 8746dd1df6 Preparing 3.2 RC 1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552976 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 09:34:26 +00:00
Benedikt Ritter 325a2d0b1a Remove JavaDoc links to private API
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552682 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:19:09 +00:00
Benedikt Ritter acdbdd5f24 Fix JavaDoc warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552680 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:18:18 +00:00
Benedikt Ritter 3022375ff4 Add the last missing since tags for upcoming release 3.2
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552679 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:08:03 +00:00
Benedikt Ritter dbb6d6898a Missing since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552678 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:59:31 +00:00
Benedikt Ritter ad99da0641 Missing since tags for StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552671 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:51:14 +00:00
Benedikt Ritter b9abc0ea17 Add missing svn keywords and JavaDoc tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552665 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:43:53 +00:00
Benedikt Ritter 870004b2ac Missed that one in last commit: Remove whitespace so that svn recognizes Id keyword
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552662 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:36:55 +00:00
Benedikt Ritter f048e90a3c Remove whitespace so that svn recognizes Id keyword
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552661 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:36:30 +00:00
Benedikt Ritter cf171ddc98 Fix svn props
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552659 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:35:22 +00:00
Benedikt Ritter ef320f6be1 Add missing JavaDoc tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552658 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:31:46 +00:00
Benedikt Ritter fed3bef505 We don't use the component name in since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552657 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:30:16 +00:00
Benedikt Ritter 374a1f267a Add missing since tags for StrSubstitutor; wrap lines longer than 80 chars
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552654 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:25:37 +00:00
Benedikt Ritter 0563c9d603 Add missing since tags for UnicodeEscaper
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552652 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:23:16 +00:00
Benedikt Ritter dd5723ae0f More missing keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552637 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 13:07:11 +00:00
Benedikt Ritter 6f519c0edc Add missing since tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552633 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 12:55:00 +00:00
Gary D. Gregory 8303f1efa3 Add @see in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1552123 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 21:58:08 +00:00
Thomas Neidhart 19f5bb5f6c Add javadoc to public constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1546852 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 20:15:57 +00:00
Maurizio Cucchiara c288d29601 LANG-934 - Add removeFinalModifier to FieldUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1546799 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 10:34:02 +00:00
Maurizio Cucchiara 030f0d3d40 Restored explicit boxes (see http://goo.gl/uN6xQl)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1546797 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 10:08:18 +00:00
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
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
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 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 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
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