git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[text] Recently added Checkstyle Violations


Hi,

the build of text fails, because of checkstyle violations:

[INFO] There are 8 errors reported by Checkstyle 8.12 with /home/travis/build/apache/commons-text/checkstyle.xml ruleset. [ERROR] src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java:[27,5] (javadoc) JavadocVariable: Missing a Javadoc comment. [ERROR] src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java:[28,5] (javadoc) JavadocVariable: Missing a Javadoc comment. [ERROR] src/main/java/org/apache/commons/text/lookup/ScriptStringLookup.java:[81] (sizes) LineLength: Line is longer than 120 characters (found 121). [ERROR] src/main/java/org/apache/commons/text/lookup/UrlStringLookup.java:[21,8] (imports) UnusedImports: Unused import - java.io.InputStream. [ERROR] src/main/java/org/apache/commons/text/lookup/UrlStringLookup.java:[25,8] (imports) UnusedImports: Unused import - java.nio.file.Files. [ERROR] src/main/java/org/apache/commons/text/lookup/UrlStringLookup.java:[78,44] (coding) MagicNumber: '8192' is a magic number. [ERROR] target/test-classes/document.properties:[0] (misc) NewlineAtEndOfFile: File does not end with a newline. [ERROR] src/test/resources/document.properties:[0] (misc) NewlineAtEndOfFile: File does not end with a newline.

It would be nice, if these were fixed by whoever added them.

Thanks,
Pascal