Checkstyle Results

The following document contains the results of Checkstyle .

Summary

FilesInfosWarningsErrors
900304

Files

FilesIWE
org/astrogrid/utils/ClassPathUtils.java 0074
org/astrogrid/utils/TimeStamp.java 008
org/astrogrid/utils/TypeSafeEnumerator.java 0069
org/astrogrid/utils/Workspace.java 00152
org/astrogrid/utils/package.html 001

org/astrogrid/utils/ClassPathUtils.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 21
Error Utility classes should not have a public or default constructor. 21
Error '{' should be on the previous line. 22
Error Line has trailing spaces. 23
Error '{' should be on the previous line. 31
Error Line has trailing spaces. 34
Error '=' is not preceded with whitespace. 35
Error '=' is not followed by whitespace. 35
Error '<' is not preceded with whitespace. 35
Error '<' is not followed by whitespace. 35
Error ';' is not followed by whitespace. 35
Error '{' should be on the previous line. 36
Error Line has trailing spaces. 38
Error '{' should be on the previous line. 40
Error '+' is not preceded with whitespace. 43
Error '+' is not followed by whitespace. 43
Error '+' is not preceded with whitespace. 43
Error '+' is not followed by whitespace. 43
Error '+' is not preceded with whitespace. 43
Error '+' is not followed by whitespace. 43
Error '}' should be on the same line. 45
Error '{' should be on the previous line. 47
Error '+' is not preceded with whitespace. 50
Error '+' is not followed by whitespace. 50
Error '+' is not preceded with whitespace. 50
Error '+' is not followed by whitespace. 50
Error '+' is not preceded with whitespace. 50
Error '+' is not followed by whitespace. 50
Error Expected an @return tag. 66
Error Parameter filename should be final. 66
Error Expected @param tag for 'filename'. 66
Error '{' should be on the previous line. 67
Error '{' should be on the previous line. 69
Error Line is longer than 80 characters. 72
Error Line has trailing spaces. 73
Error '}' should be on the same line. 75
Error '{' should be on the previous line. 77
Error Line has trailing spaces. 81
Error Expected an @return tag. 86
Error Parameter dirname should be final. 86
Error Expected @param tag for 'dirname'. 86
Error '{' should be on the previous line. 87
Error Line has trailing spaces. 89
Error '{' should be on the previous line. 91
Error Line has trailing spaces. 94
Error '{' should be on the previous line. 96
Error Line has trailing spaces. 102
Error First sentence should end with a period. 104
Error Expected an @return tag. 108
Error '{' should be on the previous line. 109
Error Line has trailing spaces. 113
Error '{' should be on the previous line. 115
Error Line has trailing spaces. 118
Error Line has trailing spaces. 121
Error Expected an @return tag. 127
Error '{' should be on the previous line. 128
Error Line has trailing spaces. 131
Error Line has trailing spaces. 132
Error First sentence should end with a period. 133
Error Parameter args should be final. 137
Error Expected @param tag for 'args'. 137
Error '{' should be on the previous line. 138
Error Line has trailing spaces. 140
Error '}' should be on the same line. 143
Error Line has trailing spaces. 145
Error '=' is not preceded with whitespace. 146
Error '=' is not followed by whitespace. 146
Error ';' is not followed by whitespace. 146
Error '<' is not preceded with whitespace. 146
Error '<' is not followed by whitespace. 146
Error ';' is not followed by whitespace. 146
Error '{' should be on the previous line. 147
Error Line has trailing spaces. 151

org/astrogrid/utils/TimeStamp.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Missing a Javadoc comment. 25
Error '{' should be on the previous line. 26
Error First sentence should end with a period. 27
Error Expected an @return tag. 30
Error Method 'getSecsSince' is not designed for extension - needs to be abstract, final or empty. 30
Error '{' should be on the previous line. 31
Error '1000' is a magic number. 33

org/astrogrid/utils/TypeSafeEnumerator.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error Line is longer than 80 characters. 21
Error Line is longer than 80 characters. 30
Error Line is longer than 80 characters. 32
Error '{' should be on the previous line. 57
Error Variable 'classLookup' must be private and have accessor methods. 61
Error Missing a Javadoc comment. 64
Error First sentence should end with a period. 66
Error Parameter aString should be final. 69
Error Expected @param tag for 'aString'. 69
Error '{' should be on the previous line. 70
Error Method 'addInstance' is not designed for extension - needs to be abstract, final or empty. 79
Error '{' should be on the previous line. 80
Error '{' should be on the previous line. 84
Error Line is longer than 80 characters. 90
Error Line is longer than 80 characters. 92
Error First sentence should end with a period. 98
Error Expected an @return tag. 101
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 101
Error '{' should be on the previous line. 102
Error Expected an @return tag. 119
Error Expected @throws tag for 'java.io.ObjectStreamException'. 119
Error '{' should be on the previous line. 120
Error Line is longer than 80 characters. 121
Error First sentence should end with a period. 124
Error Expected an @return tag. 127
Error Method 'getText' is not designed for extension - needs to be abstract, final or empty. 127
Error '{' should be on the previous line. 128
Error Line is longer than 80 characters. 136
Error Unclosed HTML tag found: <SubClass>.class); 136
Error Expected an @return tag. 140
Error Parameter aClass should be final. 140
Error Expected @param tag for 'aClass'. 140
Error '{' should be on the previous line. 141
Error '{' should be on the previous line. 145
Error Line is longer than 80 characters. 153
Error '+' is not preceded with whitespace. 153
Error '+' is not followed by whitespace. 153
Error Line is longer than 80 characters. 161
Error Unclosed HTML tag found: <SubClass>.class); } 168
Error Parameter aClass should be final. 174
Error '{' should be on the previous line. 175
Error First sentence should end with a period. 179
Error Unclosed HTML tag found: <pre> 182
Error Unclosed HTML tag found: <SubClass>[] getAll() { 183
Error Line is longer than 80 characters. 184
Error Expected an @return tag. 187
Error Parameter aClass should be final. 187
Error Expected @param tag for 'aClass'. 187
Error '{' should be on the previous line. 188
Error First sentence should end with a period. 192
Error Expected an @return tag. 202
Error Parameter aClass should be final. 202
Error Expected @param tag for 'aClass'. 202
Error Parameter aString should be final. 202
Error Expected @param tag for 'aString'. 202
Error '{' should be on the previous line. 203
Error ';' is followed by whitespace. 206
Error '{' should be on the previous line. 207
Error 'if' construct must use '{}'s. 210
Error Line is longer than 80 characters. 213
Error '+' is not preceded with whitespace. 213
Error '+' is not followed by whitespace. 213
Error '+' is not preceded with whitespace. 213
Error '+' is not followed by whitespace. 213
Error '+' is not preceded with whitespace. 213
Error '+' is not followed by whitespace. 213
Error '+' is not preceded with whitespace. 213
Error '+' is not followed by whitespace. 213

org/astrogrid/utils/Workspace.java

ErrorLine
Error Line does not match expected header line of '<?xml version="1.0" encoding="UTF-8"?>'. 1
Error '{' should be on the previous line. 26
Error First sentence should end with a period. 27
Error First sentence should end with a period. 30
Error Name 'PERSIST' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34
Error Variable 'PERSIST' must be private and have accessor methods. 34
Error First sentence should end with a period. 36
Error First sentence should end with a period. 39
Error Expected @throws tag for 'IOException'. 43
Error '{' should be on the previous line. 44
Error First sentence should end with a period. 48
Error Line is longer than 80 characters. 48
Error Line is longer than 80 characters. 49
Error Line has trailing spaces. 50
Error First sentence should end with a period. 51
Error Line is longer than 80 characters. 52
Error Line is longer than 80 characters. 54
Error Unclosed HTML tag found: <i>/workspaces</tt> 54
Error Line is longer than 80 characters. 55
Error Parameter workspaceId should be final. 57
Error Expected @param tag for 'workspaceId'. 57
Error Expected @throws tag for 'IOException'. 57
Error '{' should be on the previous line. 58
Error Line is longer than 80 characters. 60
Error '(' is followed by whitespace. 60
Error ')' is preceded with whitespace. 60
Error Line has trailing spaces. 61
Error ':' should be on a new line. 66
Error '+' is not preceded with whitespace. 67
Error '+' is not followed by whitespace. 67
Error '+' is not followed by whitespace. 68
Error Line is longer than 80 characters. 69
Error '+' is not followed by whitespace. 69
Error '+' is not preceded with whitespace. 69
Error '+' is not followed by whitespace. 69
Error Line has trailing spaces. 70
Error ':' should be on a new line. 71
Error '+' is not preceded with whitespace. 72
Error '+' is not followed by whitespace. 72
Error '+' is not followed by whitespace. 73
Error '+' is not followed by whitespace. 74
Error '+' is not preceded with whitespace. 74
Error '+' is not followed by whitespace. 74
Error Line has trailing spaces. 75
Error '{' should be on the previous line. 77
Error Line is longer than 80 characters. 78
Error ',' is not followed by whitespace. 78
Error '}' should be on the same line. 80
Error '{' should be on the previous line. 82
Error ',' is not followed by whitespace. 83
Error Line has trailing spaces. 85
Error '{' should be on the previous line. 88
Error Line is longer than 80 characters. 89
Error '+' is not preceded with whitespace. 89
Error '+' is not followed by whitespace. 89
Error '+' is not preceded with whitespace. 89
Error '+' is not followed by whitespace. 89
Error Line has trailing spaces. 93
Error Line is longer than 80 characters. 95
Error '+' is not preceded with whitespace. 95
Error '+' is not followed by whitespace. 95
Error '+' is not preceded with whitespace. 95
Error '+' is not followed by whitespace. 95
Error Line has trailing spaces. 97
Error '{' should be on the previous line. 100
Error Line has trailing spaces. 103
Error Line is longer than 80 characters. 104
Error '+' is not preceded with whitespace. 104
Error '+' is not followed by whitespace. 104
Error Method 'close' is not designed for extension - needs to be abstract, final or empty. 113
Error Expected @throws tag for 'IOException'. 113
Error '{' should be on the previous line. 114
Error Line is longer than 80 characters. 115
Error Expected an @return tag. 130
Error Method 'isClosed' is not designed for extension - needs to be abstract, final or empty. 130
Error '{' should be on the previous line. 131
Error First sentence should end with a period. 135
Error Method 'finalize' is not designed for extension - needs to be abstract, final or empty. 139
Error Expected @throws tag for 'Throwable'. 139
Error '{' should be on the previous line. 140
Error '}' should be on the same line. 143
Error '{' should be on the previous line. 145
Error First sentence should end with a period. 150
Error Method 'empty' is not designed for extension - needs to be abstract, final or empty. 153
Error Expected @throws tag for 'IOException'. 153
Error '{' should be on the previous line. 154
Error Line is longer than 80 characters. 155
Error First sentence should end with a period. 160
Error Expected an @return tag. 164
Error Method 'makeWorkFile' is not designed for extension - needs to be abstract, final or empty. 164
Error Parameter filename should be final. 164
Error Expected @param tag for 'filename'. 164
Error Expected @throws tag for 'IOException'. 164
Error '{' should be on the previous line. 165
Error Line is longer than 80 characters. 166
Error Line is longer than 80 characters. 168
Error Expression can be simplified. 169
Error '{' should be on the previous line. 170
Error '+' is not preceded with whitespace. 171
Error '+' is not followed by whitespace. 171
Error '+' is not preceded with whitespace. 171
Error '+' is not followed by whitespace. 171
Error First sentence should end with a period. 176
Error Expected an @return tag. 179
Error Method 'makeTempFile' is not designed for extension - needs to be abstract, final or empty. 179
Error Parameter prefix should be final. 179
Error Expected @param tag for 'prefix'. 179
Error Parameter suffix should be final. 179
Error Expected @param tag for 'suffix'. 179
Error Expected @throws tag for 'IOException'. 179
Error '{' should be on the previous line. 180
Error First sentence should end with a period. 184
Error Expected an @return tag. 187
Error Method 'makeTempFile' is not designed for extension - needs to be abstract, final or empty. 187
Error Parameter prefix should be final. 187
Error Expected @param tag for 'prefix'. 187
Error Expected @throws tag for 'IOException'. 187
Error '{' should be on the previous line. 188
Error First sentence should end with a period. 192
Error Expected an @return tag. 195
Error Method 'makeTempDir' is not designed for extension - needs to be abstract, final or empty. 195
Error Parameter prefix should be final. 195
Error Expected @param tag for 'prefix'. 195
Error Expected @throws tag for 'IOException'. 195
Error '{' should be on the previous line. 196
Error First sentence should end with a period. 203
Error Parameter dir should be final. 206
Error Expected @param tag for 'dir'. 206
Error Expected @throws tag for 'IOException'. 206
Error '{' should be on the previous line. 207
Error '{' should be on the previous line. 211
Error '+' is not preceded with whitespace. 212
Error '+' is not followed by whitespace. 212
Error '{' should be on the previous line. 215
Error '+' is not preceded with whitespace. 216
Error '+' is not followed by whitespace. 216
Error '{' should be on the previous line. 221
Error Parameter fod should be final. 230
Error Expected @param tag for 'fod'. 230
Error Expected @throws tag for 'IOException'. 230
Error '{' should be on the previous line. 231
Error '{' should be on the previous line. 234
Error '{' should be on the previous line. 243
Error '+' is not preceded with whitespace. 244
Error '+' is not followed by whitespace. 244
Error '+' is not preceded with whitespace. 244
Error '+' is not followed by whitespace. 244
Error Line has trailing spaces. 247
Error First sentence should end with a period. 248
Error Parameter args should be final. 251
Error Expected @param tag for 'args'. 251
Error Expected @throws tag for 'IOException'. 251

org/astrogrid/utils/package.html

ErrorLine
Error Missing package documentation file.0