Commit Graph

5017 Commits

Author SHA1 Message Date
Benedikt Ritter 291eaf16bf Add missing @since tag to new method in EventListenerSupport 2016-09-11 15:53:59 +02:00
Benedikt Ritter a81791c093 Add missing @since tags to new annotations in the builder package 2016-09-11 15:51:50 +02:00
Benedikt Ritter 4388ded2d1 Revert "[LANG-1201] Add a TimeUnit-like classes for base 2 and base 10 digital"
This reverts commit a1cde6ab70.
2016-09-11 15:47:33 +02:00
Benedikt Ritter de125de49a Add missing @since tags for new StringUtils methods 2016-09-11 15:33:01 +02:00
Benedikt Ritter d4fe06de87 Add missing @sicne tag for RandomUtils.nextBoolean() 2016-09-11 15:31:26 +02:00
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
Benedikt Ritter d53d0419f1 Merge branch 'voyageth:patch-1' 2016-09-07 08:47:27 +02: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