Gary Gregory
9dcd87f9c4
LANG-1289" type="fix" dev="ggregory">JavaVersion class depends on Apache
...
Commons Math class NumberUtils.
2016-11-18 12:30:22 -08:00
Gary Gregory
429c847b24
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang.git
2016-11-18 12:13:57 -08:00
Gary Gregory
09c52410e6
Add missing @Deprecated.
2016-11-18 12:13:42 -08:00
pascalschumacher
b6d35656f4
StringUtils: mention in javadoc that Character#isWhitespace(char) defines which characters are considered whitespace ( closes #206 )
2016-11-18 16:57:05 +01:00
pascalschumacher
d2cc78e2dd
LANG-1287: RandomStringUtils#random can enter infinite loop if end parameter is to small
...
add changes.xml entry
2016-11-18 16:52:06 +01:00
Ivan Morozov
695342cb1c
LANG-1287: RandomStringUtils#random can enter infinite loop if end parameter is to small ( closes #211 )
...
1.) Fixed possible infinite loop that can be caused by generating either digits or letters by calling with a to low end param.
2.) Added (inclusive) and (exclusive) terms to javadoc of random method
2016-11-18 16:51:23 +01:00
Gary Gregory
b0bcf4f60a
Removing package private class no longer used now that we are on Java 7.
2016-11-17 22:37:56 -08:00
Gary Gregory
5df67bf13a
Format nit.
2016-11-17 11:49:17 -08:00
Gary Gregory
050b67d4f8
Minor formatting.
2016-11-17 11:36:51 -08:00
Gary Gregory
e6b830bf95
org.apache.commons.lang3.time.CalendarReflection is no longer needed now
...
that we are on Java 7. Deprecate for now. Might remove depending on
discussion on dev ML.
2016-11-17 11:27:53 -08:00
Gary Gregory
46c42fcdaa
Document empty block.
2016-11-17 10:02:36 -08:00
Gary Gregory
b836907ddb
When writing about the hash code, use 'hash code', the compound 'hashcode' is not a work in English. The text 'hashCode()' is left as in of course.
2016-11-17 09:57:13 -08:00
Gary Gregory
cf950e7365
Change indirect access to static members to direct access.
2016-11-16 16:48:51 -08:00
Gary Gregory
71a1c49eb3
Remove unused imports.
2016-11-16 16:47:41 -08:00
Gary Gregory
23c706ff91
Add missing '@Override' annotations.
2016-11-16 16:47:00 -08:00
Gary Gregory
c9a5e54a7c
Add final modifier to local variables.
2016-11-16 16:46:23 -08:00
Gary Gregory
0f87dceb80
Add final modifier to method parameters.
2016-11-16 16:45:53 -08:00
Gary Gregory
f015fb2b31
Add final modifier to private fields.
2016-11-16 16:45:23 -08:00
Gary Gregory
ab0570e63a
Don't need a copy of this field.
2016-11-16 16:43:33 -08:00
Gary Gregory
ec700cf69d
Don't need a copy of this field.
2016-11-16 16:41:57 -08:00
Gary Gregory
2c437a12bb
The declared exception ParseException is not actually thrown.
2016-11-16 16:28:55 -08:00
Gary Gregory
3aface9581
The declared exception ParseException is not actually thrown.
2016-11-16 16:27:19 -08:00
Gary Gregory
c0771cbc3c
Fix compiler warning: exception not thrown.
2016-11-16 16:25:54 -08:00
Gary Gregory
33c104e1b4
Javadoc: Use the active voice.
2016-11-16 16:21:05 -08:00
Gary Gregory
efdff37fba
Add missing Javadoc tags.
2016-11-16 15:35:23 -08:00
Gary Gregory
f3d2d55ab9
lvar should not hide ivar.
2016-11-16 15:32:40 -08:00
Gary Gregory
792e955673
coveralls-maven-plugin 3.1.0 -> 4.3.0.
2016-11-16 15:30:25 -08:00
pascalschumacher
8bac0be036
LANG-1285: NullPointerException in FastDateParser$TimeZoneStrategy
...
add changes.xml entry
2016-11-16 21:46:17 +01:00
Francesco Chicchiriccò
c14890f08b
LANG-1285: NullPointerException in FastDateParser$TimeZoneStrategy ( closes #212 )
...
Replicate the fix for LANG-1186
2016-11-16 21:44:41 +01:00
pascalschumacher
fd80301b1e
README.md: link to commons-lang jira, link to commons lang homepage (instead of using the general commons links)
2016-11-16 19:35:26 +01:00
pascalschumacher
0f6a292a29
LANG-1034: Add support for recursive comparison to EqualsBuilder#reflectionEquals ( closes #202 )
...
minimal clean-ups: remove getter methods, improve javadoc, add unit test for reflectionAppend
2016-11-13 18:47:41 +01:00
pascalschumacher
0095d8adf2
LANG-1034: Recursive and reflective EqualsBuilder ( closes #202 )
...
patch by yathos UG
2016-11-13 18:47:28 +01:00
pascalschumacher
9f89fd4626
LANG-740: Implementation of a Memomizer ( closes #203 )
...
changes suggested in https://github.com/apache/commons-lang/pull/80 :
- tabs to spaces
- use @Override
- remove unused variables
- other minimal clean-ups
2016-11-13 17:51:00 +01:00
jamessawle
c0c7112dcd
LANG-740: Implementation of a Memomizer ( closes #80 )
2016-11-13 17:50:22 +01:00
pascalschumacher
8d601ab712
LANG-1258: Add ArrayUtils#toStringArray(Object[], String) method (and minimal clean-up of ArrayUtils#toStringArray(Object[]))
...
add changes.xml entry
2016-11-13 17:10:20 +01:00
mildis
8d95ae4197
LANG-1258: Add ArrayUtils#toStringArray(Object[]) method
...
patch supplied by IG
2016-11-13 16:59:56 +01:00
pascalschumacher
05647d46e9
LANG-1281: Javadoc of StringUtils.ordinalIndexOf is contradictory ( closes #205 )
2016-11-06 12:19:54 +01:00
pascalschumacher
ea666d5230
LANG-1274: StrSubstitutor should state its thread safety ( closes #207 )
...
Add paragraph to class javadoc stating that StrSubstitutor is not thread safe.
2016-11-06 12:15:01 +01:00
pascalschumacher
ff4497aff8
LANG-1155: Add StringUtils#unwrap
...
add more examples and tests
fix formatting
add changes.xml entry
2016-10-31 20:03:40 +01:00
MSaifAsif
d79e43216f
LANG-1155: Add StringUtils#unwrap ( closes #107 , closes #136 )
2016-10-31 20:02:38 +01:00
pascalschumacher
a069c490e8
LANG-1143: StringUtils should use toXxxxCase(int) rather than toXxxxCase(char) ( closes #201 )
...
based on patch by Sebb
2016-10-31 13:29:36 +01:00
pascalschumacher
2dd459003e
LANG-1279: Update Java requirement from Java 6 to 7
...
SystemUtilsTest: remove code run only on java 6
2016-10-28 22:14:46 +02:00
Bruno P. Kinoshita
c37a911d3a
LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter ( closes #195 )
2016-10-28 19:33:47 +02:00
pascalschumacher
a40b2a907a
LANG-1269: Wrong name or result of StringUtils#getJaroWinklerDistance ( closes #198 )
...
deprecate StringUtils#getJaroWinklerDistance and add StringUtils#getJaroWinklerSimilarity instead
2016-10-28 19:19:22 +02:00
pascalschumacher
1e5c2b8779
fix typos in StrBuilder javadoc
2016-10-28 18:46:58 +02:00
pascalschumacher
1f73bbeb67
fix typos in Conversion javadoc
2016-10-28 18:46:37 +02:00
pascalschumacher
3f103f8c9b
remove unnecessary @SuppressWarnings("unchecked") from ObjectUtilsTest#testMode
2016-10-28 18:40:01 +02:00
pascalschumacher
4733cb5b79
LANG-1279: Update Java requirement from Java 6 to 7
...
replace usage of deprecated ObjectUtils#hashCode with Objects#hashCode
2016-10-28 18:36:51 +02:00
pascalschumacher
cfdc3f767c
LANG-1279: Update Java requirement from Java 6 to 7
...
replace usage of deprecated ObjectUtils#equals with Objects#equals
2016-10-28 18:33:40 +02:00
pascalschumacher
9b481a9701
LANG-1279: Update Java requirement from Java 6 to 7
...
replace usage of deprecated ObjectUtils#toString with Objects#toString
2016-10-28 18:27:55 +02:00