Removes unnecessary returns

This commit is contained in:
thatsIch
2014-09-29 09:47:17 +02:00
parent 35c00873c1
commit aba0c44916
6 changed files with 2 additions and 25 deletions
@@ -581,9 +581,7 @@ public abstract class AEBaseContainer extends Container
if ( syncData.containsKey( idx ) )
{
syncData.get( idx ).update( (long) value );
return;
}
}
final public void updateFullProgressBar(int idx, long value)
@@ -602,7 +600,6 @@ public abstract class AEBaseContainer extends Container
if ( syncData.containsKey( idx ) )
{
syncData.get( idx ).update( value );
return;
}
}
@@ -39,9 +39,7 @@ public class SyncData
try
{
Object val = field.get( source );
if ( val == clientVersion )
return;
else if ( val != null && clientVersion == null )
if ( val != null && clientVersion == null )
send( c, val );
else if ( !val.equals( clientVersion ) )
send( c, val );