Skip to content

Commit 6c79c94

Browse files
committed
More test clean up
1 parent 681c634 commit 6c79c94

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ static class Unwrapping {
2020
public Location location;
2121

2222
public Unwrapping() { }
23-
public Unwrapping(String str, int x, int y) {
23+
protected Unwrapping(String str, int x, int y) {
2424
name = str;
2525
location = new Location(x, y);
2626
}
@@ -32,7 +32,7 @@ static class DeepUnwrapping
3232
public Unwrapping unwrapped;
3333

3434
public DeepUnwrapping() { }
35-
public DeepUnwrapping(String str, int x, int y) {
35+
protected DeepUnwrapping(String str, int x, int y) {
3636
unwrapped = new Unwrapping(str, x, y);
3737
}
3838
}
@@ -42,7 +42,7 @@ static class Location {
4242
public int y;
4343

4444
public Location() { }
45-
public Location(int x, int y) {
45+
protected Location(int x, int y) {
4646
this.x = x;
4747
this.y = y;
4848
}
@@ -56,7 +56,7 @@ static class PrefixUnwrap
5656
public Location location;
5757

5858
public PrefixUnwrap() { }
59-
public PrefixUnwrap(String str, int x, int y) {
59+
protected PrefixUnwrap(String str, int x, int y) {
6060
name = str;
6161
location = new Location(x, y);
6262
}
@@ -68,7 +68,7 @@ static class DeepPrefixUnwrap
6868
public PrefixUnwrap unwrapped;
6969

7070
public DeepPrefixUnwrap() { }
71-
public DeepPrefixUnwrap(String str, int x, int y) {
71+
protected DeepPrefixUnwrap(String str, int x, int y) {
7272
unwrapped = new PrefixUnwrap(str, x, y);
7373
}
7474
}
@@ -84,7 +84,7 @@ static class ConfigRoot
8484
public ConfigMisc misc = new ConfigMisc();
8585

8686
public ConfigRoot() { }
87-
public ConfigRoot(String name, int value)
87+
protected ConfigRoot(String name, int value)
8888
{
8989
general = new ConfigGeneral(name);
9090
misc.value = value;
@@ -102,7 +102,7 @@ static class ConfigAlternate
102102
public int id;
103103

104104
public ConfigAlternate() { }
105-
public ConfigAlternate(int id, String name, int value)
105+
protected ConfigAlternate(int id, String name, int value)
106106
{
107107
this.id = id;
108108
general = new ConfigGeneral(name);
@@ -116,7 +116,7 @@ static class ConfigGeneral
116116
public ConfigNames names = new ConfigNames();
117117

118118
public ConfigGeneral() { }
119-
public ConfigGeneral(String name) {
119+
protected ConfigGeneral(String name) {
120120
names.name = name;
121121
}
122122
}

0 commit comments

Comments
 (0)