Commit Graph

3780 Commits

Author SHA1 Message Date
Sebastian Bazley 1d97f23c08 It's confusing to re-use field names locally
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533551 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:49:15 +00:00
Sebastian Bazley 4be45b6dcc Don't override variable name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533544 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:39:05 +00:00
Sebastian Bazley 7b6c2cc0bd Add dummy serialVersionUIDs to avoid IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533541 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:33:52 +00:00
Sebastian Bazley 7fac289ed9 Spelling
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533527 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 16:03:17 +00:00
Sebastian Bazley f040de2153 Suppress deprecated warnings for test code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533515 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 15:36:22 +00:00
Benedikt Ritter c3116fcd11 Correct JavaDoc for generic type parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533474 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 14:53:11 +00:00
Benedikt Ritter 95f1f14b8e Add some JavaDoc to make CheckStyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533417 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 12:24:09 +00:00
Benedikt Ritter ec1f4d743c java.lang.reflect.AccessibleObject is only needed for JavaDoc. Remove it from the imports an link to is explicitly in JavaDoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533411 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:58:57 +00:00
Benedikt Ritter 4a5491e725 Make this a JavaDoc comment so that checkstyle is happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533410 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:55:22 +00:00
Benedikt Ritter 227946134c Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533406 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:49:52 +00:00
Benedikt Ritter f9be1de577 Fix JavaDoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1533402 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 11:45:26 +00:00
Henri Yandell cc6a92b1a5 Deprecating StringUtils.toString(byte[],String) in favour of a new CharSet based method, as reported by Aaron Digulla in LANG-795
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532995 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 07:30:57 +00:00
Henri Yandell e01f2a4a19 Added a Getting Involved section specifically for Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532973 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 06:09:47 +00:00
Henri Yandell c854dd9007 Noting the javadoc fix for RandomStringUtils per LANG-902
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532685 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:30:39 +00:00
Henri Yandell cb3d478b78 Fixing the documentation so that a random string of numbers and letters is not guaranteeing that a number or a letter will appear as reported by Andrzej Winnicki in LANG-902
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532684 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:28:42 +00:00
Benedikt Ritter 0de9354f50 LANG-922 - Add isOneTrue(booleans...) to BooleanUtils to preserve old behavior of BooleanUtils.xor(booleans...). Added isOneTrue for primitives and wrappers, isOneFalse still missing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532491 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 19:09:31 +00:00
Benedikt Ritter aadbea734d LANG-921 - BooleanUtils.xor(boolean...) produces wrong results
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532476 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 18:31:40 +00:00
Henri Yandell a01e450694 Adding missing javadoc per checkstyle and Duncan Jones at LANG-840
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532228 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 06:56:42 +00:00
Henri Yandell 3ed46f8b53 Applying javadoc for DateParser from LANG-840 from Duncan Jones
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532225 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 06:54:25 +00:00
Benedikt Ritter 01fce8e321 Document (wrong?) behavior of xor methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532031 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 19:21:02 +00:00
Benedikt Ritter 469d0dd52a Deprecate methods that are available in Java 7's java.lang.Objects
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1532011 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 18:15:39 +00:00
Matthew Jason Benson 294c292487 extended documentation for TypeLiteral/Typed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531968 13f79535-47bb-0310-9956-ffa450edef68
2013-10-14 16:28:50 +00:00
Henri Yandell f9b486a171 Adding 00A0 to the list of whitespace characters per LANG-910
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531643 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 09:02:07 +00:00
Benedikt Ritter 439ee3bc05 Use assertNotSame instead of !=
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 10:59:57 +00:00
Benedikt Ritter 226a96ace2 Split up assertions of different inputs into separate tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531527 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 10:56:23 +00:00
Benedikt Ritter c62447ce10 Add FindBugs exclusion for toString(byte[], String)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531445 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 22:04:50 +00:00
Benedikt Ritter 0309b11ff2 Fix JavaDoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531433 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 21:42:49 +00:00
Benedikt Ritter 877438dd76 Resolve unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531431 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 21:41:37 +00:00
Benedikt Ritter 965096e21c Add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531426 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 21:27:50 +00:00
Matthew Jason Benson b2ad5e80bb a bit of dog food and a lot of javadoc tweakage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531403 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:38:49 +00:00
Matthew Jason Benson eed09d6bd4 test empty/blank explicitly as field name arguments, remove unused assertions (those which handle result values from methods invoke with the intent of raising exceptions)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531401 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:38:16 +00:00
Matthew Jason Benson a9ae686ec8 [LANG-920] Add ArrayUtils#nullToEmpty(Class<?>[])
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531399 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 19:36:39 +00:00
Benedikt Ritter 06df5cbe7c Avoid modifiers which a implied by the context
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531261 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 11:40:12 +00:00
Benedikt Ritter 188933345a Reuse functionality already present and fix PMD violations an the way
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531257 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 11:25:28 +00:00
Matthew Jason Benson 9606080213 explicitly specify method type parameter to fix compile error on Java 8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531101 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 20:34:48 +00:00
Benedikt Ritter 8499d0fa28 Update to latest parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1531073 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 18:44:50 +00:00
Gary D. Gregory a328fd00a7 Eat own dog food: use StringUtils.isEmpty().
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1527373 13f79535-47bb-0310-9956-ffa450edef68
2013-09-29 18:06:03 +00:00
Benedikt Ritter a16f6263b5 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1526818 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 07:53:53 +00:00
Benedikt Ritter 26375b2cfd LANG-804 - Redundant check for zero in HashCodeBuilder ctor. Patch provided by Allon Mureinik via github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1526817 13f79535-47bb-0310-9956-ffa450edef68
2013-09-27 07:49:02 +00:00
Matthew Jason Benson 9ad1a4df47 null-guard
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525740 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 23:43:13 +00:00
Matthew Jason Benson 76fd4f1e72 add typesafe wrap variant for classes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525724 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 22:51:57 +00:00
Matthew Jason Benson 1cbba96f16 provide simple method to wrap a given type to the Typed interface
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525722 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 22:42:03 +00:00
Matthew Jason Benson 327593c27d [LANG-919] Provide TypeLiteral class similar to javax.enterprise.util.TypeLiteral
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525711 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 22:13:57 +00:00
Matthew Jason Benson 127a53d992 switch to a single beginning assertion and add Oracle > 1.6 to disabled platforms for skipped test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525071 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 18:03:03 +00:00
Benedikt Ritter beda698670 Add missing separator between subclasses. Fix provided by Dave Hughes via github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525014 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 14:08:12 +00:00
Benedikt Ritter f39a72abed Fix type in JavaDoc. Fix provided by Dave Hughes via github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1525013 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 14:05:45 +00:00
Oliver Heger e1c801b474 [LANG-893] Updated changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1524542 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 19:37:36 +00:00
Oliver Heger abc5dda962 [LANG-893] StrSubstitutor now supports the declaration of default values for the variables to be replaced. Thanks to Woonsan Ko for the patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1524541 13f79535-47bb-0310-9956-ffa450edef68
2013-09-18 19:35:16 +00:00
Benedikt Ritter 11def3cc7e Correct AL header formatting
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1523209 13f79535-47bb-0310-9956-ffa450edef68
2013-09-14 11:00:05 +00:00
Benedikt Ritter 62edfb7ab4 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1519294 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 17:04:20 +00:00