Apache Commons logo Commons VFS

Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files  Info  Warnings  Errors
263 12 0 201

Files

File  I  W  E
org/apache/commons/vfs2/FileSystemOptions.java 2 0 18
org/apache/commons/vfs2/cache/DefaultFilesCache.java 0 0 3
org/apache/commons/vfs2/cache/SoftRefFilesCache.java 0 0 1
org/apache/commons/vfs2/impl/DefaultFileReplicator.java 0 0 1
org/apache/commons/vfs2/impl/DefaultFileSystemManager.java 3 0 1
org/apache/commons/vfs2/impl/StandardFileSystemManager.java 0 0 2
org/apache/commons/vfs2/impl/VFSClassLoader.java 1 0 0
org/apache/commons/vfs2/libcheck/FtpCheck.java 0 0 1
org/apache/commons/vfs2/libcheck/SftpCheck.java 0 0 1
org/apache/commons/vfs2/operations/vcs/VcsStatus.java 0 0 21
org/apache/commons/vfs2/provider/AbstractFileProvider.java 0 0 1
org/apache/commons/vfs2/provider/AbstractVfsContainer.java 0 0 2
org/apache/commons/vfs2/provider/DefaultURLConnection.java 2 0 0
org/apache/commons/vfs2/provider/URLFileName.java 0 0 2
org/apache/commons/vfs2/provider/bzip2/Bzip2FileObject.java 0 0 5
org/apache/commons/vfs2/provider/ftp/FTPClientWrapper.java 0 0 3
org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java 0 0 3
org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java 0 0 1
org/apache/commons/vfs2/provider/ftps/FtpsDataChannelProtectionLevel.java 0 0 4
org/apache/commons/vfs2/provider/ftps/FtpsFileSystemConfigBuilder.java 0 0 1
org/apache/commons/vfs2/provider/ftps/FtpsMode.java 0 0 2
org/apache/commons/vfs2/provider/gzip/GzipFileObject.java 0 0 6
org/apache/commons/vfs2/provider/hdfs/HdfsFileObject.java 0 0 3
org/apache/commons/vfs2/provider/hdfs/HdfsFileSystemConfigBuilder.java 0 0 2
org/apache/commons/vfs2/provider/hdfs/HdfsRandomAccessContent.java 0 0 44
org/apache/commons/vfs2/provider/http/HttpClientFactory.java 0 0 1
org/apache/commons/vfs2/provider/http/HttpFileObject.java 0 0 1
org/apache/commons/vfs2/provider/http/HttpFileSystemConfigBuilder.java 0 0 6
org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java 0 0 53
org/apache/commons/vfs2/provider/ram/RamFileSystem.java 1 0 0
org/apache/commons/vfs2/provider/sftp/SftpFileObject.java 0 0 1
org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java 1 0 3
org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java 0 0 1
org/apache/commons/vfs2/provider/tar/TarFileObject.java 0 0 2
org/apache/commons/vfs2/provider/url/UrlFileObject.java 1 0 1
org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java 0 0 1
org/apache/commons/vfs2/provider/webdav/WebdavFileProvider.java 0 0 3
org/apache/commons/vfs2/provider/zip/ZipFileObject.java 1 0 0

Details

org/apache/commons/vfs2/FileSystemOptions.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 77
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 134
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 134
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 134
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 134
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 182
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 186
 Error whitespace WhitespaceAround 'while' is not followed by whitespace. 190
 Error blocks LeftCurly '{' should be on a new line. 190
 Error blocks LeftCurly '{' should be on a new line. 192
 Info misc TodoComment Comment matches to-do format 'TODO:'. 209
 Error blocks LeftCurly '{' should be on a new line. 218
 Error blocks RightCurly '}' should be alone on a line. 220
 Error blocks LeftCurly '{' should be on a new line. 220
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 223
 Error blocks LeftCurly '{' should be on a new line. 234
 Error blocks LeftCurly '{' should be on a new line. 237
 Error blocks LeftCurly '{' should be on a new line. 240
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 243
 Error coding SuperClone Method 'clone' should call 'super.clone'. 254

