mirror of
https://github.com/apple/pkl.git
synced 2026-04-27 02:38:41 +02: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.
|
* <p>When this happens, the most likely explanation is that the generated code is not up-to-date.
|
||||||
*/
|
*/
|
||||||
public class InvalidMappingException extends RuntimeException {
|
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) {
|
public InvalidMappingException(String pklName, String javaName, Exception cause) {
|
||||||
super(cause);
|
super(cause);
|
||||||
|
|||||||
Reference in New Issue
Block a user