mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
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:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user