mirror of
https://github.com/apple/pkl.git
synced 2026-01-18 01:17:00 +01:00
Breaking: add private final modifier to InvalidMappingException fields. (#218)
This makes the class more closely follow Java conventions.
This commit is contained in:
@@ -24,9 +24,9 @@ import java.lang.reflect.Type;
|
||||
* <p>When this happens, the most likely explanation is that the generated code is not up-to-date.
|
||||
*/
|
||||
public class InvalidMappingException extends RuntimeException {
|
||||
String pklName;
|
||||
private final String pklName;
|
||||
|
||||
String javaName;
|
||||
private final String javaName;
|
||||
|
||||
public InvalidMappingException(String pklName, String javaName, Exception cause) {
|
||||
super(cause);
|
||||
|
||||
Reference in New Issue
Block a user