Commit Graph

5120 Commits

Author SHA1 Message Date
pascalschumacher 6cfee3d0e5 move apache-rat configuration from site to plugin-management sections, so that it also applies when "mvn apache-rat:check" is run
thanks to Karl Heinz Marbaise for the patch
2016-12-18 15:48:26 +01:00
duncan 363cbf7908 Improve test coverage of utility method. 2016-12-18 10:49:25 +00:00
duncan 600eb9eb99 LANG-1299 - Add method for converting string to an array of code points 2016-12-18 09:53:26 +00:00
duncan 855a523855 Corrected Javadoc @link tag. 2016-12-18 08:47:21 +00:00
duncan 657704627b Suppress warning about vararg usage. 2016-12-18 08:32:39 +00:00
Gary Gregory 8c7687b9ff [LANG-1297] SystemUtils.getHostName() API. Get test passing on Jenkins. 2016-12-14 15:31:53 -08:00
Gary Gregory a9f350eb94 [LANG-1297] SystemUtils.getHostName() API. Javadoc. 2016-12-14 14:28:40 -08:00
Gary Gregory bd5cc81ed7 [LANG-1297] SystemUtils.getHostName() API. 2016-12-14 14:22:34 -08:00
duncan cdfb2aa1e1 Improve description of alphabetic and alphanumeric. 2016-12-14 20:46:10 +00:00
duncan 7f7fa03eac Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-lang.git 2016-12-14 06:27:30 +00:00
duncan f643b4fa93 Fix for LANG-1286: RandomStringUtils random method can overflow... 2016-12-14 06:27:04 +00:00
Martin 35c27d025b Fix javadoc in isAnyNotBlank 2016-12-12 23:39:55 +01:00
duncan f13d18cff3 Javadoc change to address LANG-872.
Javadocs for append(Object[],Object[]) updated to indicate it only
compares the contents of the arrays, not the type of the arrays.
2016-12-12 15:25:18 +00:00
duncan 31fcd3bd8b Removed accidental commit of failing test case. 2016-12-12 15:14:58 +00:00
duncan 5556118ad1 Squashed deprecation warnings in test code. 2016-12-12 15:11:39 +00:00
duncan 795fe5d869 Added new vararg methods to insert values into an array at an index.
This implements LANG-660. This commit also deprecates the add() methods
that inserted a single value into an array at an index.
2016-12-12 14:00:19 +00:00
duncan 0136218fa3 Fixed typo in Javadoc. 2016-12-01 19:54:48 +00:00
duncan a08ec31dbf Fixes LANG-1292: WordUtils.wrap throws StringIndexOutOfBoundsException 2016-12-01 19:28:28 +00:00
pascalschumacher 8c1a0d2ee1 AnnotationTestUtils: remove unused import statement 2016-11-30 22:01:52 +01:00
pascalschumacher 1b362986bc StringUtils improve is*Empty and is*Blank javadoc 2016-11-30 21:55:24 +01:00
martin-tarjanyi 82d76aca8b Fix javadoc for isAnyNotEmpty (closes #220) 2016-11-30 21:28:15 +01:00
Gary Gregory 2cd3f0f10a Re-implement to avoid previous license.
Rewrite all Javadocs to be much simpler but we are open to more text.
2016-11-28 13:27:25 -08:00
Gary Gregory def3c4672b [LANG-1291] Provide annotations to document thread safety. 2016-11-27 15:41:23 -08:00
Gary Gregory 480949c375 No need to duplicate group Id. 2016-11-27 15:12:28 -08:00
Gary Gregory e56ac1c37d Add oraclejdk7. 2016-11-25 21:44:05 -08:00
pascalschumacher 32a0f4609f LANG-1290: Increase test coverage of org.apache.commons.lang3.ArrayUtils
add changes.xml entry
2016-11-24 22:32:50 +01:00
Andrii 8a05e0b0f6 make AnnotationUtilsTest#testAnnotationsOfDifferingTypes test what it was intended to test by making AnnotationUtilsTest.NestAnnotation visible at runtime (closes #218) 2016-11-24 22:24:17 +01:00
Andrii 51b2cabf2c LANG-1290: Increase test coverage of org.apache.commons.lang3.ArrayUtils class (closes #217)
Increase test coverage of the swap and shift methods.
2016-11-24 22:18:14 +01:00
duncan 41bc4cd029 RecursiveToStringStyleTest now uses correct ToStringStyle in tests.
Thanks to Dominik Stadler for patch.
2016-11-23 19:32:51 +00:00
Benedikt Ritter 2d6dea18b0
Merge branch 'fix/non-critical-typos' 2016-11-23 10:13:35 +01:00
Andrii aa75c23b2e fix non-critical typos in comments and JavaDoc
fix typos in several local variables
2016-11-23 00:41:58 +02:00
Andrii a49ea7a65b rename local variable name to more applicable (closes #215)
separate test cases by a new line
2016-11-22 23:18:51 +01:00
Benedikt Ritter b155e6461a
Merge branch 'fix/non-critical-typos' 2016-11-22 22:25:10 +01:00
Andrii db12f89ad2 fix typos in comments and javadoc. 2016-11-22 23:01:01 +02:00
pascalschumacher 3415c02e7b LANG-1067: Add a reflection-based variant of DiffBuilder
add changes.xml entry
2016-11-20 22:05:06 +01:00
pascalschumacher 011775551e LANG-1067: Add a reflection-based variant of DiffBuilder 2016-11-20 11:24:50 +01:00
pascalschumacher 7d54a14a75 remove unused import 2016-11-20 10:56:48 +01:00
Gary Gregory dfd69e038c Fix unbox warning. Show when we are unboxing. 2016-11-18 13:38:44 -08:00
Gary Gregory f55530a2ff Revert "LANG-1289" type="fix" dev="ggregory">JavaVersion class depends on Apache Commons Math class NumberUtils."
This reverts commit 9dcd87f9c4.
2016-11-18 13:36:09 -08:00
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