Added checkstyle plugin

Moved resources to correct folder
Fixed and improved build information, no longer tracking build.properties
This commit is contained in:
JeromSar
2015-11-22 19:26:47 +01:00
parent 89a317b7df
commit a0058869c9
174 changed files with 1302 additions and 617 deletions

View File

@ -12,7 +12,8 @@ import org.bukkit.material.MaterialData;
@SuppressWarnings("deprecation")
public class DepreciationAggregator
{
public static Block getTargetBlock(LivingEntity entity, HashSet< Byte> transparent, int maxDistance)
public static Block getTargetBlock(LivingEntity entity, HashSet<Byte> transparent, int maxDistance)
{
return entity.getTargetBlock(transparent, maxDistance);
}

View File

@ -5,6 +5,7 @@ import java.util.logging.Logger;
public class FLog
{
private static final Logger FALLBACK_LOGGER = Logger.getLogger("Minecraft-Server");
private static Logger serverLogger = null;
private static Logger pluginLogger = null;

View File

@ -860,8 +860,7 @@ public class FUtil
catch (IllegalAccessException ex)
{
}
}
while (checkClass.getSuperclass() != Object.class
} while (checkClass.getSuperclass() != Object.class
&& ((checkClass = checkClass.getSuperclass()) != null));
return null;
@ -877,16 +876,16 @@ public class FUtil
return ChatColor.translateAlternateColorCodes('&', string);
}
public static long getUnixTime()
{
return System.currentTimeMillis() / 1000L;
}
public static Date getUnixDate(long unix)
{
return new Date(unix * 1000);
}
public static long getUnixTime()
{
return System.currentTimeMillis() / 1000L;
}
public static long getUnixTime(Date date)
{
if (date == null)