From ff82e4a13eef17fadf306e77530ebe65af135699 Mon Sep 17 00:00:00 2001 From: Adrian Siekierka Date: Sat, 29 Jun 2019 09:42:56 +0200 Subject: 1AM coding --- src/main/java/cuchaz/enigma/EnigmaProfile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { public MappingSaveParameters getMappingSaveParameters() { //noinspection ConstantConditions - return mappingSaveParameters != null ? EnigmaProfile.DEFAULT_MAPPING_SAVE_PARAMETERS : mappingSaveParameters; + return mappingSaveParameters == null ? EnigmaProfile.DEFAULT_MAPPING_SAVE_PARAMETERS : mappingSaveParameters; } public static class Service { -- cgit v1.2.3