mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
Merge branch 'v5-dev' of github.com:looly/hutool into v5-dev
This commit is contained in:
commit
b21da32317
@ -60,7 +60,6 @@ public class CompareToBuilder implements Builder<Integer> {
|
||||
* 构造,构造后调用append方法增加比较项,然后调用{@link #toComparison()}获取结果
|
||||
*/
|
||||
public CompareToBuilder() {
|
||||
super();
|
||||
comparison = 0;
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,6 @@ public class ComparableComparator<E extends Comparable<? super E>> implements Co
|
||||
* 构造
|
||||
*/
|
||||
public ComparableComparator() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -694,7 +694,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
|
||||
*
|
||||
*/
|
||||
UnpaddedMonthField() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -833,7 +832,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
|
||||
* Constructs an instance of {@code TwoDigitYearField}.
|
||||
*/
|
||||
TwoDigitYearField() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -873,7 +871,6 @@ public class FastDatePrinter extends AbstractDateBasic implements DatePrinter {
|
||||
* Constructs an instance of {@code TwoDigitMonthField}.
|
||||
*/
|
||||
TwoDigitMonthField() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -27,7 +27,6 @@ public final class FastStringWriter extends Writer {
|
||||
* @param initialSize 初始容量
|
||||
*/
|
||||
public FastStringWriter(int initialSize) {
|
||||
super();
|
||||
if (initialSize < 0) {
|
||||
initialSize = StrBuilder.DEFAULT_CAPACITY;
|
||||
}
|
||||
|
@ -19,7 +19,6 @@ public class MultiFileResource extends MultiResource{
|
||||
* @param files 文件资源列表
|
||||
*/
|
||||
public MultiFileResource(Collection<File> files) {
|
||||
super();
|
||||
add(files);
|
||||
}
|
||||
|
||||
@ -29,7 +28,6 @@ public class MultiFileResource extends MultiResource{
|
||||
* @param files 文件资源列表
|
||||
*/
|
||||
public MultiFileResource(File... files) {
|
||||
super();
|
||||
add(files);
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,6 @@ public final class Holder<T> extends MutableObj<T>{
|
||||
* 构造
|
||||
*/
|
||||
public Holder() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -17,7 +17,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableBool() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableBool(final boolean value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -35,7 +33,6 @@ public class MutableBool implements Comparable<MutableBool>, Mutable<Boolean>, S
|
||||
* @throws NumberFormatException 转为Boolean错误
|
||||
*/
|
||||
public MutableBool(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Boolean.parseBoolean(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableByte() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableByte(final byte value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableByte extends Number implements Comparable<MutableByte>, Muta
|
||||
* @throws NumberFormatException 转为Byte错误
|
||||
*/
|
||||
public MutableByte(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Byte.parseByte(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableDouble() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableDouble(final double value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableDouble extends Number implements Comparable<MutableDouble>,
|
||||
* @throws NumberFormatException 数字转换错误
|
||||
*/
|
||||
public MutableDouble(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Double.parseDouble(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableFloat() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableFloat(final float value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableFloat extends Number implements Comparable<MutableFloat>, Mu
|
||||
* @throws NumberFormatException 数字转换错误
|
||||
*/
|
||||
public MutableFloat(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Float.parseFloat(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableInt() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableInt(final int value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableInt extends Number implements Comparable<MutableInt>, Mutabl
|
||||
* @throws NumberFormatException 数字转换错误
|
||||
*/
|
||||
public MutableInt(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Integer.parseInt(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableLong() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableLong(final long value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableLong extends Number implements Comparable<MutableLong>, Muta
|
||||
* @throws NumberFormatException 数字转换错误
|
||||
*/
|
||||
public MutableLong(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Long.parseLong(value);
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableObj<T> implements Mutable<T>, Serializable {
|
||||
* 构造,空值
|
||||
*/
|
||||
public MutableObj() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -26,7 +25,6 @@ public class MutableObj<T> implements Mutable<T>, Serializable {
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableObj(final T value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
@ -17,7 +17,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
||||
* 构造,默认值0
|
||||
*/
|
||||
public MutableShort() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -25,7 +24,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
||||
* @param value 值
|
||||
*/
|
||||
public MutableShort(final short value) {
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
@ -43,7 +41,6 @@ public class MutableShort extends Number implements Comparable<MutableShort>, Mu
|
||||
* @throws NumberFormatException 转为Short错误
|
||||
*/
|
||||
public MutableShort(final String value) throws NumberFormatException {
|
||||
super();
|
||||
this.value = Short.parseShort(value);
|
||||
}
|
||||
|
||||
|
@ -29,7 +29,6 @@ public class Tree<T> extends LinkedHashMap<String, Object> implements Node<T> {
|
||||
* @param treeNodeConfig TreeNode配置
|
||||
*/
|
||||
public Tree(TreeNodeConfig treeNodeConfig) {
|
||||
super();
|
||||
this.treeNodeConfig = ObjectUtil.defaultIfNull(
|
||||
treeNodeConfig, TreeNodeConfig.DEFAULT_CONFIG);
|
||||
}
|
||||
|
@ -91,7 +91,6 @@ public class Entity extends Dict {
|
||||
|
||||
// --------------------------------------------------------------- Constructor start
|
||||
public Entity() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -101,7 +100,6 @@ public class Entity extends Dict {
|
||||
*/
|
||||
|
||||
public Entity(String tableName) {
|
||||
super();
|
||||
this.tableName = tableName;
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,6 @@ public class UserPassAuthenticator extends Authenticator {
|
||||
* @param pass 密码
|
||||
*/
|
||||
public UserPassAuthenticator(String user, String pass) {
|
||||
super();
|
||||
this.user = user;
|
||||
this.pass = pass;
|
||||
}
|
||||
|
@ -39,7 +39,6 @@ public class Connector {
|
||||
* @param password 密码
|
||||
*/
|
||||
public Connector(String host, int port, String user, String password) {
|
||||
super();
|
||||
this.host = host;
|
||||
this.port = port;
|
||||
this.user = user;
|
||||
|
@ -53,7 +53,6 @@ public class AviatorTest {
|
||||
Bar[] bars = new Bar[1];
|
||||
|
||||
public Foo(final int i, final float f, final Date date) {
|
||||
super();
|
||||
this.i = i;
|
||||
this.f = f;
|
||||
this.date = date;
|
||||
|
@ -28,7 +28,6 @@ public class CustomProtocolsSSLFactory extends SSLSocketFactory {
|
||||
* @throws NoSuchAlgorithmException NoSuchAlgorithmException
|
||||
*/
|
||||
public CustomProtocolsSSLFactory(String... protocols) throws KeyManagementException, NoSuchAlgorithmException {
|
||||
super();
|
||||
this.protocols = protocols;
|
||||
this.base = SSLSocketFactoryBuilder.create().build();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user