org/apache/commons/vfs2/cache/DefaultFilesCache.java

Severity Category Rule Message Line
 Error coding MagicNumber '200' is a magic number. 95
 Error coding MagicNumber '0.75f' is a magic number. 95
 Error coding MagicNumber '8' is a magic number. 95

org/apache/commons/vfs2/cache/SoftRefFilesCache.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - java.util.concurrent.atomic.AtomicReference. 27

org/apache/commons/vfs2/impl/DefaultFileReplicator.java

Severity Category Rule Message Line
 Error naming ConstantName Name 'random' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 45

org/apache/commons/vfs2/impl/DefaultFileSystemManager.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 787
 Info misc TodoComment Comment matches to-do format 'TODO:'. 918
 Info misc TodoComment Comment matches to-do format 'TODO:'. 933
 Error naming MethodName Name '_closeFileSystem' must match pattern '^[a-z][a-zA-Z0-9]*$'. 1140

org/apache/commons/vfs2/impl/StandardFileSystemManager.java

Severity Category Rule Message Line
 Error whitespace GenericWhitespace '<' is followed by whitespace. 495
 Error whitespace GenericWhitespace '>' is preceded with whitespace. 495

org/apache/commons/vfs2/impl/VFSClassLoader.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 368

org/apache/commons/vfs2/libcheck/FtpCheck.java

Severity Category Rule Message Line
 Error coding MagicNumber '4' is a magic number. 46

org/apache/commons/vfs2/libcheck/SftpCheck.java

Severity Category Rule Message Line
 Error coding MagicNumber '4' is a magic number. 40

org/apache/commons/vfs2/operations/vcs/VcsStatus.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocVariable Missing a Javadoc comment. 30
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocVariable Missing a Javadoc comment. 40
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error javadoc JavadocVariable Missing a Javadoc comment. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45

org/apache/commons/vfs2/provider/AbstractFileProvider.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '=' should be on the previous line. 47

org/apache/commons/vfs2/provider/AbstractVfsContainer.java

Severity Category Rule Message Line
 Error whitespace OperatorWrap '=' should be on the previous line. 33
 Error regexp RegexpSingleline Line has trailing spaces. 91

org/apache/commons/vfs2/provider/DefaultURLConnection.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 73
 Info misc TodoComment Comment matches to-do format 'TODO:'. 86

org/apache/commons/vfs2/provider/URLFileName.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for URIException. 81
 Error coding RedundantThrows Unable to get class information for URIException. 157

org/apache/commons/vfs2/provider/bzip2/Bzip2FileObject.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error sizes LineLength Line is longer than 120 characters (found 121). 41
 Error blocks LeftCurly '{' should be on a new line. 71
 Error blocks LeftCurly '{' should be on a new line. 72

org/apache/commons/vfs2/provider/ftp/FTPClientWrapper.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error javadoc JavadocVariable Missing a Javadoc comment. 45

org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 94
 Error coding DeclarationOrder Variable access definition in wrong order. 94
 Error coding MagicNumber '5' is a magic number. 128

org/apache/commons/vfs2/provider/ftp/FtpFileSystemConfigBuilder.java

Severity Category Rule Message Line
 Error naming ConstantName Name '_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 31

org/apache/commons/vfs2/provider/ftps/FtpsDataChannelProtectionLevel.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 27

org/apache/commons/vfs2/provider/ftps/FtpsFileSystemConfigBuilder.java

Severity Category Rule Message Line
 Error naming ConstantName Name '_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 33

org/apache/commons/vfs2/provider/ftps/FtpsMode.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 31

org/apache/commons/vfs2/provider/gzip/GzipFileObject.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error sizes LineLength Line is longer than 120 characters (found 122). 40
 Error blocks LeftCurly '{' should be on a new line. 40
 Error blocks LeftCurly '{' should be on a new line. 63
 Error blocks LeftCurly '{' should be on a new line. 64

