if (title.length() == 0) return title;
if (oldtitle.length() == 0) return oldtitle;   String title = oldtitle.toLowerCase();
    public static String normalizeEnglish(String title)    {        // Corner cases        if (title == null)            return null;        if (title.length() == 0)            return title;        // State variables        // First find leading whitespace, if any        int startAt = firstWhitespace(title);        boolean modified = (startAt != 0);        boolean usedStopWord = false;        String stop = null;        // Examine each stop word        for (int i = 0; i < STOP_WORDS.length; i++)        {            stop = STOP_WORDS[i];            int stoplen = stop.length();            //   The title must start with the stop word (skipping white space            //     and ignoring case).            boolean found = title.toLowerCase().startsWith(stop.toLowerCase(), startAt) &&                //   The title must be longer than whitespace plus the stop word                title.length() >= (startAt + stoplen + 1) &&                //   The stop word must be followed by white space                Character.isWhitespace(title.charAt(startAt + stoplen));            if (found)            {                modified = true;                usedStopWord = true;                startAt += stoplen;                // Strip leading whitespace again, if any                int firstw = firstWhitespace(title, startAt);                if (firstw != 0)                    startAt = firstw;                    // Only process a single stop word                break;            }        }        // If we didn't change anything, just return the title as-is        if (!modified)            return title;        // If we just stripped white space, return a substring        if (!usedStopWord)            return title.substring(startAt);        // Otherwise, return the substring with the stop word appended        return new StringBuffer(title.substring(startAt))            .append(", ")            .append(stop).toString();    }