diff options
Diffstat (limited to 'src/main/java')
| -rw-r--r-- | src/main/java/cuchaz/enigma/EnigmaProfile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/EnigmaProfile.java b/src/main/java/cuchaz/enigma/EnigmaProfile.java index d091f53..32f31e3 100644 --- a/src/main/java/cuchaz/enigma/EnigmaProfile.java +++ b/src/main/java/cuchaz/enigma/EnigmaProfile.java | |||
| @@ -39,7 +39,7 @@ public final class EnigmaProfile { | |||
| 39 | 39 | ||
| 40 | public MappingSaveParameters getMappingSaveParameters() { | 40 | public MappingSaveParameters getMappingSaveParameters() { |
| 41 | //noinspection ConstantConditions | 41 | //noinspection ConstantConditions |
| 42 | return mappingSaveParameters != null ? EnigmaProfile.DEFAULT_MAPPING_SAVE_PARAMETERS : mappingSaveParameters; | 42 | return mappingSaveParameters == null ? EnigmaProfile.DEFAULT_MAPPING_SAVE_PARAMETERS : mappingSaveParameters; |
| 43 | } | 43 | } |
| 44 | 44 | ||
| 45 | public static class Service { | 45 | public static class Service { |