Commit Graph

5060 Commits

Author SHA1 Message Date
Benedikt Ritter 9615bc5019
Bump to next development version 2017-06-12 13:36:57 +02:00
Benedikt Ritter 09043bfa6f
Update version numbers for release 3.6 2017-06-09 11:38:15 +02:00
Benedikt Ritter 35288d109e
Update website for 3.6 release 2017-06-09 11:38:15 +02:00
Benedikt Ritter 844d02c6ac
Add release notes for 3.6 release 2017-06-09 11:38:14 +02:00
Benedikt Ritter 000d22973c
Update download page in preparation for 3.6 release 2017-06-09 11:38:14 +02:00
Benedikt Ritter 5ffb662019
Make sure deprecated CharEncoding constants are equal to the values defined in StandardCharsets 2017-06-09 11:37:19 +02:00
Benedikt Ritter 18e692478d
LANG-1334: Partically revert changes introduced in 7c19a1ff4c.
Replacing the static constants in CharEncoding with computed values can
cause compatibility issues, since compile time constants are inlined by
the compiler.
2017-06-09 08:37:11 +02:00
Benedikt Ritter b48043d18e
Fix duplicated maven-jar-plugin configuration 2017-06-08 10:00:12 +02:00
Benedikt Ritter 82f1ca8efd
Merge branch 'LANG-1338' 2017-06-08 09:34:21 +02:00
Benedikt Ritter 8ec7e02e75
LANG-1338: Add Automatic-Module-Name MANIFEST entry for Java 9
compatibility.

