Formatted code

This commit is contained in:
yueh
2015-12-24 02:03:16 +01:00
parent e94a0cfccf
commit c9e8a6e939
216 changed files with 1196 additions and 1187 deletions
@@ -45,11 +45,11 @@ public final class Inscribe extends InscriberProcess
@Override
public void register() throws RegistrationError, MissingIngredientError
{
if ( this.getImprintable() == null )
if( this.getImprintable() == null )
{
return;
}
if ( this.getOutput() == null )
if( this.getOutput() == null )
{
return;
}
@@ -57,8 +57,8 @@ public final class Inscribe extends InscriberProcess
final ItemStack[] realInput = this.getImprintable().getItemStackSet();
final List<ItemStack> inputs = new ArrayList<ItemStack>( realInput.length );
Collections.addAll( inputs, realInput );
final ItemStack top = (this.getTopOptional() == null) ? null : this.getTopOptional().getItemStack();
final ItemStack bot = (this.getBotOptional() == null) ? null : this.getBotOptional().getItemStack();
final ItemStack top = ( this.getTopOptional() == null ) ? null : this.getTopOptional().getItemStack();
final ItemStack bot = ( this.getBotOptional() == null ) ? null : this.getBotOptional().getItemStack();
final ItemStack output = this.getOutput().getItemStack();
final InscriberProcessType type = InscriberProcessType.Inscribe;
@@ -1,3 +1,4 @@
package appeng.recipes.handlers;
@@ -77,7 +78,7 @@ public abstract class InscriberProcess implements ICraftHandler, IWebsiteSeriali
{
String pattern = "inscriber ";
if ( this.output != null )
if( this.output != null )
{
pattern += this.output.getQty() + '\n';
pattern += handler.getName( this.output ) + '\n';
@@ -88,7 +89,7 @@ public abstract class InscriberProcess implements ICraftHandler, IWebsiteSeriali
pattern += handler.getName( this.topOptional ) + '\n';
}
if ( this.imprintable != null )
if( this.imprintable != null )
{
pattern += handler.getName( this.imprintable );
}
@@ -45,11 +45,11 @@ public final class Press extends InscriberProcess
@Override
public void register() throws RegistrationError, MissingIngredientError
{
if ( this.getImprintable() == null )
if( this.getImprintable() == null )
{
return;
}
if ( this.getOutput() == null )
if( this.getOutput() == null )
{
return;
}