venusdrogon / feilong-platform

:gem:all feilong projects's parent
http://feitianbenyue.iteye.com/
Apache License 2.0
94 stars 58 forks source link

Apache Commons Lang 3.7 发布,Java 常用工具包 #121

Closed venusdrogon closed 6 years ago

venusdrogon commented 6 years ago

https://www.oschina.net/news/90421/commons-lang-3-7

Apache Commons Lang 3.7 已发布,这是 Commons 项目中用来处理 Java 基本对象方法的工具类包,可以简化很多平时经常要用到的写法,例如判断字符串是否为空等等。

该版本最低的 Java 版本要求是 Java 7,同时支持 Java 8, 9, 10。

部分更新如下

新特性

LANG-1355: TimeZone.getTimeZone() in FastDateParser causes resource contention (PR #296.)

LANG-1360: Add methods to ObjectUtils to get various forms of class names in a null-safe manner

变更

LANG-1358: Improve StringUtils#replace throughput

LANG-1346: Remove deprecation from RandomStringUtils

LANG-1361: ExceptionUtils.getThrowableList() is using deprecated ExceptionUtils.getCause()

详细更新内容点此查看。

下载地址

https://commons.apache.org/proper/commons-lang/download_lang.cgi

Source code (zip)

Source code (tar.gz)

Apache Commons Lang Version 3.7 Release Notes

INTRODUCTION:

This document contains the release notes for the 3.7 version of Apache Commons Lang. Commons Lang is a set of utility functions and reusable components that should be of use in any Java environment.

Lang 3.0 and onwards now targets Java 5.0, making use of features that arrived with Java 5.0 such as generics, variable arguments, autoboxing, concurrency and formatted output.

For the advice on upgrading from 2.x to 3.x, see the following page:

http://commons.apache.org/lang/article3_0.html

Apache Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.

New features and bug fixes. Requires Java 7, supports Java 8, 9, 10.

Changes in this version include:

New features: o LANG-1355: TimeZone.getTimeZone() in FastDateParser causes resource contention (PR #296.) Thanks to Chas Honton. o LANG-1360: Add methods to ObjectUtils to get various forms of class names in a null-safe manner Thanks to Gary Gregory.

Fixed Bugs: o LANG-1362: Fix tests DateUtilsTest for Java 9 with en_GB locale Thanks to Stephen Colebourne. o LANG-1365: Fix NullPointerException in isJavaVersionAtLeast on Java 10, add SystemUtils.IS_JAVA_10, add JavaVersion.JAVA_10 Thanks to Gary Gregory. o LANG-1348: StackOverflowError on TypeUtils.toString(...) for a generic return type of Enum.valueOf Thanks to mbusso. o LANG-1350: ConstructorUtils.invokeConstructor(Class, Object...) regression Thanks to Brett Kail. o LANG-1349: EqualsBuilder#isRegistered: swappedPair construction bug Thanks to Naman Nigam. o LANG-1357: org.apache.commons.lang3.time.FastDateParser should use toUpperCase(Locale) Thanks to BruceKuiLiu.

Changes: o LANG-1358: Improve StringUtils#replace throughput Thanks to Stephane Landelle. o LANG-1346: Remove deprecation from RandomStringUtils o LANG-1361: ExceptionUtils.getThrowableList() is using deprecated ExceptionUtils.getCause() Thanks to Ana.

Historical list of changes: http://commons.apache.org/proper/commons-lang/changes-report.html

For complete information on Apache Commons Lang, including instructions on how to submit bug reports, patches, or suggestions for improvement, see the Apache Apache Commons Lang website:

http://commons.apache.org/proper/commons-lang/