This change duplicates adds some maven-jar-plugin configuration pom.
After we have implemented a solution for this in parent pom, this
confgiruation should be removed.
2017-06-08 08:14:32 +02:00
Benedikt Ritter ad648cf8a8
LANG-1336: Add NUL Byte To CharUtils. Thanks to Beluga Behr. 2017-06-07 09:59:12 +02:00
Benedikt Ritter 21bab1d3a0
Merge branch 'LANG-1337' 2017-06-07 09:57:05 +02:00
Bruno P. Kinoshita c68285bb33 Make the var a constant, and add comments 2017-06-07 19:24:52 +12:00
Bruno P. Kinoshita 0344ca3f2d Remove magical number, using a local final variable (following current approach) 2017-06-07 18:50:19 +12:00
Benedikt Ritter 309b34f057
Make sure placement of curly braces is consistent 2017-06-06 22:14:47 +02:00
Benedikt Ritter 3a818ed6a8
Prevent redundant modifiers 2017-06-06 16:11:45 +02:00
Benedikt Ritter 8a8b8ec8d2
Make sure modifiers are in JLS order 2017-06-06 15:26:38 +02:00
Benedikt Ritter d0650d1a2f
Make sure no illegal imports (e.g. sun.*) are used 2017-06-06 15:15:39 +02:00
Benedikt Ritter 1da8ccdbfe
Make sure lines in files don't have trailing white spaces and remove all trailing white spaces 2017-06-06 15:12:06 +02:00
Benedikt Ritter fa91c1b286
Make sure files end with a new line 2017-06-06 15:05:02 +02:00
Benedikt Ritter f21c32a059
Don't allow package-info.html 2017-06-06 15:02:09 +02:00
Bruno P. Kinoshita 65b08c4f91 LANG-1337: Fix test failures in IBM JDK 8 for ToStringBuilderTest by specifying the ArrayList initial capacity. 2017-06-06 23:41:31 +12:00
Rob Tompkins 551101299d (chore) adding commons.module.name to pom 2017-05-27 10:25:01 -04:00
ggregory 577f7b3b54 Add missing Javadoc. 2017-05-25 10:38:30 -07:00
Gary Gregory 8cfc1b1207 Add missing '@Deprecated' annotations. 2017-05-25 09:28:33 -07:00
Gary Gregory 6a688cf36e Make code more readable with less nesting (move block out of else
clause).
2017-05-25 09:25:56 -07:00
Andy Klimczak ef3015cc99 [LANG-1304] StringUtils method to check for mixed case in string (closes #223) 2017-05-25 16:14:46 +02:00
pascalschumacher ebe7bb58a5 LANG-1316: Deprecate classes/methods moved to commons-text
Deprecated WordUtils and RandomStringUtils now that commons-text 1.1 was released.
2017-05-25 14:49:46 +02:00
pascalschumacher 8019416d81 ObjectUtils#identityToString(StrBuilder, Object): improve deprecating javadoc comment 2017-05-25 14:46:50 +02:00
pascalschumacher 670bb2e0a1 include checkstyle-suppressions.xml file in source distribution
Now checkstyle can be successfully executed from the source distribution (e.g. as part of the site life-cylce).
2017-05-25 14:00:38 +02:00
pascalschumacher 9f2fe9bb80 LANG-1320: correct id in changes.xml 2017-05-23 00:34:59 +02:00
duncan 7c19a1ff4c Deprecate CharEncoding and direct users to Java 7 classes
Java 7 introduced java.nio.charset.StandardCharsets, which negates the
need for our CharEncoding method. Additionally, the constants in the
class now point to the constants defined in Java 7.

Fixes: LANG-1334
2017-05-22 13:16:29 +01:00
duncan 53def50140 Remove wildcard static import
My last commit accidentally added a wildcard to a static import. This
commit reverses that.
2017-05-19 21:52:27 +01:00
duncan 7587431987 Avoid endless loop printing array with MultilineRecursiveToStringStyle
Previous implementation was causing an endless loop by calling
'super.appendDetail' rather than 'super.reflectionAppendArrayDetail'
when it encountered an array type.

Fixes: LANG-1319
2017-05-19 21:44:28 +01:00
Benedikt Ritter 05e18cc5c1
Remove LANG-1291 from changes.xml since it has been reverted 2017-05-17 10:27:20 -04:00
Benedikt Ritter 796b051f28
Remove annotations for documenting concurrency behavior.
As discussed on the ML, we need more time to figure out the design of
this annotations. So I'm removing them in order to get the next release
out of the door.
2017-05-17 10:21:41 -04:00
Benedikt Ritter 5a87fa172e
Add missing JavaDocs to make Checkstyle happy 2017-05-17 10:14:07 -04:00
Gary Gregory 585b1cb97b [LANG-1332] ImmutableTriple.nullTriple() 2017-05-14 20:41:59 -07:00
Gary Gregory e1bc286245 [LANG-1331] ImmutablePair.nullPair() Update @SuppressWarnings. 2017-05-14 20:36:31 -07:00
Gary Gregory 776b86e99a [LANG-1331] ImmutablePair.nullPair() 2017-05-14 20:33:59 -07:00
pascalschumacher 340f5f70e9 pom.xml: add goals executed on travis as defaultGoal to make it easy to run the same checks locally 2017-05-04 21:27:40 +02:00
pascalschumacher 1375e931d7 StrBuilder: remove commented-out code 2017-05-04 13:01:38 +02:00
Bruno P. Kinoshita 7ddfc8ae1c Merge branch 'pr/266'
This closes #266

Thanks!
2017-05-01 21:54:51 +12:00
Bruno P. Kinoshita 88da5f49bc LANG-1325: update changes.xml 2017-05-01 21:48:04 +12:00
Bruno P. Kinoshita af32371247 Merge branch 'pr/265'
This closes #265

Thanks
2017-05-01 21:45:25 +12:00
pascalschumacher 610caab590 LANG-1307: Add getDigits method to StringUtils
add since javadoc tag and changes.xml entry
2017-05-01 11:08:10 +02:00
Arshad Basha 9b3257e4d1 LANG-1307: Added getDigits method to StringUtils (closes #225) 2017-05-01 11:05:45 +02:00
Basha 6d74e8f83e javadocs - fixed faulty samples of isNoneEmpty/isNoneBlank
and added new ones to isAnyEmpty/isNoneEmpty/isAnyBlank/isNoneBlank for better understanding
2017-04-30 00:13:06 +05:30
Basha 9766e22b42 Adding testcase to cover a missing branch. 2017-04-29 20:06:31 +05:30
Basha ece2f255ee Increase test coverage of ToStringBuilder class to 100% 2017-04-29 19:22:59 +05:30