Commit Graph

4126 Commits

Author SHA1 Message Date
Sebastian Bazley e124486951 Simplify
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663410 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 19:44:39 +00:00
Sebastian Bazley 3ec99c1f0b Add AL header (props joerg)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663353 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:49:19 +00:00
Sebastian Bazley 7c8443f66c LANG-1089 FastDateParser does not handle excess hours as per SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663348 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:29:45 +00:00
Sebastian Bazley 6ec90c452f Docs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663342 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:10:35 +00:00
Sebastian Bazley b321bde08d Generics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663177 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 23:18:33 +00:00
Sebastian Bazley fb6a62cab0 Missed property
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663174 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 22:25:23 +00:00
Sebastian Bazley 4d228ddfea Comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663173 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 22:17:29 +00:00
Sebastian Bazley 2367948a0f LANG-1061 FastDateParser error - timezones not handled correctly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663140 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 17:59:34 +00:00
Benedikt Ritter 45a6467088 LANG-1087: NumberUtils#createNumber() returns positive BigDecimal when negative Float is expected. Thanks to Renat Zhilkibaev.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663129 13f79535-47bb-0310-9956-ffa450edef68
2015-03-01 16:48:22 +00:00
Benedikt Ritter 61836183b1 Reverting changes from r1661762 (LANG-1086) for now until we have consensus about this change.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1662379 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 08:13:58 +00:00
Sebastian Bazley 4975b8903e CGI must be svn:executable *
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1662049 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:39:26 +00:00
Benedikt Ritter ed4d262ee9 Update to latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1661783 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:56:58 +00:00
Benedikt Ritter bdb5d97230 LANG-1086: Remove busy wait from AtomicSafeInitializer.get(). This also fixes #46 from github. Thanks to github user artnaseef.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1661762 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:15:49 +00:00
Sebastian Bazley ffdc4272f4 Fix up Findbugs version so it works with Java 6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1655027 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 12:45:01 +00:00
Benedikt Ritter 813e18ff40 Checkstyle: Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654144 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:47:00 +00:00
Benedikt Ritter 4792f854b0 Checkstyle: Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654143 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:45:21 +00:00
Benedikt Ritter 425d057739 Make JavaDoc tool happy by adding missing @return tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654142 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:43:21 +00:00
Benedikt Ritter 58320be2fc Add some JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654140 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:41:18 +00:00
Benedikt Ritter 6b90fe3a2c Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654139 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:34:58 +00:00
Benedikt Ritter d8c65c419f Add Jonathan Baker to the list of contributors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654138 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:26:28 +00:00
Benedikt Ritter ffc38b1f3b LANG-1081: DiffBuilder.append(String, Object left, Object right) does not do a left.equals(right) check. This fixes #41 from github. Thanks to Jonathan Baker.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654137 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:25:43 +00:00
Benedikt Ritter 3181b40766 Add an additional test for LANG-1055
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654135 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:10:41 +00:00
Benedikt Ritter 63f1d6b83b LANG-1055: StrSubstitutor.replaceSystemProperties does not work consistently. This fixes #43 from github. Thanks to Jonathan Baker.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654134 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 08:10:24 +00:00
Benedikt Ritter cc991feadb Add since tag to new constructor of DiffBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654132 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 07:58:58 +00:00
Benedikt Ritter 38ed1a0725 LANG-1082: Add option to disable the objectsTriviallyEqual test in DiffBuilder. This fixes #44 from github. Thanks to Jonathan Baker.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1654131 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 07:56:14 +00:00
Benedikt Ritter 6eac3468d4 LANG-1083: Add (T) casts to get unit tests to pass in old JDK. This fixes #42 from github. Thanks to Jonathan Baker.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1653307 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 17:30:11 +00:00
Benedikt Ritter 89c8519238 Update copyright year
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1651132 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 16:34:15 +00:00
Benedikt Ritter 9af6c5e07c Use README.md and CONTRIBUTING.md generated by commons build plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1649111 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 20:09:51 +00:00
Benedikt Ritter 51607308c7 Add test for merging toString with super toString
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648925 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:24:07 +00:00
Benedikt Ritter d903279e44 Remove assertions in error cases. They won't be executed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648924 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:19:44 +00:00
Benedikt Ritter 42728e8e53 Test against static value
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648922 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:13:32 +00:00
Benedikt Ritter 2515b3eb32 Format source code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648921 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:08:07 +00:00
Benedikt Ritter 8d9662e0a1 JsonToStringStyle doesn't use line breaks. Change JavaDoc to reflect this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648920 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:04:19 +00:00
Benedikt Ritter c4ddbe6456 LANG-1015: Add JsonToStringStyle implementation to ToStringStyle. This fixes #12 and #26 from github. Thanks to Thiago Andrade.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648919 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:01:41 +00:00
Benedikt Ritter c87380f0d9 LANG-1080: add NoClassNameToStringStyle implementation of ToStringStyle. This closes #40 from github. Thanks to Innokenty Shuvalov.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648730 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 16:34:49 +00:00
Benedikt Ritter e22e0669cd Revert to using cobertura. The Jacoco instrumentation will add fields to all classes. This in turn breaks the tests for FieldUtils.getAllFields(Class).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648078 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 18:06:43 +00:00
Benedikt Ritter 2f97b43563 Don't redefine plugin default values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648075 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 17:57:20 +00:00
Benedikt Ritter 00f00cce4a Need to set MaxPermSize as well or the site build will fail with OutOfMemoryError
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648074 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 17:56:53 +00:00
Benedikt Ritter 867d318faf Update JavaNCSS plugin to latest version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648073 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 17:40:19 +00:00
Benedikt Ritter e4bcd50db3 Add jacoco file to activate report via parent pom (forgot that in last commit)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648072 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 17:39:43 +00:00
Benedikt Ritter 517b43041a Use jacoco via parent pom configuration file instead of cobertura (which takes forever to run)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648071 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 17:38:35 +00:00
Benedikt Ritter c5332828bd LANG-1071: Fix wrong examples in JavaDoc of StringUtils.replaceEachRepeatedly(...), StringUtils.replaceEach(...). Thanks to Arno Noordover.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648067 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 16:45:42 +00:00
Benedikt Ritter 5cb1ae6024 Add examples for containsAny(CharSequence, CharSequence...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648066 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 16:29:28 +00:00
Benedikt Ritter a169e866c1 Use enhanced for loop instead of indexed based iteration
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648064 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 16:25:02 +00:00
Benedikt Ritter 9e26c7b6e9 LANG-883: Add StringUtils.containsAny(CharSequence, CharSequence...) method. Thanks to Daniel Stewart.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648063 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 16:20:55 +00:00
Benedikt Ritter 23d55b0b9c Can't link to private inner classes, use public field instead
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1648061 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 16:08:20 +00:00
Benedikt Ritter 5f61aa0718 Update to latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1647981 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 14:00:52 +00:00
Benedikt Ritter 39022255c5 Add another assertion documention the current behavior of StringUtils.join
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1647902 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 15:31:16 +00:00
Bruno P. Kinoshita 4a2cc4f5da LANG-1073 Read wrong component type of array in add in ArrayUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1645483 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 18:22:06 +00:00
Bruno P. Kinoshita e5a3039f7a LANG-1077 StringUtils.ordinalIndexOf("aaaaaa", "aa", 2) != 3 in StringUtils
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1645101 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 02:00:18 +00:00