Breaking: add private final modifier to InvalidMappingException fields. (#218)
This makes the class more closely follow Java conventions.
This commit is contained in:
1 parent
6175d16d6a
commit
dd49236e00
1 file changed
+2
-2
@@ -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