Use compareToIgnoreCase instead of two toLowerCase() calls.