diff options
| author | 2019-06-29 09:42:56 +0200 | |
|---|---|---|
| committer | 2019-06-29 09:42:56 +0200 | |
| commit | ff82e4a13eef17fadf306e77530ebe65af135699 (patch) | |
| tree | f2733ea10a97c36a6fc8535c2132c22382780e37 | |
| parent | fix yet another lovely Gson NPE (diff) | |
| download | enigma-ff82e4a13eef17fadf306e77530ebe65af135699.tar.gz enigma-ff82e4a13eef17fadf306e77530ebe65af135699.tar.xz enigma-ff82e4a13eef17fadf306e77530ebe65af135699.zip | |
1AM coding
| -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 d091f53f..32f31e32 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 { |