Title: [Java] warning, retarded code ahead Author: rylai Pastebin link: http://pastebin.com/d4PpAAPK First Edit: Wednesday 13th of March 2013 06:36:49 PM CDT Last Edit: Wednesday 13th of March 2013 06:36:49 PM CDT         private static String findMiddleString(ArrayList compareHolder) {                 String finalResult = new String();                 if(compareHolder.get(0).compareToIgnoreCase(compareHolder.get(1)) > 0) { // if 0 is lexicographically after 1, then...                         if(compareHolder.get(0).compareToIgnoreCase(compareHolder.get(2)) < 0)  { // get(0) is the middle, yay, this was easy                                 return compareHolder.get(0); } else { // get(0) is NOT the middle, therefore one of the other two must be                                         return(compareHolder.get(1)); // get(0) is not the middle but is greater than get(1), so get(1) is the middle                                         }                               } else if(compareHolder.get(0).compareToIgnoreCase(compareHolder.get(2)) > 0) { // if 0 is l16y before 1 and l16y after 2, then it's the mid                                         }                 return finalResult;