From 2803a671d193c499bec5b79e9b4408a60f1f7497 Mon Sep 17 00:00:00 2001 From: thatsIch Date: Mon, 18 May 2015 00:30:08 +0200 Subject: [PATCH] Redundant type casts --- src/main/java/appeng/block/AEBaseBlock.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/appeng/block/AEBaseBlock.java b/src/main/java/appeng/block/AEBaseBlock.java index 8be1aba91..926561e9b 100644 --- a/src/main/java/appeng/block/AEBaseBlock.java +++ b/src/main/java/appeng/block/AEBaseBlock.java @@ -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 ) {