Always use qualified access for fields and methods

This commit is contained in:
yueh
2017-07-20 21:27:22 +02:00
parent f9cad0758d
commit 15582fd1df
211 changed files with 1086 additions and 1086 deletions
@@ -306,7 +306,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements /* IPip
public ItemStack insertItem( int slot, @Nonnull ItemStack stack, boolean simulate )
{
if( isItemValidForSlot( slot, stack ) )
if( this.isItemValidForSlot( slot, stack ) )
{
AdaptorIInventory adaptor = new AdaptorIInventory( this.getDestination() );
@@ -348,7 +348,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements /* IPip
@Override
public int getSlotLimit( int slot )
{
if( slot >= 0 && slot < getDestination().getSizeInventory() )
if( slot >= 0 && slot < this.getDestination().getSizeInventory() )
{
return this.getDestination().getInventoryStackLimit();
}
@@ -498,7 +498,7 @@ public class PartP2PItems extends PartP2PTunnel<PartP2PItems> implements /* IPip
@Override
public IPartModel getStaticModels()
{
return MODELS.getModel( isPowered(), isActive() );
return MODELS.getModel( this.isPowered(), this.isActive() );
}
@Override