Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Errors
221 4519

Files

Files Errors
jsdsi/Acl.java 28
jsdsi/AclEntry.java 55
jsdsi/Auth.java 39
jsdsi/AuthCert.java 44
jsdsi/AuthCertSelector.java 23
jsdsi/Cert.java 55
jsdsi/CertPath.java 36
jsdsi/CertPathBuilder.java 30
jsdsi/CertPathBuilderResult.java 17
jsdsi/CertPathBuilderStats.java 7
jsdsi/CertPathParameters.java 15
jsdsi/CertPathValidator.java 11
jsdsi/CertPathValidatorResult.java 15
jsdsi/CertSelector.java 5
jsdsi/Certificate.java 74
jsdsi/CompatibleCertSelector.java 23
jsdsi/Element.java 15
jsdsi/ExprTag.java 11
jsdsi/FProver.java 37
jsdsi/Hash.java 113
jsdsi/HashOp.java 23
jsdsi/IssuerCertPathParameters.java 4
jsdsi/IssuerCertSelector.java 14
jsdsi/JsdiRuntimeException.java 16
jsdsi/JsdsiRuntimeException.java 15
jsdsi/Name.java 68
jsdsi/NameCert.java 50
jsdsi/NameCertSelector.java 23
jsdsi/Obj.java 70
jsdsi/ObjectHash.java 30
jsdsi/OneTime.java 22
jsdsi/OnlineTest.java 32
jsdsi/Op.java 7
jsdsi/PrefixTag.java 37
jsdsi/Principal.java 16
jsdsi/Proof.java 101
jsdsi/Prover.java 53
jsdsi/Provider.java 9
jsdsi/PublicKey.java 52
jsdsi/PublicKeyHash.java 28
jsdsi/RProver.java 39
jsdsi/RSAPublicKey.java 93
jsdsi/RangeTag.java 151
jsdsi/Revalidation.java 23
jsdsi/ReversePrefixTag.java 61
jsdsi/Revocation.java 22
jsdsi/S2X.java 13
jsdsi/Sequence.java 27
jsdsi/SetTag.java 86
jsdsi/Sign ature.java 239
jsdsi/SimpleTag.java 47
jsdsi/StringTag.java 30
jsdsi/Subject.java 16
jsdsi/SubjectCertPathParameters.java 4
jsdsi/SubjectCertSelector.java 13
jsdsi/Tag.java 47
jsdsi/Threshold.java 38
jsdsi/Util.java 22
jsdsi/Validity.java 74
jsdsi/certstore/AbstractJsdsiCertStore.java 23
jsdsi/certstore/CertificateDAO.java 7
jsdsi/certstore/InMemoryCertificateDAO.java 20
jsdsi/certstore/JsdsiCertStore.java 30
jsdsi/certstore/JsdsiCertStoreException.java 14
jsdsi/certstore/JsdsiCertStoreParameters.java 17
jsdsi/certstore/jdbc/JdbcCertificateDAO.java 74
jsdsi/certstore/jdbc/package.html 1
jsdsi/ldap/LDAPAttributes.java 97
jsdsi/ldap/LDAPCertStore.java 83
jsdsi/ldap/LDAPCertStoreParameters.java 44
jsdsi/ldap/LDAPLoader.java 62
jsdsi/ldap/LDAPOp.java 65
jsdsi/ldap/LDAPOperations.java 133
jsdsi/ldap/LDAPParameters.java 114
jsdsi/ldap/LDAPSearchException.java 13
jsdsi/ldap/package.html 1
jsdsi/package.html 1
jsdsi/sexp/CertificateFactory.java 46
jsdsi/sexp/KeyFactory.java 28
jsdsi/sexp/KeySpec.java 5
jsdsi/sexp/ObjInputStream.java 11
jsdsi/sexp/ObjOutputStream.java 20
jsdsi/sexp/Parser.java 7
jsdsi/sexp/Sexp.java 111
jsdsi/sexp/SexpException.java 8
jsdsi/sexp/SexpInput.java 3
jsd si/sexp/SexpInputStream.java 55
jsdsi/sexp/SexpList.java 45
jsdsi/sexp/SexpOutput.java 5
jsdsi/sexp/SexpOutputStream.java 45
jsdsi/sexp/SexpParseException.java 21
jsdsi/sexp/SexpString.java 53
jsdsi/sexp/SexpUtil.java 106
jsdsi/sexp/SimpleString.java 96
jsdsi/sexp/package.html 1
jsdsi/util/AlgorithmEnum.java 26
jsdsi/util/Algorithms.java 29
jsdsi/util/DateUtil.java 57
jsdsi/util/DigestAlgoEnum.java 63
jsdsi/util/DigestUtils.java 18
jsdsi/util/InputStreamIterator.java 42
jsdsi/util/KeyEnum.java 32
jsdsi/util/KeyPairFactory.java 69
jsdsi/util/Loader.java 51
jsdsi/util/MultiMap.java 30
jsdsi/util/RSAKeyGenParameterSpec.java 40
jsdsi/util/RSAKeyPairGeneratorSpi.java 37
jsdsi/util/SignatureAlgoEnum.java 52
jsdsi/util/SignatureUtils.java 27
jsdsi/util/package.html 1
jsdsi/xml/XmlReader.java 71
jsdsi/xml/XmlWriter.java 40
jsdsi/xml/package.html 1

