Commit Graph

3892 Commits

Author SHA1 Message Date
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 a22ed2cab4 Let Clirr compare against latest release, since the next release will be a minor release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1572614 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 15:17:41 +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
Benedikt Ritter bee1acc69e Add Chris Karcher to the list of contributors for his work on LANG-977. Thanks to Duncan Jones for pointing this out.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1569450 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 18:05:06 +00:00
Benedikt Ritter 2bd8c559b9 Add Adam Hooper to the list of contributors for his work on LANG-955
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1569449 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 18:03:54 +00:00
Benedikt Ritter 2190f0de93 Update to latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1569448 13f79535-47bb-0310-9956-ffa450edef68
2014-02-18 18:02:20 +00:00
Benedikt Ritter df92bd43f4 Set svn keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1569053 13f79535-47bb-0310-9956-ffa450edef68
2014-02-17 16:41:27 +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