protected String fixComments(String content) {
    Matcher matcher = _commentPattern.matcher(content);

    while (matcher.find()) {
      String[] words = StringUtil.split(matcher.group(1), CharPool.SPACE);

      for (int i = 1; i < words.length; i++) {
        String previousWord = words[i - 1];

        if (previousWord.endsWith(StringPool.PERIOD) || previousWord.equals(StringPool.SLASH)) {

          continue;
        }

        String word = words[i];

        if ((word.length() > 1)
            && Character.isUpperCase(word.charAt(0))
            && StringUtil.isLowerCase(word.substring(1))) {

          content =
              StringUtil.replaceFirst(content, word, StringUtil.toLowerCase(word), matcher.start());
        }
      }
    }

    return content;
  }