Commit Graph

3604 Commits

Author SHA1 Message Date
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
Benedikt Ritter b9a8d54844 Add missing eclipse IDE config files to .gitignore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1519293 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 17:03:54 +00:00
Benedikt Ritter 136c1bc523 LANG-913: Adding .gitignore to commons-lang. Patch provided by Allon Mureinik via github
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1519292 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 17:01:30 +00:00
Sebastian Bazley 28bee77766 Tabs and trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1518125 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 09:47:52 +00:00
Sebastian Bazley 62f2412f14 LANG-911 UTF8 4byte (un)escapeJava not work correctly
Add test to show that the bug report is incorrect

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1518116 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 09:17:47 +00:00
Sebastian Bazley 9506e04548 Drop my due-to entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1513217 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 18:23:14 +00:00
Matthew Jason Benson 1d6ab5b8c0 make abbreviation maps immutable, andand add void:V for the sake of completeness
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1512811 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 18:04:12 +00:00
Matthew Jason Benson 609319df22 [LANG-908] get method override hierarchy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1510301 13f79535-47bb-0310-9956-ffa450edef68
2013-08-04 18:40:48 +00:00
Matthew Jason Benson 019256539d [LANG-906] new type util features
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1510300 13f79535-47bb-0310-9956-ffa450edef68
2013-08-04 18:40:18 +00:00
Matthew Jason Benson eb45c596a8 [LANG-907] retrieve class hierarchy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1510298 13f79535-47bb-0310-9956-ffa450edef68
2013-08-04 18:36:17 +00:00
Benedikt Ritter 3fcbc4a4fa Make test independent from machine locale
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1507797 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 13:16:36 +00:00
Sebastian Bazley d1a45e9738 LANG-747 NumberUtils does not handle Long Hex numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1507169 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 01:03:52 +00:00
Brent Worden 396afc3e46 LANG-837 Add ObjectUtils.toIdentityString methods that support StringBuilder, StrBuilder, and Appendable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1500545 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 22:07:46 +00:00
Brent Worden f291dea74f short circuit (un)capitalize if string is already (un)capitalized.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1497829 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 16:21:09 +00:00
Sebastian Bazley a3242c0171 Add tests for new Javadoc examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493144 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 16:19:27 +00:00
Sebastian Bazley 0dafe1193c Clarify Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493118 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 15:30:09 +00:00
Sebastian Bazley 572087d22b Add more tests showing the behaviour on the index boundary
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493107 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 15:09:53 +00:00
Sebastian Bazley cf4979715f Javadoc - more copy-paste errors converting first to last
Add details of invariants

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493104 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 15:07:44 +00:00
Sebastian Bazley 43b4c722bc Javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1493082 13f79535-47bb-0310-9956-ffa450edef68
2013-06-14 14:18:31 +00:00
Gary D. Gregory b462572e01 Statements unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1489695 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 03:40:00 +00:00
Gary D. Gregory 49ae56659d Statements unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1489694 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 03:39:09 +00:00
Gary D. Gregory d77fe491fd Statement unnecessarily nested within else clause.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1489693 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 03:37:50 +00:00
Gary D. Gregory c6ad3493e8 Use String#isEmpty() instead of String#length() == 0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1489692 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 03:35:37 +00:00
Sebastian Bazley ef9623ef8e LANG-896 BooleanUtils.toBoolean(String str) javadoc is not updated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1488041 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 22:44:47 +00:00
Sebastian Bazley dcde57852a LANG-879 LocaleUtils test fails with new Locale "ja_JP_JP_#u-ca-japanese" of JDK7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1488038 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 22:12:41 +00:00
Sebastian Bazley 8b494b784d LANG-836 StrSubstitutor does not support StringBuilder or CharSequence
Forgot to correct @since tags

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1487921 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:36:11 +00:00
Sebastian Bazley 22c37d5307 LANG-836 StrSubstitutor does not support StringBuilder or CharSequence
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1487918 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:34:20 +00:00