jsdsi/Acl.java

Error Line
Line has trailing spaces. 17
Line has trailing spaces. 23
Missing a Javadoc comment. 24
'5980365133398522076L' is a magic number. 24
Line has trailing spaces. 25
'final' modifier out of order with the JLS suggestions. 29
Line has trailing spaces. 30
Line has trailing spaces. 33
Line has trailing spaces. 34
Parameter e should be final. 37
'assert' is not followed by whitespace. 38
Line has trailing spaces. 41
Line has trailing spaces. 44
Line has trailing spaces. 46
Method 'getEntries' is not designed for extension - needs to be abstract, final or empty. 49
Line has trailing spaces. 52
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 56
Parameter o should be final. 56
Line has trailing spaces. 59
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 63
Line has trailing spaces. 66
Line has trailing spaces. 69
Line has trailing spaces. 70
Method 'toSexp' is not designed for extension - needs to be abstract, final or empty. 72
Line has trailing spaces. 79
Missing a Javadoc comment. 80
Parameter l should be final. 80
'entries' hides a field. 82

jsdsi/AclEntry.java

Error Line
Line has trailing spaces. 16
Line has trailing spaces. 18
Line has trailing spaces. 24
Missing a Javadoc comment. 25
'3020366729004164789L' is a magic number. 25
Line has trailing spaces. 26
'final' modifier out of order with the JLS suggestions. 30
Line has trailing spaces. 31
'final' modifier out of order with the JLS suggestions. 35
Line has trailing spaces. 36
'final' modifier out of order with the JLS suggestions. 40
Line has trailing spaces. 41
'final' modifier out of order with the JLS suggestions. 45
Line has trailing spaces. 46
Line has trailing spaces. 50
Parameter s should be final. 57
Parameter t should be final. 57
Parameter p should be final. 57
Parameter v should be final. 57
Parameter c should be final. 57
'assert' is not followed by whitespace. 58
'assert' is not followed by whitespace. 59
Line has trailing spaces. 65
Line has trailing spaces. 68
Method 'getSubject' is not designed for extension - needs to be abstract, final or empty. 71
Line has trailing spaces. 74
Line has trailing spaces. 77
Method 'getTag' is not designed for extension - needs to be abstract, final or empty. 80
Line has trailing spaces. 83
Line has trailing spaces. 86
Method 'getPropagate' is not designed for extension - needs to be abstract, final or empty. 89
Line has trailing spaces. 92
Line has trailing spaces. 96
Method 'getValidity' is not designed for extension - needs to be abstract, final or empty. 99
Line has trailing spaces. 102
Line has trailing spaces. 104
Line has traili ng spaces. 106
Method 'getComment' is not designed for extension - needs to be abstract, final or empty. 109
Line has trailing spaces. 112
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 116
Parameter o should be final. 116
Line has trailing spaces. 126
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 130
Line has trailing spaces. 136
Expected an @return tag. 141
Method 'toSexp' is not designed for extension - needs to be abstract, final or empty. 141
'5' is a magic number. 142
Line has trailing spaces. 156
Line has trailing spaces. 159
Line has trailing spaces. 161
Parameter l should be final. 164
Expected @throws tag for 'SexpParseException'. 164
'subject' hides a field. 168
'validity' hides a field. 183
'comment' hides a field. 184

jsdsi/Auth.java

Error Line
Line has trailing spaces. 10
Missing a Javadoc comment. 17
Line has tr ailing spaces. 18
Line has trailing spaces. 23
Line has trailing spaces. 28
Line has trailing spaces. 32
Parameter t should be final. 36
Parameter p should be final. 36
Line has trailing spaces. 41
Method 'getTag' is not designed for extension - needs to be abstract, final or empty. 45
Line has trailing spaces. 48
Method 'getPropagate' is not designed for extension - needs to be abstract, final or empty. 52
Line has trailing spaces. 55
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 59
Parameter o should be final. 59
Line has trailing spaces. 66
Method 'implies' is not designed for extension - needs to be abstract, final or empty. 70
Parameter a should be final. 70
Expected @param tag for 'a'. 70
Line has trailing spaces. 76
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 80
Avoid inline conditionals. 81
Line has trailing spaces. 83
Line has trailing spaces. 87
Parameter out should be final. 92
Expected @throws tag for 'IOException'. 93
Line has trailing spaces. 102
Parameter in should be final. 110
Expected @throws tag for 'IOException'. 110
Expected @throws tag for 'ClassNotFoundException'. 111
'tag' hides a field. 112
Line has trailing spaces. 120
Missing a Javadoc comment. 121
Name '_replacement' must match pattern '^[a-z ] [a-zA-Z0-9 ] *$'. 121
Variable '_replacement' must be private and have accessor methods. 121
Line has trailing spaces. 122
Method 'readResolve' is not designed for extension - needs to be abstract, final or empty. 129
Expected @throws tag for 'ObjectStreamException'. 129
Line has trailing spaces. 136

jsdsi/AuthCert.java

Error Line
Line has trailing spaces. 16
Line has trailing spaces. 22
Missing a Javadoc comment. 23
'5588350360041330506L' is a magic number. 23
Line has trailing spaces. 24
'final' modifier out of order with the JLS suggestions. 28
Line has trailing spaces. 29
Line has trailing spaces. 33
Parameter i should be final. 43
Parameter s should be final. 44
Parameter v should be final. 45
Parameter d should be final. 46
Parameter c should be final. 47
Parameter t should be final. 48
Parameter p should be final. 49
'assert' is not followed by whitespace. 51
Line has trailing spaces. 54
Method 'getTag' is not designed for extension - needs to be abstract, final or empty. 58
Line has trailing spaces. 61
Method 'getPropagate' is not designed for extension - needs to be abstract, final or empty. 65
Line has trailing spaces. 68
Method 'getAuth' is not designed for extension - needs to be abstract, final or empty. 69
Missing a Javadoc comment. 69
Line has trailing spaces. 72
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 76
Parameter o should be final. 76
Line has trailing spaces. 83
Method 'implies' is not designed for extension - needs to be abstract, final or empty. 87
Parameter c should be final. 87
Expected @param tag for 'c'. 87
'cast' is not followed by whitespace. 89
Line has trailing spaces. 92
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 96
Line has trailing spaces. 99
Line has trailing spaces. 103
Method 'toSexp' is not designed for extension - needs to be abstract, final or empty. 107
'7' is a magic number. 108
Line has trailing spaces. 109
'(' is followed by whitespace. 113
')' is preceeded with whitespace. 113
Line has trailing spaces. 115
Line has trailing spaces. 120
Line has trailing spaces. 134
Line has trailing spaces. 140

jsdsi/AuthCertSelector.java

Error Line
Line has trailing spaces. 7
Missing a Javadoc comment. 12
Missing a Javadoc comment. 13
Line has trailing spaces. 14
Line has trailing spaces. 18
Parameter i should be final. 21
Line has trailing spaces. 24
Line has trailing spaces. 29
Parameter i should be final. 33
Parameter a should be final. 33
Line has trailing spaces. 37
Method 'clone' is not designed for extension - needs to be abstract, final or empty. 41
Line has trailing spaces. 44
Line has trailing spaces. 47
Line has trailing spaces. 48
Method 'match' is not designed for extension - needs to be abstract, final or empty. 51
Parameter cert should be final. 51
Expected @param tag for 'cert'. 51
'cast' is not followed by whitespace. 54
Line has trailing spaces. 56
Method 'getIssuer' is not designed for extension - needs to be abstract, final or empty. 60
Line has trailing spaces. 63
Method 'getAuth' is not designed for extension - needs to be abstract, final or empty. 67

jsdsi/Cert.java

