Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-789

Upgrade to commons-lang3 3.4

    XMLWordPrintable

Details

    • N/A

    Description

      NEW FEATURES
      ==============
      
      o LANG-821:  Support OS X versions in SystemUtils. Thanks to Timo Kockert.
      o LANG-1103: Add SystemUtils.IS_JAVA_1_9
      o LANG-1093: Add ClassUtils.getAbbreviatedName(). Thanks to Fabian Lange.
      o LANG-1082: Add option to disable the "objectsTriviallyEqual" test in
                   DiffBuilder. Thanks to Jonathan Baker.
      o LANG-1015: Add JsonToStringStyle implementation to ToStringStyle. Thanks to
                   Thiago Andrade.
      o LANG-1080: Add NoClassNameToStringStyle implementation of ToStringStyle.
                   Thanks to Innokenty Shuvalov.
      o LANG-883:  Add StringUtils.containsAny(CharSequence, CharSequence...) method.
                   Thanks to Daniel Stewart.
      o LANG-1052: Multiline recursive to string style. Thanks to Jan Matèrne.
      o LANG-536:  Add isSorted() to ArrayUtils. Thanks to James Sawle.
      o LANG-1033: Add StringUtils.countMatches(CharSequence, char)
      o LANG-1021: Provide methods to retrieve all fields/methods annotated with a
                   specific type. Thanks to Alexander Müller.
      o LANG-1016: NumberUtils#isParsable method(s). Thanks to
                   Juan Pablo Santos Rodríguez.
      o LANG-999:  Add fuzzy String matching logic to StringUtils. Thanks to
                   Ben Ripkens.
      o LANG-994:  Add zero copy read method to StrBuilder. Thanks to
                   Mikhail Mazursky.
      o LANG-993:  Add zero copy write method to StrBuilder. Thanks to
                   Mikhail Mazursky.
      o LANG-1044: Add method MethodUtils.invokeExactMethod(Object, String)
      o LANG-1045: Add method MethodUtils.invokeMethod(Object, String)
      
      FIXED BUGS
      ============
      
      o LANG-794:  SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
                   Timo Kockert.
      o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
      o LANG-948:  Exception while using ExtendedMessageFormat and escaping braces.
                   Thanks to Andrey Khobnya.
      o LANG-1092: Wrong formating of time zones with daylight saving time in
                   FastDatePrinter
      o LANG-1090: FastDateParser does not set error indication in ParsePosition
      o LANG-1089: FastDateParser does not handle excess hours as per
                   SimpleDateFormat
      o LANG-1061: FastDateParser error - timezones not handled correctly. Thanks to
                   dmeneses.
      o LANG-1087: NumberUtils#createNumber() returns positive BigDecimal when
                   negative Float is expected. Thanks to Renat Zhilkibaev.
      o LANG-1081: DiffBuilder.append(String, Object left, Object right) does not do
                   a left.equals(right) check. Thanks to Jonathan Baker.
      o LANG-1055: StrSubstitutor.replaceSystemProperties does not work consistently.
                   Thanks to Jonathan Baker.
      o LANG-1083: Add (T) casts to get unit tests to pass in old JDK. Thanks to
                   Jonathan Baker.
      o LANG-1073: Read wrong component type of array in add in ArrayUtils.
                   Thanks to haiyang li.
      o LANG-1077: StringUtils.ordinalIndexOf("aaaaaa", "aa", 2) != 3 in StringUtils.
                   Thanks to haiyang li.
      o LANG-1072: Duplicated "0x" check in createBigInteger in NumberUtils. Thanks 
                   to haiyang li.
      o LANG-1064: StringUtils.abbreviate description doesn't agree with the 
                   examples. Thanks to B.J. Herbison.
      o LANG-1041: Fix MethodUtilsTest so it does not depend on JDK method ordering.
                   Thanks to Alexandre Bartel.
      o LANG-1000: ParseException when trying to parse UTC dates with Z as zone
                   designator using DateFormatUtils.ISO_DATETIME_TIME_ZONE_FORMAT
      o LANG-1035: Javadoc for EqualsBuilder.reflectionEquals() is unclear
      o LANG-1001: ISO 8601 misspelled throughout the Javadocs. Thanks to
                   Michael Osipov.
      o LANG-1088: FastDateParser should be case insensitive
      o LANG-995:  Fix bug with stripping spaces on last line in WordUtils.wrap().
                   Thanks to Andrey Khobnya.
      
      CHANGES
      =========
      
      o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
      o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
      o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
      o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
                   Thanks to mbracher.
      o LANG-935:  Possible performance improvement on string escape functions.
                   Thanks to Fabian Lange, Thomas Neidhart.
      o LANG-1098: Avoid String allocation in StrBuilder.append(CharSequence). Thanks
                   to Mikhail Mazurskiy, Fabian Lange.
      o LANG-1098: Update maven-checkstyle-plugin to 2.14. Thanks to Micha? Kordas.
      o LANG-1097: Update org.easymock:easymock to 3.3.1. Thanks to Micha? Kordas.
      o LANG-1096: Update maven-pmd-plugin to 3.4. Thanks to Micha? Kordas.
      o LANG-1095: Update maven-antrun-plugin to 1.8. Thanks to Micha? Kordas.
      o LANG-877:  Performance improvements for StringEscapeUtils. Thanks to
                   Fabian Lange.
      o LANG-1071: Fix wrong examples in JavaDoc of 
                   StringUtils.replaceEachRepeatedly(...), 
                   StringUtils.replaceEach(...) Thanks to Arno Noordover.
      o LANG-827:  CompareToBuilder's doc doesn't specify precedence of fields it
                   uses in performing comparisons
      o LANG-1020: Improve performance of normalize space. Thanks to Libor Ondrusek.
      o LANG-1027: org.apache.commons.lang3.SystemUtils#isJavaVersionAtLeast should
                   return true by default
      o LANG-1026: Bring static method references in StringUtils to consistent style.
                   Thanks to Alex Yursha.
      o LANG-1017: Use non-ASCII digits in Javadoc examples for 
                   StringUtils.isNumeric. Thanks to Christoph Schneegans.
      o LANG-1008: Change min/max methods in NumberUtils/IEEE754rUtils from array
                   input parameters to varargs. Thanks to Thiago Andrade.
      o LANG-1006: Add wrap (with String or char) to StringUtils. Thanks to
                   Thiago Andrade.
      o LANG-1005: Extend DurationFormatUtils#formatDurationISO default pattern to
                   match #formatDurationHMS. Thanks to Michael Osipov.
      o LANG-1007: Fixing NumberUtils JAVADoc comments for max methods. Thanks to
                   Thiago Andrade.
      o LANG-731:  Better Javadoc for BitField class
      o LANG-1004: DurationFormatUtils#formatDurationHMS implementation does not
                   correspond to Javadoc and vice versa. Thanks to Michael Osipov.
      o LANG-1003: DurationFormatUtils are not able to handle negative
                   durations/periods
      o LANG-998:  Javadoc is not clear on preferred pattern to instantiate
                   FastDateParser / FastDatePrinter
      

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: