fixed style
This commit is contained in:
parent
e9b84c7121
commit
3f46097772
5 changed files with 12 additions and 10 deletions
|
@ -40,12 +40,12 @@ import buildcraft.transport.Pipe;
|
|||
*/
|
||||
public final class RPCHandler {
|
||||
|
||||
Class handledClass;
|
||||
|
||||
public static int MAX_PACKET_SIZE = 30 * 1024;
|
||||
|
||||
private static Map<String, RPCHandler> handlers = new TreeMap<String, RPCHandler>();
|
||||
|
||||
private Class handledClass;
|
||||
|
||||
private Map<String, Integer> methodsMap = new TreeMap<String, Integer>();
|
||||
|
||||
class MethodMapping {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<property name="format" value="^[a-z][a-zA-Z0-9_]*$"/>
|
||||
</module>
|
||||
<module name="ImportOrder">
|
||||
<property name="groups" value="java,com,org,io,net.minecraft,cpw,net.minecraftforge,buildcraft"/>
|
||||
<property name="groups" value="java,com,org,io,joptsimple,net.minecraft,cpw,net.minecraftforge,buildcraft"/>
|
||||
</module>
|
||||
<module name="WhitespaceAround">
|
||||
<property name="tokens" value="ASSIGN,BAND,BAND_ASSIGN,BOR,BOR_ASSIGN,BSR,BSR_ASSIGN,BXOR,BXOR_ASSIGN,COLON,DIV,DIV_ASSIGN,EQUAL,GE,GT,LAND,LE,LITERAL_ASSERT,LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_RETURN,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE,LOR,LT,MINUS,MINUS_ASSIGN,MOD,MOD_ASSIGN,NOT_EQUAL,PLUS,PLUS_ASSIGN,QUESTION,SL,SLIST,SL_ASSIGN,SR,SR_ASSIGN,STAR,STAR_ASSIGN,LITERAL_ASSERT,TYPE_EXTENSION_AND,WILDCARD_TYPE"/>
|
||||
|
|
|
@ -43,10 +43,6 @@ import buildcraft.tests.testcase.TileTestCase;
|
|||
@Mod(name = "BuildCraft Tests", version = Version.VERSION, useMetadata = false, modid = "BuildCraft|Tests", dependencies = DefaultProps.DEPENDENCY_CORE)
|
||||
public class BuildCraftTests extends BuildCraftMod {
|
||||
|
||||
private long startTestTime = 0;
|
||||
private String testFile = "";
|
||||
private Sequence testSequence;
|
||||
|
||||
public static Block blockTestPathfinding;
|
||||
public static Block blockTestCase;
|
||||
|
||||
|
@ -55,6 +51,10 @@ public class BuildCraftTests extends BuildCraftMod {
|
|||
@Mod.Instance("BuildCraft|Tests")
|
||||
public static BuildCraftTests instance;
|
||||
|
||||
private long startTestTime = 0;
|
||||
private String testFile = "";
|
||||
private Sequence testSequence;
|
||||
|
||||
@Mod.EventHandler
|
||||
public void preInit(FMLPreInitializationEvent evt) {
|
||||
blockTestPathfinding = new BlockTestPathfinding();
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
package buildcraft.tests;
|
||||
|
||||
public class GuiTestIds {
|
||||
public final class GuiTestIds {
|
||||
|
||||
public static final int TESTER_ID = 0;
|
||||
public static final int TESTCASE_ID = 1;
|
||||
|
||||
private GuiTestIds() {
|
||||
// Deactivate constructor
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,8 +33,7 @@ public class GuiTestCase extends GuiContainer {
|
|||
"buildcraft", DefaultProps.TEXTURE_PATH_GUI + "/tester.png");
|
||||
|
||||
private GuiTextField textField;
|
||||
|
||||
TileTestCase testCase;
|
||||
private TileTestCase testCase;
|
||||
|
||||
public GuiTestCase(EntityPlayer player, int x, int y, int z) {
|
||||
super(new ContainerTestCase(player, x, y, z));
|
||||
|
|
Loading…
Reference in a new issue