Error Line
Line has trailing spaces. 11
Line has trailing spaces. 14
Line has trailing spaces. 20
Missing a Javadoc comment. 21
Line has trailing spaces. 22
'final' modifier out of order with the JLS suggestions. 26
Line has trailing spaces. 27
'final' modifier out of order with the JLS suggestions. 31
Line has trailing spaces. 32
'final' modifier out of order with the JLS suggestions. 36
Line has trailing spaces. 37
'final' modifier out of order with the JLS suggestions. 41
Line has trailing spaces. 42
'final' modifier out of order with the JLS suggestions. 46
Line has trailing spaces. 47
Line has trailing spaces. 51
Parameter i should be final. 58
Parameter s should be final. 58
Parameter v should be final. 58
Parameter d should be final. 58
Parameter c should be final. 58
'assert' is not followed by whitespace. 59
'assert' is not followed by whitespace. 60
Line has trailing spaces. 67
Method 'getIssuer' is not designed for extension - needs to be abstract, final or empty. 71
Line has trailing spaces. 74
Method 'getSubject' is not designed f or extension - needs to be abstract, final or empty. 78
Line has trailing spaces. 81
Method 'getValidity' is not designed for extension - needs to be abstract, final or empty. 85
Line has trailing spaces. 88
Method 'getComment' is not designed for extension - needs to be abstract, final or empty. 92
Line has trailing spaces. 95
Method 'getDisplay' is not designed for extension - needs to be abstract, final or empty. 99
Line has trailing spaces. 102
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 106
Parameter o should be final. 106
Line has trailing spaces. 117
Method 'implies' is not designed for extension - needs to be abstract, final or empty. 121
Parameter c should be final. 121
Expected @param tag for 'c'. 121
Line has trailing spaces. 128
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 132
Line has trailing spaces. 139
Line has trailing spaces. 143
Parameter l should be final. 148
Expected @throws tag for 'SexpParseException'. 148
Line has trailing spaces. 150
'display' hides a field. 154
Line has trailing spaces. 165
'issuer' hides a field. 169
Line has trailing spaces. 181
'subject' hides a field. 185
Line has trailing spaces. 189
'validity' hides a field. 206
'comment' hides a field. 207

jsdsi/CertPath.java

Error Line
Line has trailing spaces. 9
Line has trailing spaces. 13
Line has trailing spaces. 19
Missing a Javadoc comment. 20
'2732249332091399979L' is a magic number. 20
Line has trailing spaces. 21
Line has trailing spaces. 26
Line has trailing spaces. 29
Parameter p should be final. 32
'assert' is not followed by whitespace. 34
Line has trailing spaces. 37
Line has trailing spaces. 40
Method 'getProof' is not designed for extension - needs to be abstract, final or empty. 43
Line has trailing spaces. 46
Line has trailing spaces. 48
Line has trailing spaces. 50
Line has trailing spaces. 52
Line has trailing spaces. 53
Method 'getType' is not designed for extension - needs to be abstract, final or empty. 56
Line has trailing spaces. 59
Method 'getEncodings' is not designed for extension - needs to be abstract, final or empty. 63
'{' is followed by whitespace. 64
Line has trailing spaces. 66
Method 'equals' is not designed for extension - needs to be abstract, final or empty. 70
Parameter o should be final. 70
Line has trailing spaces. 73
Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 77
Line has trailing spaces. 80
Method 'toString' is not designed for extension - needs to be abstract, final or empty. 84
Line has trailing spaces. 87
Method 'getEncoded' is not designed for extension - needs to be abstract, final or empty. 91
Line has trailing spaces. 94
Method 'getEncoded' is not designed for extension - needs to be abstract, final or empty. 98
Parameter encoding should be final. 98
Line has trailing spaces. 106
Method 'getCertificates' is not designed for extension - needs to be abstract, final or empty. 110

jsdsi/CertPathBuilder.java

Error Line
Using the '.*' form of import should be avoided - jsdsi.util.*. 10
Line has trailing spaces. 19
Line is longer than 80 characters. 25
Method 'engineBuild' is not designed for extension - needs to be abstract, final or empty. 27
Parameter params should be final. 28
Line has trailing spaces. 37
Line is longer than 80 characters. 39
Method 'engineBuild' is not designed for extension - needs to be abstract, final or empty. 41
Parameter params should be final. 42
Line has trailing spaces. 55