Buggy code:
i < ( args . length ) ; i ++ ) { if ( args [ i ] . equalsIgnoreCase ( "-v" ) ) verboseMode = true ; if ( args [ i ] . equalsIgnoreCase ( "-a" ) ) allTickets = true ; if ( args [ i ] . equalsIgnoreCase ( "-c" ) ) allClosed = true ; } if ( ( ( args . length ) > 0 ) && ( ! ( ( verboseMode || allTickets ) || allClosed ) ) ) { sender . sendMessage ( ( ( plugin . GOLD ) + "[Supported<seq2seq4repair_space>arguments]" ) ) ; sender . sendMessage ( ( ( ( ( plugin . GREEN ) + "//tickets<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + "<seq2seq4repair_space>-<seq2seq4repair_space>Open<seq2seq4repair_space>tickets" ) ) ; sender . sendMessage ( ( ( ( ( plugin . GREEN ) + "//tickets<seq2seq4repair_space>-v<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + "<seq2seq4repair_space>-<seq2seq4repair_space>Open<seq2seq4repair_space>tickets<seq2seq4repair_space>(verbose)" ) ) ; sender . sendMessage ( ( ( ( ( ( ( plugin . GREEN ) + "//tickets<seq2seq4repair_space>-a<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + "<seq2seq4repair_space>-<seq2seq4repair_space>All<seq2seq4repair_space>tickets<seq2seq4repair_space>(most<seq2seq4repair_space>recent<seq2seq4repair_space>" ) + maxRecordsToReturn ) + ")" ) ) ; sender . sendMessage ( ( ( ( ( ( ( plugin . GREEN ) + "//tickets<seq2seq4repair_space>-c<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + "<seq2seq4repair_space>-<seq2seq4repair_space>Closed<seq2seq4repair_space>tickets<seq2seq4repair_space>(most<seq2seq4repair_space>recent<seq2seq4repair_space>" ) + maxRecordsToReturn ) + ")" ) ) ; sender . sendMessage ( ( ( plugin . GREEN ) + "For<seq2seq4repair_space>submitted<seq2seq4repair_space>ideas<seq2seq4repair_space>use<seq2seq4repair_space>//ideas" ) ) ; return true ; } if ( ( ( args . length ) == 0 ) || ( ( ( args . length ) == 1 ) && verboseMode ) ) { rs = stmt . executeQuery ( GetItemSelectQuery ( targetTable , "status='OPEN'" , maxRecordsToReturn ) ) ; int itemsFound = 0 ; sender . sendMessage ( ( ( ( ( ( ( ( ( ( plugin . GOLD ) + "[<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + ( ChatColor . BOLD ) ) + "Open<seq2seq4repair_space>" ) + itemNamePlural ) + ( ChatColor . RESET ) ) + ( plugin . GOLD ) ) + "<seq2seq4repair_space>]" ) ) ; while ( rs . next ( ) ) { itemsFound ++ ; Utilities . ShowTicketInfo ( sender , rs , verboseMode ) ; } if ( itemsFound == 0 ) { ReportNoItems ( sender , targetTable ) ; } else { if ( itemsFound < maxRecordsToReturn ) sender . sendMessage ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>open<seq2seq4repair_space>" ) + ( Utilities . CheckPlural ( itemNamePlural , itemsFound ) ) ) ) ; else sender . sendMessage ( ( ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>most<seq2seq4repair_space>recent<seq2seq4repair_space>open<seq2seq4repair_space>" ) + itemNamePlural ) + ";<seq2seq4repair_space>filter<seq2seq4repair_space>with<seq2seq4repair_space>//find" ) + itemNamePlural ) ) ; } if ( itemNamePlural . contentEquals ( "tickets" ) ) { ResultSet rsIdeas = stmt . executeQuery ( GetItemSelectQuery ( IDEA_TABLE_NAME , "status='OPEN'" , maxRecordsToReturn ) ) ; int ideasFound = 0 ; while ( rsIdeas . next ( ) ) { ideasFound ++ ; } if ( ideasFound > 0 ) { <START_BUG> sender . sendMessage ( ( ( ( ( ( ( plugin . GRAY ) + "(" ) + ( Utilities . NumToString ( ideasFound ) ) ) + "<seq2seq4repair_space>open<seq2seq4repair_space>" ) + ( Utilities . CheckPlural ( "ideas" , ideasFound ) ) ) + ")" ) ) ; <END_BUG> } } return true ; } else if ( allTickets ) { rs = stmt . executeQuery ( GetItemSelectQuery ( targetTable , "" , maxRecordsToReturn ) ) ; int itemsFound = 0 ; sender . sendMessage ( ( ( ( ( ( ( ( ( ( plugin . GOLD ) + "[<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + ( ChatColor . BOLD ) ) + "All<seq2seq4repair_space>" ) + itemNamePlural ) + ( ChatColor . RESET ) ) + ( plugin . GOLD ) ) + "<seq2seq4repair_space>]" ) ) ; while ( rs . next ( ) ) { itemsFound ++ ; Utilities . ShowTicketInfo ( sender , rs , verboseMode ) ; } if ( itemsFound == 0 ) { ReportNoItems ( sender , targetTable ) ; } else { if ( itemsFound < maxRecordsToReturn ) sender . sendMessage ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>" ) + ( Utilities . CheckPlural ( itemNamePlural , itemsFound ) ) ) ) ; else sender . sendMessage ( ( ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>most<seq2seq4repair_space>recent<seq2seq4repair_space>" ) + itemNamePlural ) + ";<seq2seq4repair_space>filter<seq2seq4repair_space>with<seq2seq4repair_space>//find" ) + itemNamePlural ) ) ; } return true ; } else if ( allClosed ) { rs = stmt . executeQuery ( GetItemSelectQuery ( targetTable , "status='CLOSED'" , maxRecordsToReturn ) ) ; int itemsFound = 0 ; sender . sendMessage ( ( ( ( ( ( ( ( ( ( plugin . GOLD ) + "[<seq2seq4repair_space>" ) + ( plugin . WHITE ) ) + ( ChatColor . BOLD ) ) + "Closed<seq2seq4repair_space>" ) + itemNamePlural ) + ( ChatColor . RESET ) ) + ( plugin . GOLD ) ) + "<seq2seq4repair_space>]" ) ) ; while ( rs . next ( ) ) { itemsFound ++ ; Utilities . ShowTicketInfo ( sender , rs , verboseMode ) ; } if ( itemsFound == 0 ) { ReportNoItems ( sender , targetTable ) ; return true ; } else { if ( itemsFound < maxRecordsToReturn ) sender . sendMessage ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>" ) + ( Utilities . CheckPlural ( itemNamePlural , itemsFound ) ) ) ) ; else sender . sendMessage ( ( ( ( ( ( ( plugin . GREEN ) + ( Utilities . NumToString ( itemsFound ) ) ) + "<seq2seq4repair_space>most<seq2seq4repair_space>recent<seq2seq4repair_space>closed<seq2seq4repair_space>" ) + itemNamePlural ) + ";<seq2seq4repair_space>filter<seq2seq4repair_space>with<seq2seq4repair_space>//find"

Fix:
sender . sendMessage ( ( ( ( ( plugin . BLUE ) + ( Utilities . NumToString ( ideasFound ) ) ) + "<seq2seq4repair_space>open<seq2seq4repair_space>" ) + ( Utilities . CheckPlural ( "ideas" , ideasFound ) ) ) ) ;