Make fields final if possible to ensure immutability
This commit is contained in:
@@ -81,8 +81,8 @@ public class PatternHelper implements ICraftingPatternDetails, Comparable<Patter
|
||||
ACCEPT, DECLINE, TEST
|
||||
}
|
||||
|
||||
HashSet<TestLookup> failCache = new HashSet<TestLookup>();
|
||||
HashSet<TestLookup> passCache = new HashSet<TestLookup>();
|
||||
final HashSet<TestLookup> failCache = new HashSet<TestLookup>();
|
||||
final HashSet<TestLookup> passCache = new HashSet<TestLookup>();
|
||||
|
||||
private void markItemAs(int slotIndex, ItemStack i, TestStatus b)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user