Browse Source

Method cleanup

combat-2
MagicBot 9 months ago
parent
commit
42362dca90
  1. 6
      src/engine/gameManager/DbManager.java

6
src/engine/gameManager/DbManager.java

@ -269,7 +269,7 @@ public enum DbManager { @@ -269,7 +269,7 @@ public enum DbManager {
public static <E extends java.lang.Enum<E>> EnumSet<E> parseEnumSet(String mysqlSet, Class<E> enumClass) {
// Create empty EnumSet of the given class
// Create empty output set of the passed Enum class
EnumSet<E> enumSet = EnumSet.noneOf(enumClass);
@ -286,13 +286,13 @@ public enum DbManager { @@ -286,13 +286,13 @@ public enum DbManager {
element = element.trim();
// Parse the element into an enum and add to set
// Parse the element into an enum; add to the output set
E enumConstant = java.lang.Enum.valueOf(enumClass, element);
enumSet.add(enumConstant);
}
// Return the EnumSet
// Return the output set
return enumSet;
}

Loading…
Cancel
Save