Program: 94054
Project: 94054
Buggy source:
public static void sendMessage(final Message type,final Player player,PlayerLoginEvent event){
  long start=Util.timeMS();
  ZCraftIRC.sendMessage(type,player);
  if (type.equals(Message.database_failure)) {
    AuthDB.server.broadcastMessage(Util.replaceStrings(AuthDB_message_database_failure,null,null));
  }
 else   if (Config.database_ison) {
    if (type.equals(Message.welcome_guest)) {
      if (Config.register_force) {
        Util.spamText(player,Message.welcome_guest.text,Config.register_delay,Config.register_show);
      }
 else {
        player.sendMessage(Util.replaceStrings(AuthDB_message_welcome_guest,player,null));
      }
    }
 else     if (type.equals(Message.reload_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_reload_success,player,null));
    }
 else     if (type.equals(Message.guest_notauthorized)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_guest_notauthorized,player,null));
    }
 else     if (type.equals(Message.register_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_success,player,null));
    }
 else     if (type.equals(Message.register_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_failure,player,null));
    }
 else     if (type.equals(Message.register_exists)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_exists,player,null));
    }
 else     if (type.equals(Message.register_disabled)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_disabled,player,null));
    }
 else     if (type.equals(Message.register_timeout)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_timeout,player,null));
    }
 else     if (type.equals(Message.register_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_usage,player,null));
    }
 else     if (type.equals(Message.unregister_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_success,player,null));
    }
 else     if (type.equals(Message.unregister_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_failure,player,null));
    }
 else     if (type.equals(Message.unregister_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_usage,player,null));
    }
 else     if (type.equals(Message.login_normal)) {
      Util.spamText(player,Message.login_normal.text,Config.login_delay,Config.login_show);
    }
 else     if (type.equals(Message.login_prompt)) {
      Util.spamText(player,Message.login_prompt.text,Config.login_delay,Config.login_show);
    }
 else     if (type.equals(Message.login_success)) {
      AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_success,player,null));
    }
 else     if (type.equals(Message.login_failure)) {
      String temp=AuthDB.AuthDB_PasswordTries.get(player.getName());
      int tries=Integer.parseInt(temp) + 1;
      if (tries > Integer.parseInt(Config.login_tries) && Config.login_action.equalsIgnoreCase("String_Node_Str")) {
        player.kickPlayer(Util.replaceStrings(AuthDB_message_login_failure,player,null));
        AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str");
      }
 else {
        AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str" + tries);
        player.sendMessage(Util.replaceStrings(AuthDB_message_login_failure,player,null));
      }
    }
 else     if (type.equals(Message.login_authorized)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_authorized,player,null));
    }
 else     if (type.equals(Message.login_notregistered)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_notregistered,player,null));
    }
 else     if (type.equals(Message.login_timeout)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_timeout,player,null));
    }
 else     if (type.equals(Message.login_admin)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_admin,player,null));
    }
 else     if (type.equals(Message.login_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_usage,player,null));
    }
 else     if (type.equals(Message.logout_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_success,player,null));
    }
 else     if (type.equals(Message.logout_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_failure,player,null));
    }
 else     if (type.equals(Message.logout_admin)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_admin,player,null));
    }
 else     if (type.equals(Message.link_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_success,player,null));
    }
 else     if (type.equals(Message.link_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_failure,player,null));
    }
 else     if (type.equals(Message.link_exists)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_exists,player,null));
    }
 else     if (type.equals(Message.link_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_usage,player,null));
    }
 else     if (type.equals(Message.unlink_success)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_success,player,null));
    }
 else     if (type.equals(Message.unlink_failure)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_failure,player,null));
    }
 else     if (type.equals(Message.unlink_nonexist)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_nonexist,player,null));
    }
 else     if (type.equals(Message.unlink_usage)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_usage,player,null));
    }
 else     if (type.equals(Message.email_required)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_required,player,null));
    }
 else     if (type.equals(Message.email_invalid)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_invalid,player,null));
    }
 else     if (type.equals(Message.email_badcharacters)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_badcharacters,player,null));
    }
 else     if (type.equals(Message.filter_renamed)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_filter_renamed,player,null));
    }
 else     if (type.equals(Message.filter_username)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_filter_username,player,null));
    }
 else     if (type.equals(Message.filter_password)) {
      if (Config.filter_action.equalsIgnoreCase("String_Node_Str")) {
        player.kickPlayer(Util.replaceStrings(AuthDB_message_filter_password,player,null));
      }
 else {
        player.sendMessage(Util.replaceStrings(AuthDB_message_filter_password,player,null));
      }
    }
 else     if (type.equals(Message.filter_whitelist)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_filter_whitelist,player,null));
    }
 else     if (type.equals(Message.username_minimum)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_username_minimum,player,null));
    }
 else     if (type.equals(Message.username_maximum)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_username_maximum,player,null));
    }
 else     if (type.equals(Message.password_minimum)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_minimum,player,null));
    }
 else     if (type.equals(Message.password_maximum)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_maximum,player,null));
    }
 else     if (type.equals(Message.password_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_success,player,null));
    }
 else     if (type.equals(Message.password_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_failure,player,null));
    }
 else     if (type.equals(Message.password_notregistered)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_notregistered,player,null));
    }
 else     if (type.equals(Message.password_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_usage,player,null));
    }
 else     if (type.equals(Message.session_valid)) {
      if (Config.hasBukkitContrib) {
        player.sendMessage("String_Node_Str");
      }
      player.sendMessage(Util.replaceStrings(AuthDB_message_session_valid,player,null));
    }
 else     if (type.equals(Message.session_protected)) {
      event.disallow(Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_session_protected,player,null));
    }
 else     if (type.equals(Message.idle_kick)) {
      player.kickPlayer(Util.replaceStrings(AuthDB_message_idle_kick,player,null));
    }
 else     if (type.equals(Message.idle_whitelist)) {
    }
 else     if (type.equals(Message.protection_denied)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_protection_denied,player,null));
    }
  }
 else {
    Messages.sendMessage(Message.database_failure,null,null);
  }
  long stop=Util.timeMS();
  Util.logging.timeUsage(stop - start,"String_Node_Str");
}

Fixed version (ground truth):
public static void sendMessage(final Message type,final Player player,PlayerLoginEvent event){
  long start=Util.timeMS();
  ZCraftIRC.sendMessage(type,player);
  if (type.equals(Message.database_failure)) {
    AuthDB.server.broadcastMessage(Util.replaceStrings(AuthDB_message_database_failure,null,null));
  }
 else   if (Config.database_ison) {
    if (type.equals(Message.welcome_guest)) {
      if (Config.register_force) {
        Util.spamText(player,Message.welcome_guest.text,Config.register_delay,Config.register_show);
      }
 else {
        player.sendMessage(Util.replaceStrings(AuthDB_message_welcome_guest,player,null));
      }
    }
 else     if (type.equals(Message.reload_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_reload_success,player,null));
    }
 else     if (type.equals(Message.guest_notauthorized)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_guest_notauthorized,player,null));
    }
 else     if (type.equals(Message.register_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_success,player,null));
    }
 else     if (type.equals(Message.register_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_failure,player,null));
    }
 else     if (type.equals(Message.register_exists)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_exists,player,null));
    }
 else     if (type.equals(Message.register_disabled)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_disabled,player,null));
    }
 else     if (type.equals(Message.register_timeout)) {
      player.kickPlayer(Util.replaceStrings(AuthDB_message_register_timeout,player,null));
    }
 else     if (type.equals(Message.register_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_register_usage,player,null));
    }
 else     if (type.equals(Message.unregister_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_success,player,null));
    }
 else     if (type.equals(Message.unregister_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_failure,player,null));
    }
 else     if (type.equals(Message.unregister_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_unregister_usage,player,null));
    }
 else     if (type.equals(Message.login_normal)) {
      Util.spamText(player,Message.login_normal.text,Config.login_delay,Config.login_show);
    }
 else     if (type.equals(Message.login_prompt)) {
      Util.spamText(player,Message.login_prompt.text,Config.login_delay,Config.login_show);
    }
 else     if (type.equals(Message.login_success)) {
      AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_success,player,null));
    }
 else     if (type.equals(Message.login_failure)) {
      String temp=AuthDB.AuthDB_PasswordTries.get(player.getName());
      int tries=Integer.parseInt(temp) + 1;
      if (tries > Integer.parseInt(Config.login_tries) && Config.login_action.equalsIgnoreCase("String_Node_Str")) {
        player.kickPlayer(Util.replaceStrings(AuthDB_message_login_failure,player,null));
        AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str");
      }
 else {
        AuthDB.AuthDB_PasswordTries.put(player.getName(),"String_Node_Str" + tries);
        player.sendMessage(Util.replaceStrings(AuthDB_message_login_failure,player,null));
      }
    }
 else     if (type.equals(Message.login_authorized)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_authorized,player,null));
    }
 else     if (type.equals(Message.login_notregistered)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_notregistered,player,null));
    }
 else     if (type.equals(Message.login_timeout)) {
      player.kickPlayer(Util.replaceStrings(AuthDB_message_login_timeout,player,null));
    }
 else     if (type.equals(Message.login_admin)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_admin,player,null));
    }
 else     if (type.equals(Message.login_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_login_usage,player,null));
    }
 else     if (type.equals(Message.logout_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_success,player,null));
    }
 else     if (type.equals(Message.logout_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_failure,player,null));
    }
 else     if (type.equals(Message.logout_admin)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_logout_admin,player,null));
    }
 else     if (type.equals(Message.link_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_success,player,null));
    }
 else     if (type.equals(Message.link_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_failure,player,null));
    }
 else     if (type.equals(Message.link_exists)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_exists,player,null));
    }
 else     if (type.equals(Message.link_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_link_usage,player,null));
    }
 else     if (type.equals(Message.unlink_success)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_success,player,null));
    }
 else     if (type.equals(Message.unlink_failure)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_failure,player,null));
    }
 else     if (type.equals(Message.unlink_nonexist)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_nonexist,player,null));
    }
 else     if (type.equals(Message.unlink_usage)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_unlink_usage,player,null));
    }
 else     if (type.equals(Message.email_required)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_required,player,null));
    }
 else     if (type.equals(Message.email_invalid)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_invalid,player,null));
    }
 else     if (type.equals(Message.email_badcharacters)) {
      Util.logging.Debug("String_Node_Str" + player.getName() + "String_Node_Str");
      player.sendMessage(Util.replaceStrings(AuthDB_message_email_badcharacters,player,null));
    }
 else     if (type.equals(Message.filter_renamed)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_filter_renamed,player,null));
    }
 else     if (type.equals(Message.filter_username)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_filter_username,player,null));
    }
 else     if (type.equals(Message.filter_password)) {
      if (Config.filter_action.equalsIgnoreCase("String_Node_Str")) {
        player.kickPlayer(Util.replaceStrings(AuthDB_message_filter_password,player,null));
      }
 else {
        player.sendMessage(Util.replaceStrings(AuthDB_message_filter_password,player,null));
      }
    }
 else     if (type.equals(Message.filter_whitelist)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_filter_whitelist,player,null));
    }
 else     if (type.equals(Message.username_minimum)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_username_minimum,player,null));
    }
 else     if (type.equals(Message.username_maximum)) {
      event.disallow(PlayerLoginEvent.Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_username_maximum,player,null));
    }
 else     if (type.equals(Message.password_minimum)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_minimum,player,null));
    }
 else     if (type.equals(Message.password_maximum)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_maximum,player,null));
    }
 else     if (type.equals(Message.password_success)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_success,player,null));
    }
 else     if (type.equals(Message.password_failure)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_failure,player,null));
    }
 else     if (type.equals(Message.password_notregistered)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_notregistered,player,null));
    }
 else     if (type.equals(Message.password_usage)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_password_usage,player,null));
    }
 else     if (type.equals(Message.session_valid)) {
      if (Config.hasBukkitContrib) {
        player.sendMessage("String_Node_Str");
      }
      player.sendMessage(Util.replaceStrings(AuthDB_message_session_valid,player,null));
    }
 else     if (type.equals(Message.session_protected)) {
      event.disallow(Result.KICK_OTHER,Util.replaceStrings(AuthDB_message_session_protected,player,null));
    }
 else     if (type.equals(Message.idle_kick)) {
      player.kickPlayer(Util.replaceStrings(AuthDB_message_idle_kick,player,null));
    }
 else     if (type.equals(Message.idle_whitelist)) {
    }
 else     if (type.equals(Message.protection_denied)) {
      player.sendMessage(Util.replaceStrings(AuthDB_message_protection_denied,player,null));
    }
  }
 else {
    Messages.sendMessage(Message.database_failure,null,null);
  }
  long stop=Util.timeMS();
  Util.logging.timeUsage(stop - start,"String_Node_Str");
}