Skip to content

Commit 785cba4

Browse files
committed
last test clean ups with creator detection tests (for 3.0)
1 parent 5a19260 commit 785cba4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/java/com/fasterxml/jackson/databind/deser/InnerClassDeserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ static class Dog
1616
public Brain brain;
1717

1818
public Dog() { }
19-
public Dog(String n, boolean thinking) {
19+
protected Dog(String n, boolean thinking) {
2020
name = n;
2121
brain = new Brain();
2222
brain.isThinking = thinking;

src/test/java/com/fasterxml/jackson/databind/objectid/TestObjectIdSerialization.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected static class IdWrapperCustom
9191
public ValueNodeCustom node;
9292

9393
public IdWrapperCustom() { }
94-
public IdWrapperCustom(int id, int value) {
94+
protected IdWrapperCustom(int id, int value) {
9595
node = new ValueNodeCustom(id, value);
9696
}
9797
}
@@ -104,7 +104,7 @@ protected static class ValueNodeCustom {
104104
public int getId() { return id; }
105105

106106
public ValueNodeCustom() { this(0, 0); }
107-
public ValueNodeCustom(int id, int value) {
107+
protected ValueNodeCustom(int id, int value) {
108108
this.id = id;
109109
this.value = value;
110110
}

src/test/java/com/fasterxml/jackson/databind/struct/TestBackRefsWithPolymorphic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static class StringPropertyImpl
178178
{
179179
private String m_value;
180180

181-
public StringPropertyImpl(String name, String value) {
181+
protected StringPropertyImpl(String name, String value) {
182182
super(name);
183183
m_value = value;
184184
}

0 commit comments

Comments
 (0)