Benedikt Ritter
9e2bcbf520
Better JavaDoc for ObjectUtils.anyNotNull and ObjectUtils.allNotNull
2016-09-11 15:25:43 +02:00
Benedikt Ritter
0bdeb204c8
Better JavaDoc for ArrayUtils.shift variants
2016-09-11 15:22:14 +02:00
Benedikt Ritter
ff8fd9578e
Correct indent of method declaration
2016-09-11 15:14:24 +02:00
Benedikt Ritter
cf6b6d8eb1
Better JavaDoc for ArrayUtils.swap variants
2016-09-11 15:13:18 +02:00
Benedikt Ritter
5b5b374de3
Add and correct @since tag for swap and shift methods introduced in 3.5
2016-09-11 15:01:03 +02:00
Benedikt Ritter
ee6f3fa7a6
Better JavaDoc for removeAllOccurences variants
2016-09-11 14:53:32 +02:00
Benedikt Ritter
5ceb5f5721
Remove trailing whitespaces
2016-09-11 14:49:45 +02:00
Benedikt Ritter
f83e93685b
Revert "[LANG-1227] Add XMLCharacter class."
...
This reverts commit dd5a0e6e1e
.
2016-09-11 14:39:14 +02:00
Benedikt Ritter
716f140d46
Correct issue number for LANG-1120 in changes.xml
2016-09-11 14:35:35 +02:00
Benedikt Ritter
8d682a6aa3
Revert "[LANG-1201] Add a TimeUnit-like classes for base 2 and base 10 digital"
...
This reverts commit 04e52eb615
.
2016-09-11 14:28:25 +02:00
Benedikt Ritter
0b11c60434
The behavior for empty arrays is documented in the @return JavaDoc
...
tag of the method documentation.
2016-09-11 14:06:04 +02:00
Rob Tompkins
71d9e00d42
LANG-1252: Few more checkstyle warnings: whitespace, line length
2016-09-10 21:43:19 -04:00
Rob Tompkins
a2d41db55a
LANG-1252: Cleaning up checkstyle warnings: whitespace, line length
2016-09-10 21:41:33 -04:00
Rob Tompkins
0a0a35f54f
LANG-1252: updates to package-info, adding name to pom.xml
2016-09-10 21:07:42 -04:00
Rob Tompkins
c503d742f0
LANG-1252: better naming and java 6 specifics around handling a leading +
2016-09-10 21:01:08 -04:00
Sungju Kwon
2d61e349db
Fix ReflectionToStringBuilder toString javadoc
...
- as is
* @param outputStatics
* whether to include transient fields
- to be
* @param outputStatics
* whether to include static fields
2016-09-07 14:26:18 +09:00
pascalschumacher
1f56bd103d
LANG-1261: ArrayUtils#contains and ArrayUtils#indexOf should compare objects with different types
2016-08-30 22:00:37 +02:00
pascalschumacher
c7c85ee398
LANG-1262: CompareToBuilder.append(Object, Object, Comparator) method is too big to be inlined
...
Extracted arrays processing into a separate method.
2016-08-30 21:53:54 +02:00
pascalschumacher
f30c4607a2
add changes.xml entry for LANG-1230
2016-08-21 19:18:11 +02:00
Philippe Marschall
b2c1afce7e
LANG-1230: Remove unnecessary synchronization from registry lookup in EqualsBuilder and HashCodeBuilder ( closes #143 )
2016-08-21 19:14:28 +02:00
pascalschumacher
a06c99b9c0
LANG-1224: Extend RandomStringUtils with methods that generate strings between a min and max length
...
add missing since javadoc tags
2016-08-21 15:50:31 +02:00
Caleb Cushing
ec2fa6bd56
LANG-1224: Extend RandomStringUtils with methods that generate strings between a min and max length ( closes #101 , closes #157 )
2016-08-21 14:01:04 +02:00
pascalschumacher
1169aac7a1
LANG-1214: add changes.xml entry
2016-08-21 13:18:03 +02:00
Henry Tung
fbb5d31a58
LANG-1214: Handle "void" in ClassUtils.getClass() ( closes #155 )
...
getClass() previously deferred to an array type to get the class,
but this fails for void, which lacks an array type.
Instead, map explicitly from primitive name to primitive class.
2016-08-21 13:16:11 +02:00
pascalschumacher
e05b50e1da
LANG-1250: add changes.xml entry
...
(side-effects: close #177 , close #178 )
2016-08-20 13:40:42 +02:00
Glease
e4b7ee81c1
LANG-1250: SerializationUtils::deserialize has unnecessary code and a comment for that ( closes #174 )
...
There is no real CCE possible, even the javadoc say so. Github's blame showed the code and javadoc is written by two indiviual person in two different years, so that may be the cause.
2016-08-20 13:35:55 +02:00
Benedikt Ritter
4a26a86d0c
LANG-1259: JavaDoc for ArrayUtils.isNotEmpty() is slightly misleading. Thanks to Dominik Stadler.
2016-08-19 09:49:51 +02:00
Gary Gregory
eaa9269ac8
[LANG-1257] StringUtils.wrapIfMissing(String, char|String)
2016-08-16 08:22:32 -07:00
Gary Gregory
648eebba22
Format nit.
2016-08-11 18:12:39 -07:00
pascalschumacher
13cd4e0ac3
LANG-1190: TypeUtils.isAssignable throws NullPointerException when fromType has type variables and toType generic superclass specifies type variable ( closes #158 )
2016-07-31 20:02:38 +02:00
pascalschumacher
7e85d1cf54
LANG-1226: StringUtils#normalizeSpace does not trim the string anymore ( closes #150 )
2016-07-31 19:57:50 +02:00
pascalschumacher
ed14537b80
LANG-1251: SerializationUtils.ClassLoaderAwareObjectInputStream should use static initializer to initialize primitiveTypes map
...
add changes.xml entry
2016-07-31 19:49:16 +02:00
Takuya UESHIN
aa31bc6c31
LANG-1251: SerializationUtils.ClassLoaderAwareObjectInputStream should use static initializer to initialize primitiveTypes map ( closes #180 )
...
Modify to use static initializer to initialize primitiveTypes map.
2016-07-31 19:48:53 +02:00
pascalschumacher
0223a4d4cd
reorganize test classes for StringUtils to make it clearer were tests for a method are located
2016-07-31 19:20:54 +02:00
pascalschumacher
009e33bb5d
delete StringUtilsTest#testIsEmpty, #testIsNotEmpty, #testIsBlank and #testIsNotBlank, because these tests are redundant with StringUtilsTrimEmptyTest#testIsEmpty, #testIsNotEmpty, #testIsBlank and #testIsNotBlank ( closes #175 , closes #176 )
2016-07-31 18:50:48 +02:00
Gary Gregory
1a1fc65b04
[LANG-1253][GitHub issue #170 ] Add RandomUtils#nextBoolean() method.
...
Closes #170 .
2016-07-28 22:44:10 -07:00
Gary Gregory
697329630f
Merge branch 'master' of
...
https://git-wip-us.apache.org/repos/asf/commons-lang.git
Conflicts:
src/changes/changes.xml
2016-07-28 22:43:48 -07:00
Gary Gregory
3899cc6570
[LANG-1253][GitHub issue #170 ] Add RandomUtils#nextBoolean() method.
...
Closes #170 .
2016-07-28 22:41:40 -07:00
marko-bekhta
0fe9685c8a
LANG-1023
...
WordUtils.wrap: Customizable breakable characters (not just space/whitespace)
changed wrap method to use regex pattern to find breakable characters rather than only spaces. added a few basic tests for "regex wrap"
2016-07-27 06:21:32 +02:00
Chas Honton
bd9adbb637
LANG-1248: FastDatePrinter Memory allocation regression
...
closes #169
2016-07-16 19:27:37 -07:00
ggregory
1d1883f0e2
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang.git
2016-07-06 14:11:13 -07:00
ggregory
5b98a73e4d
@inheritDoc does not work in @see.
2016-07-06 14:10:44 -07:00
Sebb
ce0c082898
Avoid deprecation message by inlining the deprecated method code body
2016-07-05 21:55:48 +01:00
Chas Honton
caaf97ed88
LANG-1247: FastDatePrinter generates Date objects wastefully
...
closes #168
2016-07-05 13:42:55 -07:00
Lorenzo Bragaglia
d83f5248a6
Fix typo in toMap javadoc
2016-06-24 12:23:32 +02:00
uvegla
8d3f3b60fa
Fix typo in documentation of Range#isEndedBy ( closes #166 )
2016-06-16 22:58:00 +02:00
Chas Honton
10ebb32ce1
LANG-1245: resurrect applyRules(java.util.Calendar, java.lang.StringBuffer) for binary compatibility
2016-06-14 21:05:53 -07:00
Chas Honton
6f318c10aa
update javadoc for DateParser and DatePrinter
2016-06-13 21:17:26 -07:00
pascalschumacher
d2fb3b0865
LANG-1018: add changes.xml entry
...
add test for LANG-1187: Method createNumber from NumberUtils doesn't work for floating point numbers other than Float (fixed by LANG-1018)
add test for LANG-1215: NumberUtils.createNumber() method lost precision sometimes (fixed by LANG-1018)
side-effects: close #9 , close #7 , close #93
2016-06-12 13:25:42 +02:00
Nick Manley
8d6bc0ca62
LANG-1018: Fix precision loss on NumberUtils.createNumber(String) ( closes #156 )
2016-06-12 13:23:55 +02:00
Sebb
7fd021d82f
LANG-1241 StringUtils.ordinalIndexOf broken
...
Show that the method is no longer broken, now that LANG-1077 has been
reverted
2016-06-10 11:53:24 +01:00
pascalschumacher
f08c4f6ae9
LANG-1229: add changes.xml entry
2016-06-08 22:28:19 +02:00
Philippe Marschall
18b1bc203b
LANG-1229: HashCodeBuilder.append(Object,Object) is too big to be inlined, which prevents whole builder to be scalarized ( closes #142 )
2016-06-08 22:27:58 +02:00
pascalschumacher
9bd439b4e0
LANG-1229: Performance regression due to cyclic hashCode guard
...
To fix this issues revert the unreleased "LANG-456: HashCodeBuilder throws StackOverflowError in bidirectional navigable".
This reverts commit b5749b4f54
.
2016-06-08 22:21:41 +02:00
pascalschumacher
528f6e8e70
LANG-1085: Add a circuit breaker implementation
...
add since javadoc tags
fix javadoc warning
2016-06-08 22:15:13 +02:00
August Shi
c049aeeffd
Fixing testTSVEmpty to use getTSVInstance instead of getCSVInstance ( closes #164 )
2016-06-08 07:36:36 +02:00
pascalschumacher
de88730f4b
LANG-1085: add changes.xml entry
2016-06-07 22:22:40 +02:00
oheger
89eea1e72b
LANG-1085: Add a circuit breaker implementation ( closes #95 )
...
Squashed commit of the following:
commit 1b12db706b457408562a166c21bc6470a8064620
Merge: edebd97 def7832
Author: Oliver Heger <oliver.heger@oliver-heger.de>
Date: Wed Jun 10 21:27:17 2015 +0200
Merge pull request #1 from kinow/patch1
This commit:
commit def78320c5efcb734572c5b48623a952e3c94c75
Author: Bruno P. Kinoshita <brunodepaulak@yahoo.com.br>
Date: Wed Jun 10 22:57:33 2015 +1200
This commit:
* fixes JavaDocs warnings in Checkstyle
* adds license headers
* renames the MemoryCircuitBreaker to ThresholdCircuitBreaker
* adds more tests to have a good coverage
commit edebd970582ce2984258352c8482bcb51587f7d2
Author: oheger <oliver.heger@oliver-heger.de>
Date: Tue Jun 9 22:11:11 2015 +0200
Documentation updates for EventCountCircuitBreaker.
commit 3d8a4ff85a78173dd8f5437d9b4d931069128e20
Author: oheger <oliver.heger@oliver-heger.de>
Date: Tue Jun 9 21:55:02 2015 +0200
Renamed TimedCircuitBreaker to EventCountCircuitBreaker.
This name seems to be more appropriate as the main property of this circuit
breaker implementation is that it counts specific events and changes its state
when a certain threshold is reached.
commit 0e4ce5a984ef699ddace61bbf430d695b011c6b5
Author: oheger <oliver.heger@oliver-heger.de>
Date: Tue Jun 9 21:51:22 2015 +0200
Added documentation for CircuitBreaker interface.
commit 0e6b22190ef1868655fec9b3814a2345ad206f76
Author: oheger <oliver.heger@oliver-heger.de>
Date: Mon Jun 8 22:27:05 2015 +0200
Initial import of CircuitBreaker classes.
2016-06-07 22:22:40 +02:00
ggregory
6c687c70a1
Remove unnecessary else.
2016-06-05 16:47:19 -07:00
pascalschumacher
6838ba3206
LANG-1013: add changes.xml entry
2016-06-05 21:25:41 +02:00
Thiago Andrade
c6fac966ab
LANG-1013: Add StringUtils.truncate() ( closes #137 )
2016-06-05 21:25:18 +02:00
pascalschumacher
de0819cb86
LANG-1195: add changes.xml entry
2016-06-05 20:47:18 +02:00
Derek Ashmore
5fef957564
LANG-1195: Enhance MethodUtils to allow invocation of private methods ( closes #141 )
2016-06-05 20:42:52 +02:00
pascalschumacher
078e512e6c
Add missing Apache license headers to ".travis.yml", "ReflectionToStringBuilderTest.java" and "NotVisibleExceptionFactory.java" files.
2016-06-05 19:50:27 +02:00
pascalschumacher
c35a041022
LANG-1199: Fix implementation of StringUtils.getJaroWinklerDistance()
...
Replace current implementation with Jaro-Winkler distance implementation taken from Apache Lucene.
2016-06-05 17:39:12 +02:00
pascalschumacher
43a9bab8c0
Validate: fix javadoc warnings relate to see tags
2016-06-03 17:59:32 +02:00
pascalschumacher
3e3ac124f8
ArrayUtils#shift: remove duplicated param tag for offset in javadoc
2016-06-03 17:48:02 +02:00
pascalschumacher
03a2ab275b
LANG-1244: Fix dead links in StringUtils.getLevenshteinDistance() javadoc
2016-06-03 17:42:46 +02:00
pascalschumacher
9010f2ec84
LANG-1189: Add getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGet/addAndGet in Mutable* classes
...
add since javadoc tags
2016-06-03 17:21:58 +02:00
Eric Wannemacher
faeaa303b9
NumberUtils#withDecimalsParsing: Eliminate redundant calculation of isDecimalPoint. ( closes #160 )
2016-06-03 17:07:40 +02:00
pascalschumacher
c979d63934
LANG-1242: add changes.xml entry
2016-06-02 22:15:22 +02:00
Neal Stewart
8ef8e2a7a5
LANG-1242: "\u2284":"⊄" mapping missing from EntityArrays#HTML40_EXTENDED_ESCAPE ( closes #159 )
...
Fix commented out nsub in EntityArray
2016-06-02 22:12:01 +02:00
Sebb
844b2901fe
LANG-1243 Simplify ArrayUtils removeElements by using new
...
decrementAndGet() method
2016-06-02 12:02:08 +01:00
Sebb
e474263669
LANG-1189 Add
...
getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGet/addAndGet
in Mutable* classes
2016-06-02 11:46:11 +01:00
pascalschumacher
17d6f2163d
LANG-1240: add changes.xml entry
2016-05-30 22:23:33 +02:00
zhanhb
84d52919ec
LANG-1240: Optimize BitField constructor implementation ( closes #119 )
2016-05-30 22:23:14 +02:00
pascalschumacher
afedbae8ac
LANG-1206: Improve CharSetUtils.squeeze() performance ( closes #147 )
...
patch by Mohammed Alfallaj
2016-05-29 17:05:23 +02:00
pascalschumacher
f26f04dc6e
LANG-1225: Add RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression class
...
improve javadoc
add changes.xml entry
2016-05-29 09:54:23 +02:00
Caleb Cushing
1a002c67f2
LANG-1225: Add RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression class
...
These are useful over randomAscii because they do not contain the DEL character but otherwise contain the full range of ASCII printing characters, and optionally include whitespace. This is useful for testing user defined inputs where characters like spaces, angle brakets, semicolons, dashes, etc. can cause issues.
2016-05-29 09:39:09 +02:00
Sebb
9625891a7b
Avoid serialisation warning
2016-05-28 13:43:46 +01:00
Sebb
17e6548811
Fix compiler type warning
2016-05-28 13:42:32 +01:00
pascalschumacher
9bc992b133
LANG-901: StringUtils#startsWithAny/endsWithAny is case sensitive - documented as case insensitive ( closes #149 )
...
Improve the documentation and introduce more test cases that verify the documented behaviors.
Patch by Matthew Bartenschlag
2016-05-27 17:51:20 +02:00
pascalschumacher
2244ed9d63
LANG-1223: Add StopWatch#getTime(TimeUnit)
...
add since java doc tag and changes.xml entry
2016-05-27 17:13:03 +02:00
Nick Manley
fd59e545f4
LANG-1223: Add StopWatch#getTime(TimeUnit) ( closes #152 )
2016-05-27 17:08:42 +02:00
pascalschumacher
5d2728f655
LANG-781: add javadoc examples and since tags; add changes.xml entry
2016-05-26 20:16:27 +02:00
Krzysztof Wolny
d190655a97
LANG-781: Added methods to ObjectUtils class to check for null elements in the array ( closes #108 )
2016-05-26 19:35:58 +02:00
pascalschumacher
2433cd393e
improve ExceptionUtils#getCause @deprecated javadoc
2016-05-24 20:26:41 +02:00
pascalschumacher
7f1b880433
LANG-1228: Add changes.xml entry
2016-05-24 20:16:10 +02:00
Bradley Hess
864721d54b
[LANG-1228] Prefer Throwable.getCause() in ExceptionUtils.getCause() ( closes #139 )
2016-05-24 20:13:39 +02:00
pascalschumacher
c36de7a60f
LANG-1233: add changes.xml entry
2016-05-22 19:38:22 +02:00
Nick Manley
5845a59289
LANG-1233: DiffBuilder add method to allow appending from a DiffResult ( closes #122 , closes #151 )
...
Update javadoc for DiffBuilder#append(String, DiffResult)
2016-05-22 19:33:40 +02:00
pascalschumacher
34a5e7fa91
fix generics and rawtypes warnings in MethodUtilsTest
2016-05-22 18:20:39 +02:00
pascalschumacher
3eddcccba7
fix deprecation warning in ConstructorUtilsTest by using Assert#assertArrayEquals instead of Assert#assertEquals to compare arrays
2016-05-22 18:13:50 +02:00
pascalschumacher
5b223744b4
LANG-1176: Improve ArrayUtils removeElements time complexity to O(n) ( closes #144 )
...
based on patch submitted by Jeffery Yuan
2016-05-22 17:23:46 +02:00
Nick Manley
f8b1f6e745
Add method to DiffBuilder to allow appending from a DiffResult.
2016-05-22 10:30:39 +02:00
pascalschumacher
49455b78bf
LANG-1234: add changes.xml entry
2016-05-21 16:50:10 +02:00
Jonatan Jönsson
04b41e2c97
LANG-1234: getLevenshteinDistance with a threshold: optimize implementation if the strings lengths differ more than the threshold ( closes #118 )
...
If the string lengths differ more than the threshold, there's no need for the algorithm to begin allocating arrays etc.
2016-05-21 16:47:59 +02:00
ggregory
031f6b082f
[LANG-1168] Add SystemUtils.IS_OS_WINDOWS_10 property.
2016-05-20 10:24:35 -07:00
pascalschumacher
eccf213204
LANG-787: Add StringUtils#removeIgnoreCase
...
Patch by Gokul Nanthakumar C
2016-05-20 18:59:00 +02:00
pascalschumacher
1e4a490677
LANG-1232: make javadoc tag order consistent with the rest of the DiffBuilder javadoc
2016-05-19 19:59:41 +02:00
pascalschumacher
0343777db9
LANG-1232: add changes.xml entry
2016-05-19 19:52:42 +02:00
Nick Manley
b212aa3c6f
LANG-1232: DiffBuilder: Add null check on fieldName when appending Object or Object[] ( closes #122 ).
2016-05-19 19:51:51 +02:00
pascalschumacher
f02261849e
LANG-1178: add changes.xml entry
2016-05-12 19:48:38 +02:00
Henri Yandell
5eae0a6464
LANG-1178: ArrayUtils.removeAll(Object array, int... indices) should do the clone, not its callers ( closes #116 )
2016-05-12 19:43:31 +02:00
pascalschumacher
28f7862ab7
LANG-1151: add changes.xml entry
...
(side effect close #140 )
2016-05-11 21:48:40 +02:00
Juan Pablo Santos Rodríguez
54ff33b2ad
LANG-1151: Performance improvements for NumberUtils.isParsable ( closes #99 )
...
~2.5x performance increase wrt 3.4 version; added a couple checks more to unit tests
2016-05-11 21:43:36 +02:00
pascalschumacher
ec8bf5281b
LANG-1227: add changes.xml entry
2016-05-10 21:20:38 +02:00
kaching88
a0b798c27a
LANG-1120: StringUtils.stripAccents should remove accents from "Ł" and "ł" ( closes #105 ).
2016-05-10 21:18:10 +02:00
ggregory
dd5a0e6e1e
[LANG-1227] Add XMLCharacter class.
2016-05-09 00:31:06 -07:00
ggregory
bbd1dc3439
[LANG-1218] EqualsBuilder.append(Object,Object) is too big to be
...
inlined, which prevents whole builder to be scalarized. Closes #138 .
2016-05-08 09:34:34 -07:00
Casey Scarborough
2b52dedd56
Add tests for missed branches in StringUtils ( closes #135 )
...
Side effect: close pull requests which have been merged, but have not been closed due to missing commit comments (close #115 , close #120 , close #128 , close #130 ).
2016-05-08 14:22:21 +02:00
Casey Scarborough
8acb1d2b42
Fix various Javadoc typos ( closes #134 )
2016-05-08 12:50:48 +02:00
Chas Honton
b877fb9abe
LANG-1205: NumberUtils.createNumber() behaves inconsistently with NumberUtils.isNumber()
...
This closes github #87 thanks to pbrose
2016-04-23 20:35:15 -07:00
Chas Honton
5e62bf80f3
LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and MethodUtils
...
This closes #89 from github.
2016-04-23 20:22:08 -07:00
Chas Honton
77d187eefc
LANG-1134: New methods for lang3.Validate
...
This closes #87 from github.
2016-04-23 18:28:49 -07:00
Bruno P. Kinoshita
2e3fa5c253
LANG-1222: add changes.xml entry. This closes #125 from github. Thanks to Adam J.
2016-04-24 13:17:58 +12:00
Bruno P. Kinoshita
5457345ac9
LANG-1221: add changes.xml entry. This closes #129 from github. Thanks to Pierre Templier
2016-04-24 13:11:07 +12:00
Bruno P. Kinoshita
6e98538200
LANG-1220: add changes.xml entry. This closes #133 from github. Thanks to Casey Scarborough
2016-04-24 13:03:39 +12:00
Casey Scarborough
fac65b868c
LANG-1220: Add tests for missed branches in DateUtils
2016-04-24 12:54:25 +12:00
Chas Honton
c99a787752
LANG-1202: parseDateStrictly does't pass specified locale
2016-04-23 17:44:48 -07:00
Chas Honton
ac1c341558
clean up javadoc; fix complaints from maven-javadoc-plugin
2016-04-23 17:31:14 -07:00
Chas Honton
3c92830ec5
LANG-1219: FastDateFormat doesn't respect summer daylight in some localized strings
2016-04-23 13:02:59 -07:00
ggregory
e830027629
Formating.
2016-04-19 17:56:16 -07:00
ggregory
c158713b66
Add tests with a better comparator from #132 . Fix formating.
2016-04-19 17:55:42 -07:00
ggregory
3f796bf746
Add tests with a better comparator. Closes #132
2016-04-19 17:54:04 -07:00
ggregory
833885c29d
Applied Javadoc patch and added new test per
...
https://github.com/apache/commons-lang/pull/115
2016-04-13 14:13:24 -07:00
ggregory
ff902c1561
Formatting fixes per
...
https://patch-diff.githubusercontent.com/raw/apache/commons-lang/pull/128.diff
2016-04-13 14:09:58 -07:00
ggregory
15b80753a6
Reuse
2016-04-13 13:57:35 -07:00
ggregory
a6d27fd89d
Fix Javadoc typo.
2016-04-13 12:26:24 -07:00
ggregory
af81f78543
Javadoc fix.
2016-04-09 19:41:23 -07:00
ggregory
a1cde6ab70
[LANG-1201] Add a TimeUnit-like classes for base 2 and base 10 digital
...
conversions (bits, bytes, KB, MB, and so on). Forgot to commit those.
2016-03-14 09:31:03 -07:00
ggregory
04e52eb615
[LANG-1201] Add a TimeUnit-like classes for base 2 and base 10 digital
...
conversions (bits, bytes, KB, MB, and so on).
2016-03-13 19:54:32 -07:00
ggregory
7642423cfa
[LANG-1146] z/OS identification in SystemUtils. Simplest implementation.
2016-03-12 21:48:27 -08:00
ggregory
3e05553510
Fix typo on appendIfMissing Javadoc.
...
https://github.com/apache/commons-lang/pull/129
2016-03-09 09:39:20 -08:00
ggregory
cd63fed74c
Javadoc fixes from https://github.com/apache/commons-lang/pull/125
2016-03-02 00:52:42 -08:00
ggregory
ac78ec294e
[LANG-1210] StringUtils#startsWithAny has error in Javadoc.
2016-02-29 18:43:00 -08:00
ggregory
d1a3255600
[LANG-1211] Fix Javadoc for StringUtils.startsWithAny(CharSequence,
...
CharSequence...)
2016-02-29 18:17:57 -08:00
Hen
59c28bb25f
Merge branch '124-branch'
...
Conflicts:
src/changes/changes.xml
LANG-1208: StrSubstitutor can preserve escapes
This closes #124 from github. Thanks to Samuel Karp.
2016-02-25 21:17:53 -08:00
Hen
8e17410e8e
Adding changes for LANG-1208
2016-02-25 21:16:38 -08:00
Hen
56e52fe4cb
newline pain, despite having run the config line
2016-02-25 21:15:13 -08:00
Hen
242e1f5498
Merge branch '112-branch'
...
Conflicts:
src/changes/changes.xml
LANG-1175: Remove Ant-based build
This closes #112 from github. Thanks to wikier@.
2016-02-25 20:58:23 -08:00
Hen
69e97c8b42
Fixing crlfs
2016-02-25 20:52:13 -08:00
Samuel Karp
e55aaa5706
StrSubstitutor can preserve escapes
...
StrSubstitutor can now optionally preserve the escape character for an
escaped reference, which is useful when substitution takes place in
multiple phases and some references are intentionally unresolved. Prior
to this change, an unresolved reference `${a}` and an escaped reference
`$${a}` may result in the same string `${a}`, making it impossible for
an additional substitution phase to distinguish between escaped
references and non-escaped references.
2016-02-25 17:02:56 -08:00
ggregory
a72a5ced53
Format.
2016-02-24 22:14:50 -08:00
ggregory
f3a7cf629c
Format.
2016-02-24 22:11:59 -08:00
ggregory
bcc7c0c858
Format.
2016-02-24 22:11:36 -08:00
ggregory
5e5ba1b812
Statement unnecessarily nested within else clause.
2016-02-24 22:08:37 -08:00
ggregory
b2ec67b54a
Javadoc: Active voice.
2016-02-24 22:07:20 -08:00
ggregory
4ceba11305
Statement unnecessarily nested within else clause.\
2016-02-24 22:06:36 -08:00
ggregory
2b15e1f43d
Format nit.
2016-02-24 13:44:31 -08:00
ggregory
63374a1813
Statement unnecessarily nested within else clause.
2016-02-24 13:44:16 -08:00
ggregory
ddcf6aa50b
Statement unnecessarily nested within else clause.
2016-02-24 13:42:45 -08:00
Emmanuel Bourg
0432e83a42
Registered the merged contribution from Jake Wang in changes.xml ( Fix #123 )
2016-02-01 08:52:36 +01:00
Jake Wang
28555d4c6d
Updated @since tag for IS_OS_MAC_OSX_EL_CAPITAN property
2016-02-01 08:48:07 +01:00
Jake Wang
c202aa8cec
Added new property IS_OS_MAC_OSX_EL_CAPITAN in SystemUtils
2016-02-01 08:48:07 +01:00
Emmanuel Bourg
3b204c071f
CRLF -> LF
2016-02-01 08:41:58 +01:00
ggregory
3af7d0dace
[LANG-1191] Incorrect Javadoc StringUtils.containsAny(CharSequence,
...
CharSequence...).
2016-01-26 10:51:27 -08:00
ggregory
04a5d83aec
Add sanity check test.
2016-01-26 10:47:30 -08:00
Benedikt Ritter
8bb3526317
Revert "Allocate array of the correct size"
...
This reverts commit 60b32953a9
.
Following the advices from http://shipilev.net/blog/2016/arrays-wisdom-ancients/
this seems to be faster and safer on current VMs.
2016-01-19 08:07:51 +01:00
ggregory
69d4bf883c
Simplify, less clutter.
2016-01-16 14:37:38 -08:00
ggregory
bb76a6848b
Revert "Simplify, less clutter."
...
This reverts commit 18f5f54ca0
.
2016-01-16 14:36:50 -08:00
ggregory
18f5f54ca0
Simplify, less clutter.
2016-01-15 16:33:07 -08:00
ggregory
4d4e0b0481
[LANG-1200][GitHub PR] modify note at line 1230 #120
2016-01-14 14:10:23 -08:00
Chas Honton
afc942c7b2
LANG-1192: FastDateFormat support of the week-year component (uppercase 'Y')
2015-12-25 12:44:12 -08:00
Chas Honton
39ed92fff7
LANG-1194: Travis-ci build fails occasionally with Killed message
2015-12-25 12:36:47 -08:00
Chas Honton
c8cc651651
Merge branch 'master' of https://github.com/NickManley/commons-lang
...
This closes #117
LANG-1186 Fix NullPointerException in FastDateParser$TimeZoneStrategy
2015-12-17 07:46:44 -08:00
Chas Honton
1002c9e243
revert LANG-1192 while investigating travis failures
2015-12-17 06:52:42 -08:00
Chas Honton
2fa0b168d6
LANG-1192: FastDateFormat support of the week-year component (uppercase 'Y')
2015-12-13 16:38:35 -08:00
Chas Honton
2ebf9a21d2
LANG-1192 partial: implement format 'u' for FastDateFormat, day number of week
2015-12-11 20:36:22 -08:00
Sebb
bfcdeeaf44
More Javadoc and tests
2015-12-11 23:10:32 +00:00
Sebb
a5ad80d754
Revert update of change history for 3.4
2015-12-11 13:57:19 +00:00
Sebb
d75fe46b8f
LANG-1193 ordinalIndexOf("abc", "ab", 1) gives incorrect answer of -1
...
(correct answer should be 0)
Revert LANG-1077
2015-12-11 13:41:22 +00:00
Nick Manley
5556026ed1
Fix NullPointerException in FastDateParser$TimeZoneStrategy
2015-11-19 23:24:05 -06:00
Benedikt Ritter
7f0d6b4c12
Add LANG-1182 to changes.xml
2015-11-16 20:16:42 +01:00
Pascal Schumacher
1260e09d6f
LANG-1182: adding clarifying examples to StringUtils#containsAny javadoc
...
as suggested by Larry West in https://issues.apache.org/jira/browse/LANG-1182
2015-11-08 22:44:07 +01:00
Loic Guibert
481137553f
Merge branch 'fix-LANG-1169'
...
LANG-1169: Add StringUtils methods to compare a string to multiple strings
This closes #109 from github.
Thanks to Arman Sharif for providing a patch.
Thanks to Rafal Glowinski for providing an alternative implementations, see LANG-704.
Thanks to Robert Parr for providing an alternative implementations, see LANG-704.
Conflicts:
src/changes/changes.xml
2015-11-06 16:21:32 +04:00
Loic Guibert
2c790ccc31
Add LANG-1169 to changes.xml
2015-11-06 16:13:57 +04:00
Loic Guibert
a06f83a762
LANG-1169 Add some other unit tests
2015-11-06 16:13:13 +04:00
Loic Guibert
a5650a1671
Add LANG-1185 to changes.xml
2015-11-05 17:18:58 +04:00
Loic Guibert
242b815437
LANG-1185 Add some tests for StringUtils replaceAll and replaceFirst methods
2015-11-05 17:17:20 +04:00
Loic Guibert
b4842f559f
LANG-1185 Add remove by regular expression methods in StringUtils :
...
- String StringUtils.removeAll(String text, String regex);
- String StringUtils.removeFirst(String text, String regex);
2015-11-05 17:14:11 +04:00
Sebb
94184ce383
Ignore deprecations in test code
2015-11-03 10:20:28 +00:00
Arman Sharif
3a68fe8b7e
LANG-1169 Added equalsAny() and equalsAnyIgnoreCase() methods to StringUtils.
2015-11-02 09:47:08 -08:00
Loic Guibert
47c1862989
Add LANG-1183 to changes.xml
2015-11-02 09:16:54 +04:00
Loic Guibert
b1762bd557
LANG-1183 Making replacePattern/removePattern methods null safe in StringUtils
2015-11-02 09:14:22 +04:00
Loic Guibert
56f0e1053c
StringUtils: remove unused import
2015-11-02 09:07:00 +04:00
Loic Guibert
a6addf94e5
Merge branch 'fix-LANG-1139'
...
LANG-1139: Add replace by regular expression methods in StringUtils
This closes #92 from github.
2015-10-27 08:07:09 +04:00
Loic Guibert
849578d3a8
Merge branch 'fix-LANG-1171'
...
LANG-1171: Add compare methods in StringUtils
This closes #110 from github.
2015-10-23 21:53:32 +04:00
Loic Guibert
51512905c3
LANG-1171 Remove log of excluded methods in StringUtilsTest.testStringUtilsCharSequenceContract()
2015-10-21 15:15:06 +04:00
Loic Guibert
131917a0d3
LANG-1171 Exclude methods from StringUtilsTest.testStringUtilsCharSequenceContract() :
...
- StringUtils.compare(String str1, String str2);
- StringUtils.compare(String str1, String str2, boolean nullIsLess);
- StringUtils.compareIgnoreCase(String str1, String str2);
- StringUtils.compareIgnoreCase(String str1, String str2, boolean nullIsLess);
2015-10-20 18:50:13 +04:00
Sergio Fernández
c7860091a7
LANG-1175: removed more files from the assembly conf
2015-10-20 08:37:50 +02:00
Sergio Fernández
8bdfc71491
LANG-1175: removed additional files
2015-10-19 21:39:46 +02:00
Sergio Fernández
1dbdbfc3fa
LANG-1175: fixed typo on changes
2015-10-19 21:38:18 +02:00
Benedikt Ritter
fd595d7475
Fix typo
2015-10-19 20:35:29 +02:00
Sergio Fernández
c3e250abb3
LANG-1175: removed ant-based build
2015-10-19 16:44:42 +02:00
Benedikt Ritter
c9cae602ec
Merge branch 'LANG-1174'
...
LANG-1174: Add sugar to RandomUtils.
This closes 111 from github. Thanks to github user Punkratz312.
2015-10-17 11:12:19 +02:00
Benedikt Ritter
19f9893de0
Add LANG-1174 to changes.xml
2015-10-17 11:12:07 +02:00
Benedikt Ritter
69383a2bab
Better JavaDoc
2015-10-17 11:10:54 +02:00
Michael Osipov
6d3796e64b
LANG-1002: Several predefined ISO FastDateFormats in DateFormatUtils are incorrect
...
Since the naming template is ISO <ID>, new constants have been renamed to ISO_8601_...
Additionally, the constants represent the extended format. That should be reflected
in their names.
2015-10-14 12:46:08 +02:00
Vincent Potucek
31466db6ec
Add sugar to RandomIUtils
2015-10-12 09:47:40 +02:00