private static String stripSpaces(String text) {
    String[] lines = LineTokenizer.tokenize(text.toCharArray(), false);
    return Arrays.stream(lines).map(CommentFormatter::rTrim).collect(Collectors.joining("\n"));
  }
private static String stripSpaces(String text)