Skip to content

Commit dd49236

Browse files
Breaking: add private final modifier to InvalidMappingException fields. (#218)
This makes the class more closely follow Java conventions.
1 parent 6175d16 commit dd49236

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkl-config-java/src/main/java/org/pkl/config/java/InvalidMappingException.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
* <p>When this happens, the most likely explanation is that the generated code is not up-to-date.
2525
*/
2626
public class InvalidMappingException extends RuntimeException {
27-
String pklName;
27+
private final String pklName;
2828

29-
String javaName;
29+
private final String javaName;
3030

3131
public InvalidMappingException(String pklName, String javaName, Exception cause) {
3232
super(cause);

0 commit comments

Comments
 (0)