[Minor] Removed duplicate constructors
This commit is contained in:
parent
285150484e
commit
c1cab0632d
|
@ -32,10 +32,6 @@ public class BooleanValue implements IValue<Boolean>, Serializable {
|
||||||
|
|
||||||
private Boolean value;
|
private Boolean value;
|
||||||
|
|
||||||
public BooleanValue(Boolean value) {
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BooleanValue(boolean value) {
|
public BooleanValue(boolean value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,10 +36,6 @@ public class FloatListValue implements IValue<List<Double>>, Serializable {
|
||||||
|
|
||||||
private List<Double> value;
|
private List<Double> value;
|
||||||
|
|
||||||
public FloatListValue(Double value) {
|
|
||||||
this.value = Collections.singletonList(value);
|
|
||||||
}
|
|
||||||
|
|
||||||
public FloatListValue(double value) {
|
public FloatListValue(double value) {
|
||||||
this.value = Collections.singletonList(value);
|
this.value = Collections.singletonList(value);
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,10 +33,6 @@ public class FloatValue implements IValue<Double>, Serializable {
|
||||||
|
|
||||||
private Double value;
|
private Double value;
|
||||||
|
|
||||||
public FloatValue(Double value) {
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public FloatValue(double value) {
|
public FloatValue(double value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,10 +32,6 @@ public class IntegerValue implements IValue<Integer>, Serializable {
|
||||||
|
|
||||||
private Integer value;
|
private Integer value;
|
||||||
|
|
||||||
public IntegerValue(Integer value) {
|
|
||||||
this.value = value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IntegerValue(int value) {
|
public IntegerValue(int value) {
|
||||||
this.value = value;
|
this.value = value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue