Program: 58078
Project: 58078
Buggy source:
/** 
 * On Load.
 */
@Override @SuppressWarnings("String_Node_Str") final public void onEnable(){
  PlotMain.main=this;
  setupLogger();
  C.setupTranslations();
  if (getJavaVersion() < 1.7) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    Bukkit.getPluginManager().disablePlugin(this);
    return;
  }
 else   if (getJavaVersion() < 1.8) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
  }
  configs();
  if (Settings.METRICS) {
    try {
      final Metrics metrics=new Metrics(this);
      metrics.start();
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
 catch (    final Exception e) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
  }
 else {
    sendConsoleSenderMessage("String_Node_Str");
  }
  if (Settings.KILL_ROAD_MOBS) {
    killAllEntities();
  }
  if (C.ENABLED.s().length() > 0) {
    Broadcast(C.ENABLED);
  }
  final String[] tables=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"};
  if (Settings.DB.USE_MYSQL) {
    try {
      mySQL=new MySQL(this,Settings.DB.HOST_NAME,Settings.DB.PORT,Settings.DB.DATABASE,Settings.DB.USER,Settings.DB.PASSWORD);
      connection=mySQL.openConnection();
{
        if (DBFunc.dbManager == null) {
          DBFunc.dbManager=new SQLManager(connection,Settings.DB.PREFIX);
        }
        final DatabaseMetaData meta=connection.getMetaData();
        ResultSet res=meta.getTables(null,null,Settings.DB.PREFIX + "String_Node_Str",null);
        if (!res.next()) {
          DBFunc.createTables("String_Node_Str",true);
        }
 else {
          for (          final String table : tables) {
            res=meta.getTables(null,null,Settings.DB.PREFIX + table,null);
            if (!res.next()) {
              DBFunc.createTables("String_Node_Str",false);
            }
          }
        }
      }
    }
 catch (    final Exception e) {
      Logger.add(LogLevel.DANGER,"String_Node_Str");
      sendConsoleSenderMessage("String_Node_Str");
      if ((config == null) || config.getBoolean("String_Node_Str")) {
        sendConsoleSenderMessage("String_Node_Str");
        e.printStackTrace();
        sendConsoleSenderMessage("String_Node_Str");
        sendConsoleSenderMessage("String_Node_Str");
      }
      Bukkit.getPluginManager().disablePlugin(this);
      return;
    }
    plots=DBFunc.getPlots();
  }
 else   if (Settings.DB.USE_MONGO) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
  }
 else   if (Settings.DB.USE_SQLITE) {
    try {
      connection=new SQLite(this,Settings.DB.SQLITE_DB + "String_Node_Str").openConnection();
{
        DBFunc.dbManager=new SQLManager(connection,Settings.DB.PREFIX);
        final DatabaseMetaData meta=connection.getMetaData();
        ResultSet res=meta.getTables(null,null,Settings.DB.PREFIX + "String_Node_Str",null);
        if (!res.next()) {
          DBFunc.createTables("String_Node_Str",true);
        }
 else {
          for (          final String table : tables) {
            res=meta.getTables(null,null,Settings.DB.PREFIX + table,null);
            if (!res.next()) {
              DBFunc.createTables("String_Node_Str",false);
            }
          }
        }
      }
    }
 catch (    final Exception e) {
      Logger.add(LogLevel.DANGER,"String_Node_Str");
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
      sendConsoleSenderMessage("String_Node_Str");
      e.printStackTrace();
      Bukkit.getPluginManager().disablePlugin(this);
      return;
    }
    plots=DBFunc.getPlots();
  }
 else {
    Logger.add(LogLevel.DANGER,"String_Node_Str");
    sendConsoleSenderMessage(C.PREFIX + "String_Node_Str");
    getServer().getPluginManager().disablePlugin(this);
    return;
  }
  if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
    try {
      new PlotMeConverter(this).runAsync();
    }
 catch (    final Exception e) {
      e.printStackTrace();
    }
  }
{
    final MainCommand command=new MainCommand();
    final PluginCommand plotCommand=getCommand("String_Node_Str");
    plotCommand.setExecutor(command);
    plotCommand.setAliases(Arrays.asList("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
    plotCommand.setTabCompleter(command);
  }
  getServer().getPluginManager().registerEvents(new PlayerEvents(),this);
  getServer().getPluginManager().registerEvents(this,this);
  getServer().getPluginManager().registerEvents(new InventoryListener(),this);
  PlotPlusListener.startRunnable(this);
  getServer().getPluginManager().registerEvents(new PlotPlusListener(),this);
  getServer().getPluginManager().registerEvents(new ForceFieldListener(this),this);
  defaultFlags();
  if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
    barAPI=(BarAPI)getServer().getPluginManager().getPlugin("String_Node_Str");
  }
  if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
    worldEdit=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
    final String version=worldEdit.getDescription().getVersion();
    if ((version != null) && version.startsWith("String_Node_Str")) {
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
    }
 else {
      getServer().getPluginManager().registerEvents(new WorldEditListener(),this);
      MainCommand.subCommands.add(new WE_Anywhere());
    }
  }
  if (Settings.WORLDGUARD) {
    if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
      worldGuard=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      worldGuardListener=new WorldGuardListener(this);
      getServer().getPluginManager().registerEvents(worldGuardListener,this);
    }
  }
  if (Settings.AUTO_CLEAR) {
    ExpireManager.runTask();
  }
{
    if ((getServer().getPluginManager().getPlugin("String_Node_Str") != null) && getServer().getPluginManager().getPlugin("String_Node_Str").isEnabled()) {
      final RegisteredServiceProvider<Economy> economyProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
      if (economyProvider != null) {
        economy=economyProvider.getProvider();
      }
    }
    useEconomy=(economy != null);
  }
{
    getServer().getScheduler().scheduleSyncRepeatingTask(this,new Lag(),100L,1L);
  }
{
    try {
      new SetBlockFast();
      PlotHelper.canSetFast=true;
    }
 catch (    final Throwable e) {
      PlotHelper.canSetFast=false;
    }
    try {
      new SendChunk();
      PlotHelper.canSendChunk=true;
    }
 catch (    final Throwable e) {
      PlotHelper.canSendChunk=false;
    }
  }
{
    com.intellectualcrafters.plot.commands.plugin.setup(this);
  }
{
    boolean checkVersion=checkVersion();
    if (!checkVersion && Settings.TITLES) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
      Settings.TITLES=false;
      FlagManager.removeFlag(FlagManager.getFlag("String_Node_Str"));
    }
    if (Settings.OFFLINE_MODE) {
      UUIDHandler.uuidWrapper=new OfflineUUIDWrapper();
      Settings.OFFLINE_MODE=true;
    }
 else     if (checkVersion) {
      UUIDHandler.uuidWrapper=new DefaultUUIDWrapper();
      Settings.OFFLINE_MODE=false;
    }
 else {
      UUIDHandler.uuidWrapper=new OfflineUUIDWrapper();
      Settings.OFFLINE_MODE=true;
    }
    if (Settings.OFFLINE_MODE) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
 else {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
  }
  if (C.ENABLED.s().length() > 0) {
    Broadcast(C.ENABLED);
  }
}

