Skip to content

Commit 3efbb35

Browse files
authored
Merge pull request #798 from seadowg/ambiguous-contructor
Fix ambiguous constructors
2 parents 41029da + b7b7b17 commit 3efbb35

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/main/java/org/javarosa/core/model/data/DecimalData.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ public DecimalData() {
4545
public DecimalData(double d) {
4646
this.d = d;
4747
}
48-
public DecimalData(@NotNull Double d) {
49-
setValue(d);
50-
}
5148

5249
@Override
5350
public IAnswerData clone () {

src/main/java/org/javarosa/core/model/data/IntegerData.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ public IntegerData() {
4545
public IntegerData(int n) {
4646
this.n = n;
4747
}
48-
public IntegerData(@NotNull Integer n) {
49-
setValue(n);
50-
}
5148

5249
@Override
5350
public IAnswerData clone () {

src/main/java/org/javarosa/core/model/data/LongData.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ public LongData() {
4444
public LongData(long n) {
4545
this.n = n;
4646
}
47-
public LongData(@NotNull Long n) {
48-
setValue(n);
49-
}
5047

5148
@Override
5249
public IAnswerData clone () {

0 commit comments

Comments
 (0)