Upload my Code Changes/Format/imports

This commit is contained in:
Alexander committed 2014-02-16 14:23:50 -05:00
1 parent 5bcdb7ca46
commit 5d4e38c0cb
264 files changed
+4014 -3972

No files matched your search

@@ -74,13 +74,15 @@ public class ASMInterfaceRepair implements IClassTransformer
try
{
obj = Class.forName(inf.replace("/", "."));
//obj = ReflectionHelper.getClass( getClass().getClassLoader(), inf.replace( "/", "." ) );
// obj = ReflectionHelper.getClass( getClass().getClassLoader(),
// inf.replace( "/", "." ) );
}
catch (Throwable _)
{
}
// java.io.InputStream is = this.getClass().getResourceAsStream( "/" + inf + ".class" );
// java.io.InputStream is = this.getClass().getResourceAsStream( "/" +
// inf + ".class" );
APIInterfaces.put(inf, isAvailable = (obj != null));
return isAvailable;
}
@@ -10,9 +10,10 @@ import tconstruct.preloader.TConstructLoaderContainer;
/**
* TCon Preloader properties file helper.
*
* We need this as at an early stage as we don't have access to Forge's Configuration object.
*
*
* We need this as at an early stage as we don't have access to Forge's
* Configuration object.
*
* @author Sunstrike
*/
public class PropertyManager
@@ -30,8 +31,10 @@ public class PropertyManager
/**
* Gets or creates the TCorestruct properties file.
*
* @throws PropAccessException Thrown if a properties file wasn't found and could not be created. Should be treated as a SEVERE log message.
*
* @throws PropAccessException
* Thrown if a properties file wasn't found and could not be
* created. Should be treated as a SEVERE log message.
* @return True if loaded from disk, false if file created instead.
*/
public static boolean getOrCreateProps () throws PropAccessException