File tree 4 files changed +4
-4
lines changed
src/main/java/io/github/orangain/jsonmatch/pattern
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public abstract class ArrayPatternNode extends JsonPatternNode {
15
15
* Constructor of the JSON array pattern node.
16
16
* @param expected The string representation of the expected JSON array pattern.
17
17
*/
18
- public ArrayPatternNode (@ NotNull String expected ) {
18
+ protected ArrayPatternNode (@ NotNull String expected ) {
19
19
super (expected );
20
20
}
21
21
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public abstract class JsonPatternNode {
20
20
* Constructor of the JSON pattern node.
21
21
* @param expected The string representation of the expected JSON pattern.
22
22
*/
23
- public JsonPatternNode (@ NotNull String expected ) {
23
+ protected JsonPatternNode (@ NotNull String expected ) {
24
24
this .expected = expected ;
25
25
}
26
26
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public abstract class ObjectPatternNode extends JsonPatternNode {
10
10
* Constructor of the JSON object pattern node.
11
11
* @param expected The string representation of the expected JSON object pattern.
12
12
*/
13
- public ObjectPatternNode (@ NotNull String expected ) {
13
+ protected ObjectPatternNode (@ NotNull String expected ) {
14
14
super (expected );
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public abstract class ValuePatternNode extends JsonPatternNode {
10
10
* Constructor of the JSON simple pattern node.
11
11
* @param expected The string representation of the expected JSON simple pattern.
12
12
*/
13
- public ValuePatternNode (@ NotNull String expected ) {
13
+ protected ValuePatternNode (@ NotNull String expected ) {
14
14
super (expected );
15
15
}
16
16
}
You can’t perform that action at this time.
0 commit comments