Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfosWarningsErrors
2300145

Files

FilesIWE
nl/toolforge/core/util/collection/CollectionUtil.java 0010
nl/toolforge/core/util/collection/package.html 001
nl/toolforge/core/util/file/MyFileUtils.java 0044
nl/toolforge/core/util/file/XMLFilenameFilter.java 001
nl/toolforge/core/util/file/XMLFilenameFilter.java 0013
nl/toolforge/core/util/file/package.html 001
nl/toolforge/core/util/lang/NiftyStringUtils.java 0014
nl/toolforge/core/util/lang/package.html 001
nl/toolforge/core/util/listener/ChangeListener.java 004
nl/toolforge/core/util/listener/ListenerManager.java 0021
nl/toolforge/core/util/listener/ListenerManagerException.java 004
nl/toolforge/core/util/listener/package.html 001
nl/toolforge/core/util/net/Ping.java 0014
nl/toolforge/core/util/net/PingThread.java 0015
nl/toolforge/core/util/net/package.html 001

nl/toolforge/core/util/collection/CollectionUtil.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line is longer than 80 characters. 7
Error Utility classes should not have a public or default constructor. 12
Error Line is longer than 80 characters. 15
Error Line is longer than 80 characters. 16
Error Expected an @return tag. 22
Error Parameter collection should be final. 22
Error Expected @param tag for 'collection'. 22
Error Parameter separatorChar should be final. 22
Error Expected @param tag for 'separatorChar'. 22

nl/toolforge/core/util/collection/package.html

ErrorLine
Error Missing package documentation file.0

nl/toolforge/core/util/file/MyFileUtils.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line is longer than 80 characters. 33
Error Utility classes should not have a public or default constructor. 40
Error First sentence should end with a period. 42
Error Line has trailing spaces. 44
Error Line is longer than 80 characters. 46
Error Line has trailing spaces. 48
Error Line has trailing spaces. 51
Error Line has trailing spaces. 56
Error Line is longer than 80 characters. 58
Error Line is longer than 80 characters. 65
Error Line is longer than 80 characters. 73
Error Line is longer than 80 characters. 82
Error Parameter target should be final. 82
Error Parameter recurse should be final. 82
Error Expected @param tag for 'recurse'. 82
Error Expected @throws tag for 'IOException'. 82
Error Expected @throws tag for 'InterruptedException'. 82
Error Line has trailing spaces. 85
Error Line is longer than 80 characters. 87
Error Line has trailing spaces. 89
Error Line is longer than 80 characters. 92
Error Avoid inline conditionals. 92
Error '}' should be on the same line. 96
Error Avoid inline conditionals. 99
Error '}' should be on the same line. 103
Error Avoid inline conditionals. 107
Error Line has trailing spaces. 112
Error Line has trailing spaces. 114
Error Line is longer than 80 characters. 119
Error Parameter dir should be final. 124
Error Line is longer than 80 characters. 143
Error Line is longer than 80 characters. 152
Error Line is longer than 80 characters. 157
Error Line is longer than 80 characters. 167
Error Parameter dir should be final. 167
Error Parameter fileRef should be final. 167
Error Parameter newFileName should be final. 167
Error Parameter classLoader should be final. 167
Error Expected @throws tag for 'IOException'. 167
Error Line is longer than 80 characters. 169
Error Line is longer than 80 characters. 174
Error Line is longer than 80 characters. 179
Error Line is longer than 80 characters. 184

nl/toolforge/core/util/file/XMLFilenameFilter.java

ErrorLine
Error File does not end with a newline. 0

nl/toolforge/core/util/file/XMLFilenameFilter.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line contains a tab character. 33
Error Method 'accept' is not designed for extension - needs to be abstract, final or empty. 33
Error Missing a Javadoc comment. 33
Error Parameter dir should be final. 33
Error Parameter name should be final. 33
Error Line contains a tab character. 34
Error Conditional logic can be removed. 34
Error Line contains a tab character. 35
Error Line contains a tab character. 36
Error Line contains a tab character. 37
Error Line contains a tab character. 38
Error Line contains a tab character. 39

nl/toolforge/core/util/file/package.html

ErrorLine
Error Missing package documentation file.0

nl/toolforge/core/util/lang/NiftyStringUtils.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Utility classes should not have a public or default constructor. 13
Error Line is longer than 80 characters. 16
Error Line is longer than 80 characters. 17
Error Expected an @return tag. 25
Error Parameter str should be final. 25
Error Expected @param tag for 'str'. 25
Error Parameter wrapString should be final. 25
Error Expected @param tag for 'wrapString'. 25
Error Parameter wrapCount should be final. 25
Error Expected @param tag for 'wrapCount'. 25
Error Expected an @return tag. 71
Error Parameter str should be final. 71
Error Expected @param tag for 'str'. 71

nl/toolforge/core/util/lang/package.html

ErrorLine
Error Missing package documentation file.0

nl/toolforge/core/util/listener/ChangeListener.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line has trailing spaces. 27
Error Missing a Javadoc comment. 27
Error Redundant 'public' modifier. 27

nl/toolforge/core/util/listener/ListenerManager.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line is longer than 80 characters. 28
Error Class ListenerManager should be declared as final. 34
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 42
Error Missing a Javadoc comment. 44
Error Missing a Javadoc comment. 52
Error Line is longer than 80 characters. 57
Error Line is longer than 80 characters. 62
Error Parameter listener should be final. 62
Error Expected @param tag for 'listener'. 62
Error Expected @throws tag for 'ListenerManagerException'. 62
Error Missing a Javadoc comment. 69
Error '5000' is a magic number. 76
Error Missing a Javadoc comment. 88
Error Missing a Javadoc comment. 92
Error Parameter run should be final. 92
Error Missing a Javadoc comment. 96
Error Parameter listener should be final. 96

nl/toolforge/core/util/listener/ListenerManagerException.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line is longer than 80 characters. 23
Error Missing a Javadoc comment. 27
Error Parameter message should be final. 27

nl/toolforge/core/util/listener/package.html

ErrorLine
Error Missing package documentation file.0

nl/toolforge/core/util/net/Ping.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Line is longer than 80 characters. 6
Error Missing a Javadoc comment. 14
Error '{' is not followed by whitespace. 14
Error '}' is not preceded with whitespace. 14
Error Line is longer than 80 characters. 17
Error Expected an @return tag. 20
Error Parameter host should be final. 20
Error Expected @param tag for 'host'. 20
Error Parameter port should be final. 20
Error Expected @param tag for 'port'. 20
Error Parameter timeOutInMillis should be final. 20
Error Expected @param tag for 'timeOutInMillis'. 20
Error '10' is a magic number. 33

nl/toolforge/core/util/net/PingThread.java

ErrorLine
Error Line does not match expected header line of 'Toolforge core - Core of the Toolforge application suite'. 1
Error Missing a Javadoc comment. 12
Error 'static' modifier out of order with the JLS suggestions. 12
Error Missing a Javadoc comment. 14
Error Missing a Javadoc comment. 15
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 19
Error Parameter host should be final. 19
Error 'host' hides a field. 19
Error Parameter port should be final. 19
Error 'port' hides a field. 19
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 25
Error Missing a Javadoc comment. 25
Error Method 'pingOk' is not designed for extension - needs to be abstract, final or empty. 35
Error Missing a Javadoc comment. 35

nl/toolforge/core/util/net/package.html

ErrorLine
Error Missing package documentation file.0