Declares a serialVersionUID.

Lots of classes here are serializable, but warn due to missing UID. Serializables are supposed to have a UID for version compatability. Fixes a bunch of compiler warnings.

Also adds in "default:" branch to a few switches which were warning due to missing cases.
This commit is contained in:
Meerkov
2018-04-17 16:48:18 -07:00
parent 0aea9ce153
commit 6efd631fd8
36 changed files with 175 additions and 3 deletions

View File

@@ -219,12 +219,15 @@ public final class BoosterUtils {
preferredColors.addAll(possibleColors);
}
includeArtifacts = MyRandom.getRandom().nextDouble() < 0.5;
// Fall through
case BALANCED:
populateBalancedFilters(colorFilters, preferredColors, cardPool, includeArtifacts);
break;
case RANDOM:
populateRandomFilters(colorFilters);
break;
default:
// Do nothing
}