Skip to content

Commit c0fa453

Browse files
cursoragentsimbo1905
andcommitted
Issue #121 Fix record compact constructor access
Co-authored-by: simbo1905 <simbo1905@60hertz.com>
1 parent 6b3511d commit c0fa453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

json-java21-jsonpath/src/main/java/json/java21/jsonpath/JsonPathAst.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ record JsonPathAst(List<Segment> segments) {
1111

1212
sealed interface Segment permits Segment.Child, Segment.Wildcard {
1313
record Child(String name) implements Segment {
14-
Child {
14+
public Child {
1515
Objects.requireNonNull(name, "name must not be null");
1616
}
1717
}

0 commit comments

Comments
 (0)