Skip to content

Commit 528d2fb

Browse files
committed
...
1 parent 1fff59f commit 528d2fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/com/fasterxml/jackson/databind/deser/jdk/JDKScalarsTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ static class PrimitivesBean
9494
public long longValue = 100L;
9595
public float floatValue = 0.25f;
9696
public double doubleValue = -1.0;
97+
98+
public void setLongValue(long l) { longValue = l; }
99+
public void setDoubleValue(double v) { doubleValue = v; }
97100
}
98101

99102
static class WrappersBean
@@ -106,6 +109,9 @@ static class WrappersBean
106109
public Long longValue;
107110
public Float floatValue;
108111
public Double doubleValue;
112+
113+
public void setIntValue(Integer v) { intValue = v; }
114+
public void setDoubleValue(Double v) { doubleValue = v; }
109115
}
110116

111117
// [databind#2101]

0 commit comments

Comments
 (0)