Make fields final if possible to ensure immutability
This commit is contained in:
@@ -37,7 +37,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
|
||||
|
||||
public boolean output;
|
||||
public long freq;
|
||||
TunnelCollection type = new TunnelCollection<T>( null, getClass() );
|
||||
final TunnelCollection type = new TunnelCollection<T>( null, getClass() );
|
||||
|
||||
public PartP2PTunnel(ItemStack is) {
|
||||
super( PartP2PTunnel.class, is );
|
||||
|
||||
Reference in New Issue
Block a user