Commit Graph

4172 Commits

Author SHA1 Message Date
Benedikt Ritter 79aceed0e3 Add LANG-1104 to release notes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671025 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 11:12:47 +00:00
Chas Honton 06d724599d LANG-1104 - FastDateParserTest.testParses fails in TimeZone America/Sao_Paulo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1670560 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 04:07:43 +00:00
Gary D. Gregory 56462a1e18 maven-checkstyle-plugin 2.14 -> 2.15.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669833 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 19:34:16 +00:00
Benedikt Ritter 3548f0ab8d Update site for release 3.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669792 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:32:14 +00:00
Benedikt Ritter dfaa656f02 PMD: Useless parentheses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669791 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:22:59 +00:00
Benedikt Ritter bb01292edd PMD: Avoid unused private fields such as 'ESCAPED_QUOTE'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669787 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:12:47 +00:00
Benedikt Ritter 3ab0bc3571 Fix typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669786 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:09:29 +00:00
Benedikt Ritter f718ec1696 PMD: Overriding method merely calls super
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669785 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:09:15 +00:00
Benedikt Ritter e29f33c366 FindBugs: Load of known null value.
At this point if lhs is null, rhs will can not be null.
So evaluating the line with lhs == null will result in
rhs.equals(null) which should always be false.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669782 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 15:05:04 +00:00
Benedikt Ritter 346aae3b32 Make checkstyle happy: add missing JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669774 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 13:39:38 +00:00
Benedikt Ritter 4fdc606c35 Update RELEASE-NOTES for release 3.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669766 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 13:04:00 +00:00
Benedikt Ritter 11279f7b9d Update download page in preparation for 3.4 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669760 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:45:21 +00:00
Benedikt Ritter fccd59e788 Change test back to printing to std out, since continuum seems to be running on HAL-9000
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669755 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:29:38 +00:00
Benedikt Ritter 3225ba64ce LANG-1103: Add SystemUtils.IS_JAVA_1_9
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669753 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:26:01 +00:00
Benedikt Ritter 11c0df1d9e LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669750 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 12:08:17 +00:00
Benedikt Ritter 1dc65ff986 Reuse isOsNameMatch
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669747 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 11:43:32 +00:00
Benedikt Ritter 2b7e195935 This test should fail instead of writing to std out so that we can add missing OS
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669745 13f79535-47bb-0310-9956-ffa450edef68
2015-03-28 11:40:25 +00:00
Benedikt Ritter 098395eaee Dummy commit to close github issue, which has been fixed in r1669520. This fixes #56 from github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669525 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 08:37:14 +00:00
Benedikt Ritter 2f62425c31 Further optimization of LANG-935:
- Avoid toString of the replacement sequence by doing it once.
- Avoid calculating the maximum when not needed.
- Fixup comment for greedy algorithm

