Benedikt Ritter
0611710c61
allowDuplicates will always be false at that point
2015-05-12 08:29:10 +02:00
Matthew Aguirre
a48071b0d4
Added new addListener() method that takes a boolean for if duplicates are allowed.
...
Added test method to make sure that duplicate listeners are not added.
2015-05-11 13:22:50 -04:00
Chas Honton
71d7c32642
LANG-1133 FastDateParser_TimeZoneStrategyTest#testTimeZoneStrategyPattern fails on Windows with German Locale
...
reimplementing LANG-1107
2015-05-09 16:46:22 -07:00
Benedikt Ritter
9604c85306
Merge branch 'LANG-1135'
...
LANG-1135: Add method containsAllWords to WordUtils. Thanks to Eduardo Martins.
2015-05-07 21:28:25 +02:00
Benedikt Ritter
dee94449e6
Merge branch 'LANG-1132'
...
LANG-1132: ReflectionToStringBuilder doesn't throw IllegalArgumentException when
the constructor's object param is null. Thanks to Jack Tan.
2015-05-07 20:44:47 +02:00
Benedikt Ritter
13d7ce9fb6
Merge branch 'LANG-1122'
...
LANG-1122: Inconsistent behavior of swap for malformed inputs. Thanks
to Adrian Ber.
2015-05-07 20:31:49 +02:00
Benedikt Ritter
48d142dc3b
Merge branch 'remove_ThreadUtils_compiler_warnings'
...
Remove compiler warnings from ThreadUtils. Thanks to Pascal Schuhmacher.
2015-05-07 20:02:28 +02:00
Benedikt Ritter
a2c09f81f4
Fix wrong JavaDoc parameter name
2015-05-07 19:45:30 +02:00
Eduardo Martins
633ce60496
Always return false to contains a null word
2015-05-07 14:17:28 -03:00
Benedikt Ritter
14c2afcd63
Make doclint happy
2015-05-07 18:01:41 +02:00
Benedikt Ritter
507451866c
Remove redundant qualifiers
2015-05-07 18:01:04 +02:00
Benedikt Ritter
405bde36c4
Clarify behavior for chars in the input char array which are not next to each other in the CharSequence to search
2015-05-07 17:50:24 +02:00
Benedikt Ritter
636a514840
Clarify behavior for chars that are not next to each other in the supplied search CharSequence
2015-05-07 17:48:32 +02:00
Benedikt Ritter
adc6bc4104
Clarify behavior of containsAny for null entries in the supplied CharSequence array
2015-05-07 17:47:20 +02:00
beradrian
e79a590e0c
new test case
...
explanations about algorithm
2015-05-07 11:31:28 +03:00
beradrian
5b7608d154
consistent treatment for negative indices for swap method
2015-05-07 09:50:41 +03:00
Pascal Schumacher
82152f41ac
add @SuppressWarnings(deprecation) in joinWith(), because it uses the deprecated ObjectUtils.toString(Object) method (which is o.k. to use as long as we do not require java 7 or greater)
2015-05-06 21:44:41 +02:00
Jack
39380da86a
add checkNotNull method in ReflectionToStringBuilder.java to fix #LANG-1132
2015-05-06 11:43:03 +08:00
Pascal Schumacher
7d5a61ed64
remove compiler warnings from ThreadUtils
2015-05-05 23:31:20 +02:00
Eduardo Martins
54facb4fd9
DOC: StringUtils.containsAny. ADD: containsAllWords to WordUtils
2015-05-05 16:34:48 -03:00
Henri Yandell
d6dd2b4cd4
Removed spurious * lines before a */; mostly created by removing the @version lines
2015-05-05 12:21:05 -07:00
Henri Yandell
740c0f95fb
Removed @version $ from source per LANG-1129
2015-05-05 12:12:15 -07:00
Benedikt Ritter
dfc9888860
Use final where possible
2015-05-05 21:05:37 +02:00
Benedikt Ritter
7fae5b0b17
Merge branch 'LANG-701'
...
LANG-701: StringUtils join with var args. Thanks to James Sawle.
2015-05-05 20:32:39 +02:00
Benedikt Ritter
98220ad03e
Merge branch 'LANG-1130'
...
LANG-1130: Fix critical issues reported by SonarQube.
Fixed critical issues in ClassUtils and TypeUtils. The
other three issues are false positives.
2015-05-05 19:33:28 +02:00
Benedikt Ritter
fc73151cfc
LANG-1131: StrBuilder.equals(StrBuilder) doesn't check for null inputs
2015-05-05 19:17:40 +02:00
Benedikt Ritter
e2ec4f2fdb
If statement can be simplified
2015-05-05 19:03:19 +02:00
Benedikt Ritter
7af67bdd16
Fix SonarQube warning: The user-supplied array 'typeArguments' is stored directly.
2015-05-05 18:58:41 +02:00
Benedikt Ritter
8d0214a741
Fix SonarQube warning: org.apache.commons.lang3.ClassUtils.<static initializer for ClassUtils>()
...
makes inefficient use of keySet iterator instead of entrySet iterator.
2015-05-05 18:58:13 +02:00
jamessawle
155cec1085
LANG-701 - Added new joinWith method to support varargs
2015-05-04 22:19:18 +01:00
Benedikt Ritter
1cb5573ada
Merge branch 'threadutilsmaster'
...
LANG-1105: Add ThreadUtils - A utility class for which provides helper methods
related to java.lang.Thread. Thanks to Hendrik Saly for implementing this
feature. Thanks to Fabian Lange and Charles Honton for their feedback during
development.
2015-05-04 21:56:32 +02:00
Benedikt Ritter
d2b1e522bf
Merge branch 'LANG-1031-cleanup'
...
Some cleanups following the integration of LANG-1031 (PR #77 from github)
2015-05-04 21:46:12 +02:00
Benedikt Ritter
60b32953a9
Allocate array of the correct size
2015-05-04 21:26:07 +02:00
Hendrik Saly
061450a927
incorporated feedback from Fabian, formatting adjusted, count >> 1 replaced with count / 2
2015-05-04 21:22:33 +02:00
Benedikt Ritter
f24344c257
Better JavaDoc for ToStringExclude
2015-05-04 21:21:32 +02:00
Benedikt Ritter
0e67448f8b
Better JavaDoc for HashCodeExclude
2015-05-04 21:13:47 +02:00
Benedikt Ritter
758f5677a1
Better JavaDoc for EqualsExclude
2015-05-04 21:07:55 +02:00
Benedikt Ritter
37c20df721
Reference constants in a non static way to align the retention value with the target value.
2015-05-04 20:58:47 +02:00
Hendrik Saly
1974c83561
incorporated feedback from Peter
2015-05-04 09:03:21 +02:00
Felipe Adorno
4daaeabaad
Remove author
2015-05-03 21:42:20 -03:00
Hendrik Saly
6f653f6bb8
Add ThreadUtils
2015-05-04 00:16:31 +02:00
Felipe Adorno
aeb6f86bcd
EqualsExlcude notation, HashCodeExclude notation and ToStringExludeNotation
2015-05-03 15:59:00 -03:00
Chas Honton
0add1e8975
ZZ format not displaying Z for UTC with OpenJDK 6
2015-05-02 11:21:02 -07:00
Benedikt Ritter
4a882e76d9
Merge branch 'branch-3.4-fix-json-style-rebase'
...
LANG-1128: JsonToStringStyle doesn't handle chars and objects correctly.
This also fixes #74 from github. Thanks to github user jacktan1991.
2015-05-01 23:55:25 +02:00
Benedikt Ritter
e8db7237a9
Extract logic for checking string representation of objects into separate methods
2015-05-01 23:54:03 +02:00
Benedikt Ritter
28656559d2
Format source code
2015-05-01 23:51:03 +02:00
Benedikt Ritter
07ec8ad2dd
Variable names should follow naming conventions
2015-05-01 23:48:35 +02:00
Benedikt Ritter
b5749b4f54
LANG-456: HashCodeBuilder throws StackOverflowError in bidirectional navigable
...
association. Thanks to Bob Fields who provides the inital patch. Thanks to
Woosan Ko who wrote the final patch. Thanks to Bruno P. Kinoshita who
updated the final patch so that it was easy to apply.
2015-05-01 22:26:42 +02:00
Jack
cac5209712
modified appendDetail method for Object value in JsonToStringStyle class
2015-05-01 14:13:13 +08:00
Chas Honton
775203dd2c
LANG-916: DateFormatUtils.format does not correctly change Calendar TimeZone in certain situations
...
LANG-1123: Unit test FastDatePrinterTimeZonesTest needs a timezone set
2015-04-30 19:21:26 -07:00