Redundant type casts

This commit is contained in:
thatsIch
2015-05-18 00:30:08 +02:00
parent 1cf2e8d43e
commit 2803a671d1
+3 -4
View File
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -22,7 +22,6 @@ package appeng.block;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.List;
import javax.annotation.Nullable;
import com.google.common.base.Optional;
@@ -628,7 +627,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
if( this.hasBlockTileEntity() )
{
rotatable = (IOrientable) this.getTileEntity( w, x, y, z );
rotatable = this.getTileEntity( w, x, y, z );
}
else if( this instanceof IOrientableBlock )
{
@@ -759,7 +758,7 @@ public class AEBaseBlock extends BlockContainer implements IAEFeature
if( this.hasBlockTileEntity() )
{
ori = (IOrientable) this.getTileEntity( w, x, y, z );
ori = this.getTileEntity( w, x, y, z );
}
else if( this instanceof IOrientableBlock )
{