Commit Graph

5430 Commits

Author SHA1 Message Date
Gary Gregory 402a1283de Update maven-pmd-plugin from 3.11.0 to 3.12.0. 2019-04-24 14:15:03 -04:00
Rob d07e31e05a Merge branch 'change-to-if-statement' of https://github.com/ethanwood17/commons-lang 2019-04-24 08:09:39 -04:00
Rob 89679976b8 LANG-1450: Generate javadoc jar on build 2019-04-22 11:44:29 -04:00
Gary Gregory 7964c45a54 Add OpenJDK 8 to Travis builds. 2019-04-16 09:17:15 -04:00
Rob Tompkins f2c28e67b7 (update) 3.9 -> 3.10-SNAPSHOT, post release 2019-04-15 07:20:46 -07:00
Rob Tompkins d8fa78c70d Tagging commons-lang-3.9 from RC2
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEtuc9hOpPzEcWYIclP6rSzV7LsxQFAly0ktAACgkQP6rSzV7L
 sxQP3A/+INo2gywwfB5r6zO041ebM56m1xpKGLTE7y39VAmHvDrjUvpCtxVlSe5L
 utAdrwUHmF/9J9yPs2mQfqoJ9cex9l7p/oYPM2UgHVV8xQSyusahf4ovt4F288F5
 aHcbh0L7kcI6BQgOOLt9w41XtdRuFglDogDotIDGQyMD5JgF2G0jLAmIKPzQtN1h
 jvpCtuZoQi71jx0VtDRV+CeKMFForK1O/B36LZaXZSxRYYH5Sq0p368gxJLu+NU0
 x1eizxFMHF8JqCm7IUFNXS48KKESFZzHXc64S/MIHcGe9XfA2sR4W9FVJz6qTDwZ
 9d6/6UP9FtTEvlL1m+Zx7qn/st11fmRKghjIjKePagmqzpn4U2hdXwkO7b1ZAi/+
 McWd8MLkFlXWswJaXTtYsWQArn7kI6MPd5hUvvRL+YoFLkHrUbtIqGNJyK0VrNkv
 anBJdGRXgBbmJgrsz5537rw4XLM3ygjsSSFup4za2msbtpULwTa4B6jMOZWNGLF8
 84lorxyTcxyulfvAAkDkcVFkqakjUAZkZ5gS+gS6Y3V6Jfchew5QgoMUOMON0O78
 Gak54J65Rx+tTSSP6oHE/Tpj/2G46uv+5PksHCQpE2sZMpQ6OAjRnzaXd50/xOfZ
 GbKpuxAke1DkeH0s4etq5G//qQ6vCKgAhKbZd9BfvO2dRoULj/w=
 =rZHI
 -----END PGP SIGNATURE-----

Merge tag 'commons-lang-3.9'

