Skip to content

Commit 30d91ea

Browse files
committed
... more test clean up
1 parent 6c79c94 commit 30d91ea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ static class PojoAsArrayWrapper
2424
public PojoAsArray value;
2525

2626
public PojoAsArrayWrapper() { }
27-
public PojoAsArrayWrapper(String name, int x, int y, boolean c) {
27+
protected PojoAsArrayWrapper(String name, int x, int y, boolean c) {
2828
value = new PojoAsArray(name, x, y, c);
2929
}
3030
}
@@ -34,7 +34,7 @@ static class NonAnnotatedXY {
3434
public int x, y;
3535

3636
public NonAnnotatedXY() { }
37-
public NonAnnotatedXY(int x0, int y0) {
37+
protected NonAnnotatedXY(int x0, int y0) {
3838
x = x0;
3939
y = y0;
4040
}
@@ -49,7 +49,7 @@ static class PojoAsArray
4949
public boolean complete;
5050

5151
public PojoAsArray() { }
52-
public PojoAsArray(String name, int x, int y, boolean c) {
52+
protected PojoAsArray(String name, int x, int y, boolean c) {
5353
this.name = name;
5454
this.x = x;
5555
this.y = y;
@@ -66,7 +66,7 @@ static class FlatPojo
6666
public boolean complete;
6767

6868
public FlatPojo() { }
69-
public FlatPojo(String name, int x, int y, boolean c) {
69+
protected FlatPojo(String name, int x, int y, boolean c) {
7070
this.name = name;
7171
this.x = x;
7272
this.y = y;
@@ -113,7 +113,7 @@ static class AsArrayWithMap
113113
public Map<Integer,Integer> attrs;
114114

115115
public AsArrayWithMap() { }
116-
public AsArrayWithMap(int x, int y) {
116+
protected AsArrayWithMap(int x, int y) {
117117
attrs = new HashMap<Integer,Integer>();
118118
attrs.put(x, y);
119119
}

0 commit comments

Comments
 (0)