设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Java常用工具包Apache Commons Lang 3.8发布

2018-8-20 22:58| 发布者: joejoe0332| 查看: 308| 评论: 0|原作者: oschina|来自: oschina

摘要: Apache Commons Lang 3.8 已发布,这是 Commons 项目中用来处理 Java 基本对象方法的工具类包,可以简化很多平时经常要用到的写法,例如判断字符串是否为空等等。Commons Lang 3.x最低要求Java 7,同时支持 Java 8, ...

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

Commons Lang 3.x 最低要求 Java 7,同时支持 Java 8, 9, 10。

更新内容

新特性:

  • LANG-1352: EnumUtils.getEnumIgnoreCase and isValidEnumIgnoreCase methods added

  • LANG-1372: Add ToStringSummary annotation

  • LANG-1356: Add bypass option for classes to recursive and reflective EqualsBuilder

  • LANG-1391: Improve Javadoc for StringUtils.isAnyEmpty(null) 

  • LANG-1393: Add API SystemUtils.String getEnvironmentVariable(final String name, final String defaultValue) 

  • LANG-1394: org.apache.commons.lang3.SystemUtils should not write to System.err.

  • LANG-1238: Add RegexUtils class instead of overloading methods in StringUtils that take a regex to take precompiled Pattern

  • LANG-1390: StringUtils.join() with support for List<?> with configurable start/end indices

  • LANG-1392: Methods for getting first non empty or non blank value

  • LANG-1408: Rounding utilities for converting to BigDecimal

Bugs 修复:

  • LANG-1380: FastDateParser too strict on abbreviated short month symbols

  • LANG-1396: JsonToStringStyle does not escape string names

  • LANG-1395: JsonToStringStyle does not escape double quote in a string value

  • LANG-1384: New Java version ("11") must be handled

  • LANG-1364: ExceptionUtils#getRootCause(Throwable t) should return t if no lower level cause exists

  • LANG-1060: NumberUtils.isNumber assumes number starting with Zero

  • LANG-1375: defaultString(final String str) in StringUtils to reuse defaultString(final String str, final String defaultStr) 

  • LANG-1374: Parsing Json Array failed

  • LANG-1371: Fix TypeUtils#parameterize to work correctly with narrower-typed array

  • LANG-1370: Fix EventCountCircuitBreaker increment batch

  • LANG-1385: NumberUtils.createNumber() throws StringIndexOutOfBoundsException instead of NumberFormatException

  • LANG-1397: WordUtils.wrap throws StringIndexOutOfBoundsException when wrapLength is Integer.MAX_VALUE.

  • LANG-1401: Typo in JavaDoc for lastIndexOf

其他更改:

  • LANG-1367: ObjectUtils.identityToString(Object) and friends should allocate builders and buffers with a size

  • LANG-1405: Remove checks for java versions below the minimum supported one

  • LANG-1402: Null/index safe get methods for ArrayUtils

以往版本更新记录,可查阅 RELEASE NOTES

源码下载:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部