protected member in final class

This commit is contained in:
thatsIch 2015-03-26 12:15:57 +01:00
parent 81c32d5181
commit 0519f60cb0
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ public final class AEFluidStack extends AEStack<IAEFluidStack> implements IAEFlu
public int myHash; public int myHash;
Fluid fluid; Fluid fluid;
protected IAETagCompound tagCompound; private IAETagCompound tagCompound;
@Override @Override
public String toString() public String toString()
@ -83,7 +83,7 @@ public final class AEFluidStack extends AEStack<IAEFluidStack> implements IAEFlu
this.myHash = is.myHash; this.myHash = is.myHash;
} }
protected AEFluidStack(FluidStack is) { private AEFluidStack( FluidStack is ) {
if ( is == null ) if ( is == null )
throw new RuntimeException( "Invalid Itemstack." ); throw new RuntimeException( "Invalid Itemstack." );

View file

@ -75,7 +75,7 @@ public final class AEItemStack extends AEStack<IAEItemStack> implements IAEItemS
this.setCountRequestable( is.getCountRequestable() ); this.setCountRequestable( is.getCountRequestable() );
} }
protected AEItemStack(ItemStack is) { private AEItemStack( ItemStack is ) {
if ( is == null ) if ( is == null )
throw new RuntimeException( "Invalid Itemstack." ); throw new RuntimeException( "Invalid Itemstack." );