Tagging commons-lang-3.9 from RC2
2019-04-15 07:19:18 -07:00
Ethan Wood c31dc383c9 Changing switch statement to if/else statement for greater clarity 2019-04-12 20:25:27 -06:00
Ethan Wood 233711f860 (doc) (#417)
Fixing couple of dangling javadocs, converted to comments.
2019-04-12 08:46:36 -04:00
Gary Gregory abc2681037 Update tests from junit-jupiter 5.4.0 to 5.4.2. 2019-04-12 08:37:15 -04:00
Rob Tompkins abb39c22c0 (fix) checkstyle violation 2019-04-10 21:25:46 -04:00
Rob Tompkins 1889cacfaf Prepare 3.9 RC2 2019-04-10 21:17:56 -04:00
Rob Tompkins 24ebbb069b (fix) checkstyle violation 2019-04-10 15:39:35 -04:00
Rob Tompkins 838d7ebefb Merge branch 'master' of github.com:apache/commons-lang into 3.9 2019-04-10 15:29:23 -04:00
Tompkins 5b0d49b813 LANG-1447: use isJavaVersionAtLeast in implementation 2019-04-10 14:59:59 -04:00
Tompkins f4c0ce3deb (update) don't allow travis to fail on java 12 2019-04-10 14:46:58 -04:00
Tompkins 5f7812ee1c LANG-1447: java 12 final modifier is no longer mutable 2019-04-10 14:46:12 -04:00
Rob Tompkins 20fdb8e63e jacoco: 0.8.2 -> 0.8.3, surefire: 2.22.1 -> 3.0.0-M3 2019-04-10 14:01:00 -04:00
Rob Tompkins 8b37888515 (update) a few more version upgrades 3.8.1 -> 3.9 2019-04-09 14:08:56 -04:00
Tompkins 6cf0846125 Merge branch 'master' of https://github.com/apache/commons-lang into 3.9 2019-04-09 13:18:18 -04:00
Rob Tompkins d48e87e4f2 LANG-1446: switch from cobertura to jacoco 2019-04-09 13:16:59 -04:00
Tompkins 4f4e9786a8 Preparing the codebase for 3.9 2019-04-09 13:12:01 -04:00
Rob Tompkins b8de60e0c1 (docs) more specificity 2019-04-08 14:35:57 -04:00
Gilles Sadowski cf8093776b LANG-1442: Javadoc.
https://markmail.org/message/mbp35qav34ifjm4t
2019-04-08 15:22:17 +02:00
Tompkins 69326c8ba9 (docs) update user use -> user explore 2019-04-08 08:13:39 -04:00
Rob Tompkins 3f43706192 LANG-1442: Commons-RNG citation 2019-04-06 09:02:56 -04:00
Benedikt Ritter 6e797a40a7
LANG-1443: Add more SystemUtils.IS_JAVA_XX variants (#415) 2019-04-05 18:33:35 +02:00
Tompkins 3e37b25ebc (docs) add "</p>" to end of crypto statement 2019-04-04 08:17:22 -04:00
Tompkins 7ab94f46fd (fix) unused imports 2019-04-04 08:13:48 -04:00
Tompkins ddb759d67a (docs) remove SecureRandom 2019-04-04 08:11:56 -04:00
Rob Tompkins ff05d661dc (docs) updates to documentation about SecureRandom 2019-04-03 20:43:17 -04:00
Gary Gregory c20dcdadd4 Oops, remove dup property. 2019-03-26 20:24:32 -04:00
Gary Gregory 064b9d8a2f Update Apache Commons Parent from 47 to 48. 2019-03-26 20:22:19 -04:00
Benedikt Ritter 4b0f3ed081
Add proposal for Jenkins Pipeline (#410)
Introduces a Jenkins pipeline with a build stage and an
optional deploy stage that is only executed when master
branch is build.
Post actions send mails in case of build failures.
2019-03-23 13:50:53 +01:00
Gary Gregory 98a4989da3 Update Travis build with current JDKs. 2019-03-22 15:34:27 -04:00
Bruno P. Kinoshita 7b272ca247
Merge pull request #413 from machaval/patch-1
Fix javadoc in wrapIfMissing
2019-03-13 10:11:39 +13:00
Mariano de Achaval 2e1a1d4536
Fix javadoc in wrapIfMissing
wrapIfMissing function was referencing warp function in the javadoc
2019-03-12 09:40:44 -03:00
Gary Gregory 82b69a4dd6 [LANG-1436] (doc) Fix javadoc for 'startIndex' parameter of
StringUtils.join() methods. GitHub PR #412.
2019-03-04 17:44:26 -05:00
Andrei Troie 353e06a8ac (doc) Fix javadoc for 'startIndex' parameter of StringUtils.join() methods (#412) 2019-03-04 17:41:38 -05:00
Alex Herbert fa9f1aae19 Consolidate the StringUtils.equals and equalsIgnoreCase methods. (#409)
* Consolidate the StringUtils.equals and equalsIgnoreCase methods.

Implement the same edge case logic for null. Use the same parameter
names. Use the same Javadoc wording. Change the equals method to use a
step-wise charAt comparison.

* LANG-1436: Added Jira to changes.xml.
2019-03-03 08:43:23 -05:00
Rob Tompkins 589ce59307
Merge pull request #391 from RahulNagekar/JsonToStringStyle_Junits
Adding junits for JsonToStringStyle
2019-02-18 18:34:22 -05:00
Benedikt Ritter 75768ba272
Simplify test code by using lambda expressions 2019-02-09 16:56:09 +01:00
pascalschumacher 508ddd1295 Update checkstyle to version 8.17 2019-02-09 13:54:01 +01:00
pascalschumacher c127a7266a Update EasyMock to version 4.0.2 2019-02-09 13:46:58 +01:00
pascalschumacher b5ed6c6180 Update Hamcrest to version 2.1 2019-02-09 13:43:15 +01:00
pascalschumacher c6bb13cb99 Remove dependency management for JUnit (since the update to JUnit 5.4.0 we only have a single JUnit test dependency). 2019-02-09 13:31:34 +01:00
Allon Mureinik c01fa9aa42 Simplify assertions (closes #404)
Use JUnit methods to clean up the test and simplify the assertions:
- assertArraysEqual(x, y) replaces assertTrue(Arrays.equals(x, y))
- assertEquals(x, y) replaces assertTrue(x == y)
- assertNotEquals(x, y) replaces assertFalse(x == y)
2019-02-09 12:44:42 +01:00
Allon Mureinik a4adb41259 Use assertThrows in FunctionsTest (closes #404)
Use JUnit Jupiter's elegant assertThrows method instead of the
boilerplate pattern of try-fail-catch to assert an exception was
thrown.
2019-02-09 12:44:06 +01:00
Eitan Adler 6b7a848010 [ToStringBuilderTest] clean up after some old issues
- Remove code to handle old JDK 6 bugs
- Fix a mis-ordered assertEquals
- Remove a deprecated call to Character's constructor
2019-02-09 02:08:32 -08:00
Allon Mureinik bfa50b3edf Clean up floating point assertions (closes #402)
JUnit Jupiter 5.4.0 supports deltas of 0 when asserting double and
float equalities.
This patch utilizes these new assertEquals methods and removes the
hack of using assertTrue with an == statement that was needed in older
JUnit versions.
2019-02-08 19:54:17 +01:00
Allon Mureinik 2273b6e44e Upgrade JUnit depedency to 5.4.0 (closes #402)
Upgrade the JUnit dependency to the latest available 5.4.0.

Note that JUnit simplified its artifacts, and now it contains a
single, simple org.junit:junit-jupiter artifact.
2019-02-08 19:53:20 +01:00