Fixed version (ground truth):
/** 
 * On Load.
 */
@Override @SuppressWarnings("String_Node_Str") final public void onEnable(){
  PlotMain.main=this;
  setupLogger();
  C.setupTranslations();
  if (getJavaVersion() < 1.7) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    Bukkit.getPluginManager().disablePlugin(this);
    return;
  }
 else   if (getJavaVersion() < 1.8) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
  }
  configs();
  if (Settings.METRICS) {
    try {
      final Metrics metrics=new Metrics(this);
      metrics.start();
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
 catch (    final Exception e) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
  }
 else {
    sendConsoleSenderMessage("String_Node_Str");
  }
  if (Settings.KILL_ROAD_MOBS) {
    killAllEntities();
  }
  if (C.ENABLED.s().length() > 0) {
    Broadcast(C.ENABLED);
  }
  final String[] tables=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"};
  if (Settings.DB.USE_MYSQL) {
    try {
      mySQL=new MySQL(this,Settings.DB.HOST_NAME,Settings.DB.PORT,Settings.DB.DATABASE,Settings.DB.USER,Settings.DB.PASSWORD);
      connection=mySQL.openConnection();
{
        if (DBFunc.dbManager == null) {
          DBFunc.dbManager=new SQLManager(connection,Settings.DB.PREFIX);
        }
        final DatabaseMetaData meta=connection.getMetaData();
        ResultSet res=meta.getTables(null,null,Settings.DB.PREFIX + "String_Node_Str",null);
        if (!res.next()) {
          DBFunc.createTables("String_Node_Str",true);
        }
 else {
          for (          final String table : tables) {
            res=meta.getTables(null,null,Settings.DB.PREFIX + table,null);
            if (!res.next()) {
              DBFunc.createTables("String_Node_Str",false);
            }
          }
        }
      }
    }
 catch (    final Exception e) {
      Logger.add(LogLevel.DANGER,"String_Node_Str");
      sendConsoleSenderMessage("String_Node_Str");
      if ((config == null) || config.getBoolean("String_Node_Str")) {
        sendConsoleSenderMessage("String_Node_Str");
        e.printStackTrace();
        sendConsoleSenderMessage("String_Node_Str");
        sendConsoleSenderMessage("String_Node_Str");
      }
      Bukkit.getPluginManager().disablePlugin(this);
      return;
    }
    plots=DBFunc.getPlots();
  }
 else   if (Settings.DB.USE_MONGO) {
    sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
  }
 else   if (Settings.DB.USE_SQLITE) {
    try {
      connection=new SQLite(this,this.getDataFolder() + File.separator + Settings.DB.SQLITE_DB+ "String_Node_Str").openConnection();
{
        DBFunc.dbManager=new SQLManager(connection,Settings.DB.PREFIX);
        final DatabaseMetaData meta=connection.getMetaData();
        ResultSet res=meta.getTables(null,null,Settings.DB.PREFIX + "String_Node_Str",null);
        if (!res.next()) {
          DBFunc.createTables("String_Node_Str",true);
        }
 else {
          for (          final String table : tables) {
            res=meta.getTables(null,null,Settings.DB.PREFIX + table,null);
            if (!res.next()) {
              DBFunc.createTables("String_Node_Str",false);
            }
          }
        }
      }
    }
 catch (    final Exception e) {
      Logger.add(LogLevel.DANGER,"String_Node_Str");
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
      sendConsoleSenderMessage("String_Node_Str");
      e.printStackTrace();
      Bukkit.getPluginManager().disablePlugin(this);
      return;
    }
    plots=DBFunc.getPlots();
  }
 else {
    Logger.add(LogLevel.DANGER,"String_Node_Str");
    sendConsoleSenderMessage(C.PREFIX + "String_Node_Str");
    getServer().getPluginManager().disablePlugin(this);
    return;
  }
{
    final MainCommand command=new MainCommand();
    final PluginCommand plotCommand=getCommand("String_Node_Str");
    plotCommand.setExecutor(command);
    plotCommand.setAliases(Arrays.asList("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
    plotCommand.setTabCompleter(command);
  }
  getServer().getPluginManager().registerEvents(new PlayerEvents(),this);
  getServer().getPluginManager().registerEvents(this,this);
  getServer().getPluginManager().registerEvents(new InventoryListener(),this);
  PlotPlusListener.startRunnable(this);
  getServer().getPluginManager().registerEvents(new PlotPlusListener(),this);
  getServer().getPluginManager().registerEvents(new ForceFieldListener(this),this);
  defaultFlags();
  if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
    barAPI=(BarAPI)getServer().getPluginManager().getPlugin("String_Node_Str");
  }
  if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
    worldEdit=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
    final String version=worldEdit.getDescription().getVersion();
    if ((version != null) && version.startsWith("String_Node_Str")) {
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
      PlotMain.sendConsoleSenderMessage("String_Node_Str");
    }
 else {
      getServer().getPluginManager().registerEvents(new WorldEditListener(),this);
      MainCommand.subCommands.add(new WE_Anywhere());
    }
  }
  if (Settings.WORLDGUARD) {
    if (getServer().getPluginManager().getPlugin("String_Node_Str") != null) {
      worldGuard=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      worldGuardListener=new WorldGuardListener(this);
      getServer().getPluginManager().registerEvents(worldGuardListener,this);
    }
  }
  if (Settings.AUTO_CLEAR) {
    ExpireManager.runTask();
  }
{
    if ((getServer().getPluginManager().getPlugin("String_Node_Str") != null) && getServer().getPluginManager().getPlugin("String_Node_Str").isEnabled()) {
      final RegisteredServiceProvider<Economy> economyProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
      if (economyProvider != null) {
        economy=economyProvider.getProvider();
      }
    }
    useEconomy=(economy != null);
  }
{
    getServer().getScheduler().scheduleSyncRepeatingTask(this,new Lag(),100L,1L);
  }
{
    try {
      new SetBlockFast();
      PlotHelper.canSetFast=true;
    }
 catch (    final Throwable e) {
      PlotHelper.canSetFast=false;
    }
    try {
      new SendChunk();
      PlotHelper.canSendChunk=true;
    }
 catch (    final Throwable e) {
      PlotHelper.canSendChunk=false;
    }
  }
{
    com.intellectualcrafters.plot.commands.plugin.setup(this);
  }
{
    boolean checkVersion=checkVersion();
    if (!checkVersion && Settings.TITLES) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
      Settings.TITLES=false;
      FlagManager.removeFlag(FlagManager.getFlag("String_Node_Str"));
    }
    if (Settings.OFFLINE_MODE) {
      UUIDHandler.uuidWrapper=new OfflineUUIDWrapper();
      Settings.OFFLINE_MODE=true;
    }
 else     if (checkVersion) {
      UUIDHandler.uuidWrapper=new DefaultUUIDWrapper();
      Settings.OFFLINE_MODE=false;
    }
 else {
      UUIDHandler.uuidWrapper=new OfflineUUIDWrapper();
      Settings.OFFLINE_MODE=true;
    }
    if (Settings.OFFLINE_MODE) {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
 else {
      sendConsoleSenderMessage(C.PREFIX.s() + "String_Node_Str");
    }
  }
  if (C.ENABLED.s().length() > 0) {
    Broadcast(C.ENABLED);
  }
}