class 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);
    }

}