@Test public void testNormalize() { assertThat(support.normalize("* @value to be normal ")).isEqualTo("@value to be normal"); }
public String normalize(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String stripped = StringUtils.strip(line); return StringUtils.strip(stripped.startsWith("*") && !isCommentClose(line) ? stripped.substring(1) : stripped); }
DocumentationParserSupport { public String normalize(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String stripped = StringUtils.strip(line); return StringUtils.strip(stripped.startsWith("*") && !isCommentClose(line) ? stripped.substring(1) : stripped); } }
DocumentationParserSupport { public String normalize(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String stripped = StringUtils.strip(line); return StringUtils.strip(stripped.startsWith("*") && !isCommentClose(line) ? stripped.substring(1) : stripped); }  }
DocumentationParserSupport { public String normalize(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String stripped = StringUtils.strip(line); return StringUtils.strip(stripped.startsWith("*") && !isCommentClose(line) ? stripped.substring(1) : stripped); }  boolean isCommentClose(final String line); boolean isCommentStart(final String line); boolean isTagOpen(final String line); boolean isTerminatingTagOpen(final String line); String normalize(final String line); String stripCommentClose(final String line); }
DocumentationParserSupport { public String normalize(final String line) { if (line == null) { throw new IllegalArgumentException("Line cannot be null."); } final String stripped = StringUtils.strip(line); return StringUtils.strip(stripped.startsWith("*") && !isCommentClose(line) ? stripped.substring(1) : stripped); }  boolean isCommentClose(final String line); boolean isCommentStart(final String line); boolean isTagOpen(final String line); boolean isTerminatingTagOpen(final String line); String normalize(final String line); String stripCommentClose(final String line);  }