Merge branch 'v5-dev' of github.com:looly/hutool into v5-dev

This commit is contained in:
Looly 2021-02-28 12:14:22 +08:00
commit b21da32317
20 changed files with 0 additions and 39 deletions

View File

@ -60,7 +60,6 @@ public class CompareToBuilder implements Builder<Integer> {
* 构造构造后调用append方法增加比较项然后调用{@link #toComparison()}获取结果 * 构造构造后调用append方法增加比较项然后调用{@link #toComparison()}获取结果
*/ */
public CompareToBuilder() { public CompareToBuilder() {
super();
comparison = 0; comparison = 0;
} }

View File

@ -21,7 +21,6 @@ public class ComparableComparator<E extends Comparable<? super E>> implements Co
* 构造 * 构造
*/ */
public ComparableComparator() { public ComparableComparator() {
super();
} }
/** /**

View File

@ -694,7 +694,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
* *
*/ */
UnpaddedMonthField() { UnpaddedMonthField() {
super();
} }
/** /**
@ -833,7 +832,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
* Constructs an instance of {@code TwoDigitYearField}. * Constructs an instance of {@code TwoDigitYearField}.
*/ */
TwoDigitYearField() { TwoDigitYearField() {
super();
} }
/** /**
@ -873,7 +871,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
* Constructs an instance of {@code TwoDigitMonthField}. * Constructs an instance of {@code TwoDigitMonthField}.
*/ */
TwoDigitMonthField() { TwoDigitMonthField() {
super();
} }
/** /**

View File

@ -27,7 +27,6 @@ public final class FastStringWriter extends Writer {
* @param initialSize 初始容量 * @param initialSize 初始容量
*/ */
public FastStringWriter(int initialSize) { public FastStringWriter(int initialSize) {
super();
if (initialSize < 0) { if (initialSize < 0) {
initialSize = StrBuilder.DEFAULT_CAPACITY; initialSize = StrBuilder.DEFAULT_CAPACITY;
} }

View File

@ -19,7 +19,6 @@ public class MultiFileResource extends MultiResource{
* @param files 文件资源列表 * @param files 文件资源列表
*/ */
public MultiFileResource(Collection<File> files) { public MultiFileResource(Collection<File> files) {
super();
add(files); add(files);
} }
@ -29,7 +28,6 @@ public class MultiFileResource extends MultiResource{
* @param files 文件资源列表 * @param files 文件资源列表
*/ */
public MultiFileResource(File... files) { public MultiFileResource(File... files) {
super();
add(files); add(files);
} }

View File

@ -30,7 +30,6 @@ public final class Holder<T> extends MutableObj<T>{
* 构造 * 构造
*/ */
public Holder() { public Holder() {
super();
} }
/** /**

View File

@ -17,7 +17,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
* 构造默认值0 * 构造默认值0
*/ */
public MutableBool() { public MutableBool() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
* @param value * @param value
*/ */
public MutableBool(final boolean value) { public MutableBool(final boolean value) {
super();
this.value = value; this.value = value;
} }
@ -35,7 +33,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
* @throws NumberFormatException 转为Boolean错误 * @throws NumberFormatException 转为Boolean错误
*/ */
public MutableBool(final String value) throws NumberFormatException { public MutableBool(final String value) throws NumberFormatException {
super();
this.value = Boolean.parseBoolean(value); this.value = Boolean.parseBoolean(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
* 构造默认值0 * 构造默认值0
*/ */
public MutableByte() { public MutableByte() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
* @param value * @param value
*/ */
public MutableByte(final byte value) { public MutableByte(final byte value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
* @throws NumberFormatException 转为Byte错误 * @throws NumberFormatException 转为Byte错误
*/ */
public MutableByte(final String value) throws NumberFormatException { public MutableByte(final String value) throws NumberFormatException {
super();
this.value = Byte.parseByte(value); this.value = Byte.parseByte(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
* 构造默认值0 * 构造默认值0
*/ */
public MutableDouble() { public MutableDouble() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
* @param value * @param value
*/ */
public MutableDouble(final double value) { public MutableDouble(final double value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
* @throws NumberFormatException 数字转换错误 * @throws NumberFormatException 数字转换错误
*/ */
public MutableDouble(final String value) throws NumberFormatException { public MutableDouble(final String value) throws NumberFormatException {
super();
this.value = Double.parseDouble(value); this.value = Double.parseDouble(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
* 构造默认值0 * 构造默认值0
*/ */
public MutableFloat() { public MutableFloat() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
* @param value * @param value
*/ */
public MutableFloat(final float value) { public MutableFloat(final float value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
* @throws NumberFormatException 数字转换错误 * @throws NumberFormatException 数字转换错误
*/ */
public MutableFloat(final String value) throws NumberFormatException { public MutableFloat(final String value) throws NumberFormatException {
super();
this.value = Float.parseFloat(value); this.value = Float.parseFloat(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
* 构造默认值0 * 构造默认值0
*/ */
public MutableInt() { public MutableInt() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
* @param value * @param value
*/ */
public MutableInt(final int value) { public MutableInt(final int value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
* @throws NumberFormatException 数字转换错误 * @throws NumberFormatException 数字转换错误
*/ */
public MutableInt(final String value) throws NumberFormatException { public MutableInt(final String value) throws NumberFormatException {
super();
this.value = Integer.parseInt(value); this.value = Integer.parseInt(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
* 构造默认值0 * 构造默认值0
*/ */
public MutableLong() { public MutableLong() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
* @param value * @param value
*/ */
public MutableLong(final long value) { public MutableLong(final long value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
* @throws NumberFormatException 数字转换错误 * @throws NumberFormatException 数字转换错误
*/ */
public MutableLong(final String value) throws NumberFormatException { public MutableLong(final String value) throws NumberFormatException {
super();
this.value = Long.parseLong(value); this.value = Long.parseLong(value);
} }

View File

@ -17,7 +17,6 @@ public class MutableObj<T> implements Mutable<T>, Serializable {
* 构造空值 * 构造空值
*/ */
public MutableObj() { public MutableObj() {
super();
} }
/** /**
@ -26,7 +25,6 @@ public class MutableObj<T> implements Mutable<T>, Serializable {
* @param value * @param value
*/ */
public MutableObj(final T value) { public MutableObj(final T value) {
super();
this.value = value; this.value = value;
} }

View File

@ -17,7 +17,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
* 构造默认值0 * 构造默认值0
*/ */
public MutableShort() { public MutableShort() {
super();
} }
/** /**
@ -25,7 +24,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
* @param value * @param value
*/ */
public MutableShort(final short value) { public MutableShort(final short value) {
super();
this.value = value; this.value = value;
} }
@ -43,7 +41,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
* @throws NumberFormatException 转为Short错误 * @throws NumberFormatException 转为Short错误
*/ */
public MutableShort(final String value) throws NumberFormatException { public MutableShort(final String value) throws NumberFormatException {
super();
this.value = Short.parseShort(value); this.value = Short.parseShort(value);
} }

View File

@ -29,7 +29,6 @@ public class Tree<T> extends LinkedHashMap<String, Object> implements Node<T> {
* @param treeNodeConfig TreeNode配置 * @param treeNodeConfig TreeNode配置
*/ */
public Tree(TreeNodeConfig treeNodeConfig) { public Tree(TreeNodeConfig treeNodeConfig) {
super();
this.treeNodeConfig = ObjectUtil.defaultIfNull( this.treeNodeConfig = ObjectUtil.defaultIfNull(
treeNodeConfig, TreeNodeConfig.DEFAULT_CONFIG); treeNodeConfig, TreeNodeConfig.DEFAULT_CONFIG);
} }

View File

@ -91,7 +91,6 @@ public class Entity extends Dict {
// --------------------------------------------------------------- Constructor start // --------------------------------------------------------------- Constructor start
public Entity() { public Entity() {
super();
} }
/** /**
@ -101,7 +100,6 @@ public class Entity extends Dict {
*/ */
public Entity(String tableName) { public Entity(String tableName) {
super();
this.tableName = tableName; this.tableName = tableName;
} }

View File

@ -21,7 +21,6 @@ public class UserPassAuthenticator extends Authenticator {
* @param pass 密码 * @param pass 密码
*/ */
public UserPassAuthenticator(String user, String pass) { public UserPassAuthenticator(String user, String pass) {
super();
this.user = user; this.user = user;
this.pass = pass; this.pass = pass;
} }

View File

@ -39,7 +39,6 @@ public class Connector {
* @param password 密码 * @param password 密码
*/ */
public Connector(String host, int port, String user, String password) { public Connector(String host, int port, String user, String password) {
super();
this.host = host; this.host = host;
this.port = port; this.port = port;
this.user = user; this.user = user;

View File

@ -53,7 +53,6 @@ public class AviatorTest {
Bar[] bars = new Bar[1]; Bar[] bars = new Bar[1];
public Foo(final int i, final float f, final Date date) { public Foo(final int i, final float f, final Date date) {
super();
this.i = i; this.i = i;
this.f = f; this.f = f;
this.date = date; this.date = date;

View File

@ -28,7 +28,6 @@ public class CustomProtocolsSSLFactory extends SSLSocketFactory {
* @throws NoSuchAlgorithmException NoSuchAlgorithmException * @throws NoSuchAlgorithmException NoSuchAlgorithmException
*/ */
public CustomProtocolsSSLFactory(String... protocols) throws KeyManagementException, NoSuchAlgorithmException { public CustomProtocolsSSLFactory(String... protocols) throws KeyManagementException, NoSuchAlgorithmException {
super();
this.protocols = protocols; this.protocols = protocols;
this.base = SSLSocketFactoryBuilder.create().build(); this.base = SSLSocketFactoryBuilder.create().build();
} }