org/apache/commons/vfs2/provider/hdfs/HdfsFileObject.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Expected an @return tag. 71
 Error javadoc JavadocMethod Expected @param tag for 'newfile'. 72
 Error javadoc JavadocMethod Expected @throws tag for 'FileSystemException'. 294

org/apache/commons/vfs2/provider/hdfs/HdfsFileSystemConfigBuilder.java

Severity Category Rule Message Line
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 258
 Error whitespace WhitespaceAfter 'cast' is not followed by whitespace. 290

org/apache/commons/vfs2/provider/hdfs/HdfsRandomAccessContent.java

Severity Category Rule Message Line
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 59
 Error javadoc JavadocMethod Expected an @return tag. 67
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 68
 Error javadoc JavadocMethod Expected an @return tag. 76
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 77
 Error javadoc JavadocMethod Expected an @return tag. 85
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 86
 Error javadoc JavadocMethod Expected an @return tag. 94
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 95
 Error javadoc JavadocMethod Expected an @return tag. 103
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 104
 Error javadoc JavadocMethod Expected an @return tag. 112
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 113
 Error javadoc JavadocMethod Expected an @return tag. 121
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 122
 Error javadoc JavadocMethod Expected an @return tag. 130
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 131
 Error javadoc JavadocMethod Expected @param tag for 'b'. 140
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 140
 Error javadoc JavadocMethod Expected @param tag for 'b'. 149
 Error javadoc JavadocMethod Expected @param tag for 'off'. 149
 Error javadoc JavadocMethod Expected @param tag for 'len'. 149
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 149
 Error javadoc JavadocMethod Expected an @return tag. 157
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 158
 Error javadoc JavadocMethod Expected an @return tag. 166
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 168
 Error javadoc JavadocMethod Expected an @return tag. 176
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 177
 Error javadoc JavadocMethod Expected an @return tag. 185
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 186
 Error javadoc JavadocMethod Expected an @return tag. 194
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 195
 Error javadoc JavadocMethod Expected an @return tag. 203
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 204
 Error javadoc JavadocMethod Expected an @return tag. 212
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 213
 Error javadoc JavadocMethod Expected @param tag for 'pos'. 222
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 222
 Error javadoc JavadocMethod Expected @param tag for 'newLength'. 231
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 231
 Error javadoc JavadocMethod Expected an @return tag. 239
 Error javadoc JavadocMethod Expected @param tag for 'n'. 240
 Error javadoc JavadocMethod Expected @throws tag for 'IOException'. 240

org/apache/commons/vfs2/provider/http/HttpClientFactory.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - org.apache.commons.httpclient.methods.HeadMethod. 26

org/apache/commons/vfs2/provider/http/HttpFileObject.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for URIException. 258

org/apache/commons/vfs2/provider/http/HttpFileSystemConfigBuilder.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocStyle First sentence should end with a period. 337
 Error javadoc JavadocMethod Expected @param tag for 'opts'. 342
 Error javadoc JavadocStyle First sentence should end with a period. 347
 Error javadoc JavadocMethod Expected @param tag for 'opts'. 352

org/apache/commons/vfs2/provider/ram/RamFileRandomAccessContent.java