Thanks to Fabian Lange.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669520 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 08:03:41 +00:00
Benedikt Ritter a211ef288c Better JavaDoc for LANG-1093: Add ClassUtils.getAbbreviatedName. This fixes #57 from github. Thanks to Fabian Lange.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669311 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 10:24:19 +00:00
Benedikt Ritter c8e96c0c73 LANG-1091: Shutdown thread pools in test cases. This fixes #58 from github. Thanks to Fabian Lange.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669310 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 10:21:24 +00:00
Chas Honton 0b7ef7f53f update changes.xml to set proper issue number for previously committed work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668781 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 03:24:30 +00:00
Benedikt Ritter a74ed8ca04 Dummy commit to close github issue. This fixes #35 from github.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668523 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 07:04:07 +00:00
Benedikt Ritter aeaa333caa Add missing issues to changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668522 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 07:02:13 +00:00
Chas Honton 10e18ae9b4 LANG-1100: Avoid memory allocation when using date formating to StringBuffer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668517 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 05:13:20 +00:00
Chas Honton 8bc91a95f9 replace tabs with spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668515 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 05:04:46 +00:00
Chas Honton bbfa8eb7df LANG-1101 FastDateParser and FastDatePrinter support 'X' format
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668511 13f79535-47bb-0310-9956-ffa450edef68
2015-03-23 02:33:41 +00:00
Benedikt Ritter 7bb99bcb6b LANG-935: Possible performance improvement on string escape functions. Thanks to Fabian Lange and Thomas Neidhart.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1668348 13f79535-47bb-0310-9956-ffa450edef68
2015-03-22 09:52:25 +00:00
Benedikt Ritter bf6ee5c56e LANG-948: Exception while using ExtendedMessageFormat and escaping braces. This fixes #19 from github. Thanks to Andrey Khobnya.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666679 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:46:02 +00:00
Benedikt Ritter cbeb45b243 Kudos to the people how care about Commons Lang
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666673 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:27:19 +00:00
Benedikt Ritter 3328387a53 LANG-990: Avoid String allocation in StrBuilder.append(CharSequence). This fixes #51 from github. Thanks to Mikhail Mazurskiy and Fabian Lange.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666669 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:25:06 +00:00
Benedikt Ritter 1181552e7d Correct change types
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666666 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:16:07 +00:00
Benedikt Ritter adebbdc750 LANG-1098: Update maven-checkstyle-plugin to 2.14. This fixes #55 from github. Thanks to Michał Kordas.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666664 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:12:47 +00:00
Benedikt Ritter d6f59c373f LANG-1097: Update org.easymock:easymock to 3.3.1. This fixes #54 from github. Thanks to Michał Kordas.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666662 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:07:56 +00:00
Benedikt Ritter 08a854a4f9 LANG-1096: Update maven-pmd-plugin to 3.4. This fixes #53 from github. Thanks to Michał Kordas.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666661 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 12:02:34 +00:00
Benedikt Ritter bf3e77d897 LANG-1095: Update maven-antrun-plugin to 1.8. This fixes #52 from github. Thanks to Michał Kordas
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666658 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 11:55:43 +00:00
Benedikt Ritter 4556cc57c8 Add missing AL header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666578 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 21:01:09 +00:00
Benedikt Ritter 442e8c2705 Extract formatting tests of time zones into parameterized test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666577 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 21:00:37 +00:00
Benedikt Ritter 04c8de2334 No need to exclude the current time zone from testing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666575 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 20:53:00 +00:00
Benedikt Ritter 8aa1b44ada LANG-1092: Wrong formating of time zones with daylight saving time in FastDatePrinter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666568 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 20:29:06 +00:00
Benedikt Ritter 1f75a8f7cc LANG-877: Performance improvements for StringEscapeUtils. This fixes #49 from github. Thanks to Fabian Lange.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666535 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 18:18:59 +00:00
Benedikt Ritter a234f033b6 Fix JavaDoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666365 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 07:42:05 +00:00
Benedikt Ritter f29eb8e7f8 Use annotation based testing for expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666364 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 07:36:25 +00:00
Benedikt Ritter d38919fcbd LANG-1093: Add ClassUtils.getAbbreviatedName(). This fixes #48 from github. Thanks to Fabian Lange.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1666362 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 07:29:21 +00:00
Sebastian Bazley ce7f4ed073 LANG-1090 FastDateParser does not set error indication in ParsePosition
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663438 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 21:28:13 +00:00
Sebastian Bazley 8db46b1d09 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663430 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 20:54:18 +00:00
Sebastian Bazley e124486951 Simplify
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663410 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 19:44:39 +00:00
Sebastian Bazley 3ec99c1f0b Add AL header (props joerg)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663353 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:49:19 +00:00
Sebastian Bazley 7c8443f66c LANG-1089 FastDateParser does not handle excess hours as per SimpleDateFormat
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663348 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:29:45 +00:00
Sebastian Bazley 6ec90c452f Docs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1663342 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 16:10:35 +00:00