Make fields final if possible to ensure immutability
This commit is contained in:
@@ -48,9 +48,9 @@ public class CraftingWatcher implements ICraftingWatcher
|
||||
|
||||
}
|
||||
|
||||
CraftingGridCache gsc;
|
||||
ICraftingWatcherHost host;
|
||||
HashSet<IAEStack> myInterests = new HashSet<IAEStack>();
|
||||
final CraftingGridCache gsc;
|
||||
final ICraftingWatcherHost host;
|
||||
final HashSet<IAEStack> myInterests = new HashSet<IAEStack>();
|
||||
|
||||
public CraftingWatcher(CraftingGridCache cache, ICraftingWatcherHost host) {
|
||||
gsc = cache;
|
||||
|
||||
Reference in New Issue
Block a user