Severity Category Rule Message Line
 Error coding MagicNumber '8' is a magic number. 47
 Error coding MagicNumber '4' is a magic number. 52
 Error coding MagicNumber '8' is a magic number. 204
 Error coding MagicNumber '24' is a magic number. 237
 Error coding MagicNumber '16' is a magic number. 237
 Error coding MagicNumber '8' is a magic number. 238
 Error coding MagicNumber '0xFF' is a magic number. 251
 Error coding MagicNumber '7' is a magic number. 432
 Error coding MagicNumber '0xFF' is a magic number. 432
 Error coding MagicNumber '6' is a magic number. 432
 Error coding MagicNumber '0xFF' is a magic number. 432
 Error coding MagicNumber '8' is a magic number. 432
 Error coding MagicNumber '5' is a magic number. 433
 Error coding MagicNumber '0xFF' is a magic number. 433
 Error coding MagicNumber '16' is a magic number. 433
 Error coding MagicNumber '4' is a magic number. 434
 Error coding MagicNumber '0xFF' is a magic number. 434
 Error coding MagicNumber '24' is a magic number. 434
 Error coding MagicNumber '0xFF' is a magic number. 435
 Error coding MagicNumber '32' is a magic number. 435
 Error coding MagicNumber '0xFF' is a magic number. 436
 Error coding MagicNumber '40' is a magic number. 436
 Error coding MagicNumber '0xFF' is a magic number. 437
 Error coding MagicNumber '48' is a magic number. 437
 Error coding MagicNumber '0xFF' is a magic number. 437
 Error coding MagicNumber '56' is a magic number. 437
 Error coding MagicNumber '7' is a magic number. 450
 Error coding MagicNumber '8' is a magic number. 451
 Error coding MagicNumber '6' is a magic number. 452
 Error coding MagicNumber '8' is a magic number. 453
 Error coding MagicNumber '5' is a magic number. 454
 Error coding MagicNumber '8' is a magic number. 455
 Error coding MagicNumber '4' is a magic number. 456
 Error coding MagicNumber '8' is a magic number. 457
 Error coding MagicNumber '8' is a magic number. 459
 Error coding MagicNumber '8' is a magic number. 461
 Error coding MagicNumber '8' is a magic number. 463
 Error coding MagicNumber '0xFF' is a magic number. 486
 Error coding MagicNumber '0xFF' is a magic number. 486
 Error coding MagicNumber '8' is a magic number. 486
 Error coding MagicNumber '8' is a magic number. 531
 Error coding MagicNumber '0xFF' is a magic number. 531
 Error coding MagicNumber '0xFF' is a magic number. 532
 Error coding MagicNumber '24' is a magic number. 581
 Error coding MagicNumber '0xFF' is a magic number. 581
 Error coding MagicNumber '16' is a magic number. 582
 Error coding MagicNumber '0xFF' is a magic number. 582
 Error coding MagicNumber '8' is a magic number. 583
 Error coding MagicNumber '0xFF' is a magic number. 583
 Error coding MagicNumber '0xFF' is a magic number. 584
 Error coding MagicNumber '8' is a magic number. 607
 Error coding MagicNumber '0xFF' is a magic number. 607
 Error coding MagicNumber '0xFF' is a magic number. 608

org/apache/commons/vfs2/provider/ram/RamFileSystem.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 284

org/apache/commons/vfs2/provider/sftp/SftpFileObject.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for SftpException. 248

org/apache/commons/vfs2/provider/sftp/SftpFileSystem.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for JSchException. 255
 Error coding RedundantThrows Unable to get class information for JSchException. 288
 Error coding RedundantThrows Unable to get class information for JSchException. 314
 Info misc TodoComment Comment matches to-do format 'TODO:'. 343

org/apache/commons/vfs2/provider/sftp/SftpFileSystemConfigBuilder.java

Severity Category Rule Message Line
 Error naming ConstantName Name '_PREFIX' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$|^capabilities$|^log$'. 112

org/apache/commons/vfs2/provider/tar/TarFileObject.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 54
 Error regexp RegexpSingleline Line has trailing spaces. 55

org/apache/commons/vfs2/provider/url/UrlFileObject.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for URIException. 67
 Info misc TodoComment Comment matches to-do format 'TODO:'. 73

org/apache/commons/vfs2/provider/webdav/WebdavFileObject.java

Severity Category Rule Message Line
 Error coding RedundantThrows Unable to get class information for URIException. 757

org/apache/commons/vfs2/provider/webdav/WebdavFileProvider.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error regexp RegexpSingleline Line has trailing spaces. 55

org/apache/commons/vfs2/provider/zip/ZipFileObject.java

Severity Category Rule Message Line
 Info misc TodoComment Comment matches to-do format 'TODO:'. 80