Makes the encryption style default to substitution

This commit is contained in:
Kristian Knarvik 2021-09-08 16:33:14 +02:00
parent e1d1ff83b4
commit c29075511e

View File

@ -5,7 +5,7 @@ package net.knarcraft.bookswithoutborders.state;
*/
public enum EncryptionStyle {
DNA("dna"),
SUBSTITUTION("");
SUBSTITUTION("substitution");
private final String name;
@ -25,6 +25,6 @@ public enum EncryptionStyle {
return style;
}
}
return null;
return SUBSTITUTION;
}
}