| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 14 |
|
|
Using the '.*' form of import should be avoided - java.lang.reflect.*. | 15 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 16 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 17 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.config.*. | 21 |
|
|
Missing a Javadoc comment. | 24 |
|
|
First sentence should end with a period. | 25 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 28 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Line has trailing spaces. | 32 |
|
|
Line is longer than 80 characters. | 33 |
|
|
Missing a Javadoc comment. | 33 |
|
|
Line has trailing spaces. | 34 |
|
|
Line is longer than 80 characters. | 35 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Line has trailing spaces. | 36 |
|
|
First sentence should end with a period. | 37 |
|
|
Redundant 'final' modifier. | 41 |
|
|
Line has trailing spaces. | 44 |
|
|
Missing a Javadoc comment. | 45 |
|
|
Redundant 'final' modifier. | 45 |
|
|
Parameter propertiesURL should be final. | 45 |
|
|
Line has trailing spaces. | 51 |
|
|
Missing a Javadoc comment. | 52 |
|
|
Missing a Javadoc comment. | 53 |
|
|
Line has trailing spaces. | 54 |
|
|
Missing a Javadoc comment. | 55 |
|
|
Missing a Javadoc comment. | 56 |
|
|
Missing a Javadoc comment. | 58 |
|
|
Missing a Javadoc comment. | 60 |
|
|
Missing a Javadoc comment. | 62 |
|
|
Missing a Javadoc comment. | 64 |
|
|
Missing a Javadoc comment. | 66 |
|
|
Missing a Javadoc comment. | 68 |
|
|
Line has trailing spaces. | 69 |
|
|
Missing a Javadoc comment. | 70 |
|
|
Parameter propertiesURL should be final. | 70 |
|
|
Missing a Javadoc comment. | 87 |
|
|
Parameter value should be final. | 87 |
|
|
Line has trailing spaces. | 90 |
|
|
Missing a Javadoc comment. | 91 |
|
|
Parameter value should be final. | 91 |
|
|
Line has trailing spaces. | 94 |
|
|
Missing a Javadoc comment. | 95 |
|
|
Line is longer than 80 characters. | 117 |
|
|
Line is longer than 80 characters. | 125 |
|
|
Missing a Javadoc comment. | 135 |
|
|
Line has trailing spaces. | 138 |
|
|
Line is longer than 80 characters. | 139 |
|
|
Line is longer than 80 characters. | 148 |
|
|
Expected @throws tag for 'IOException'. | 158 |
|
|
Expected @throws tag for 'FileNotFoundException'. | 158 |
|
|
Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. | 158 |
|
|
Line is longer than 80 characters. | 162 |
|
|
Line has trailing spaces. | 169 |
|
|
Missing a Javadoc comment. | 170 |
|
|
Line is longer than 80 characters. | 176 |
|
|
Line is longer than 80 characters. | 180 |
|
|
Line is longer than 80 characters. | 182 |
|
|
Must have at least one statement. | 184 |
|
|
Must have at least one statement. | 194 |
|
|
Line has trailing spaces. | 200 |
|
|
Line is longer than 80 characters. | 203 |
|
|
Line has trailing spaces. | 207 |
|
|
Line is longer than 80 characters. | 210 |
|
|
Parameter key should be final. | 213 |
|
|
Parameter value should be final. | 213 |
|
|
'synchronized' is not followed by whitespace. | 219 |
|
|
Line has trailing spaces. | 231 |
|
|
Line is longer than 80 characters. | 233 |
|
|
Parameter validator should be final. | 237 |
|
|
Line has trailing spaces. | 240 |
|
|
Parameter validator should be final. | 245 |
|
|
Line has trailing spaces. | 248 |
|
|
Missing a Javadoc comment. | 249 |
|
|
Missing a Javadoc comment. | 256 |
|
|
Parameter key should be final. | 256 |
|
|
Parameter value should be final. | 256 |
|
|
Line has trailing spaces. | 265 |
|
|
Line is longer than 80 characters. | 266 |
|
|
Missing a Javadoc comment. | 266 |
|
|
Parameter property should be final. | 266 |
|
|
Parameter defaultValue should be final. | 266 |
|
|
Parameter expandEnv should be final. | 266 |
|
|
Line has trailing spaces. | 273 |
|
|
Missing a Javadoc comment. | 274 |
|
|
Parameter property should be final. | 274 |
|
|
Parameter expandEnv should be final. | 274 |
|
|
Expected an @return tag. | 286 |
|
|
Parameter value should be final. | 286 |
|
|
Expected @param tag for 'value'. | 286 |
|
|
Line has trailing spaces. | 296 |
|
|
Line has trailing spaces. | 305 |
|
|
Parameter property should be final. | 308 |
|
|
Parameter defaultValue should be final. | 308 |
|
|
Line has trailing spaces. | 311 |
|
|
Line has trailing spaces. | 315 |
|
|
Parameter property should be final. | 318 |
|
|
Line has trailing spaces. | 321 |
|
|
Line is longer than 80 characters. | 323 |
|
|
Line has trailing spaces. | 326 |
|
|
Line is longer than 80 characters. | 327 |
|
|
Parameter writeOnChange should be final. | 330 |
|
|
'writeOnChange' hides a field. | 330 |
|
|
Line has trailing spaces. | 333 |
|
|
Line is longer than 80 characters. | 335 |
|
|
Line is longer than 80 characters. | 337 |
|
|
Line is longer than 80 characters. | 346 |
|
|
Line has trailing spaces. | 359 |
|
|
Line has trailing spaces. | 362 |
|
|
Line is longer than 80 characters. | 363 |
|
|
Parameter args should be final. | 379 |
|
|
Line has trailing spaces. | 394 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Using the '.*' form of import should be avoided - java.awt.event.*. | 7 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 8 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 9 |
|
|
Using the '.*' form of import should be avoided - javax.swing.*. | 11 |
|
|
Using the '.*' form of import should be avoided - org.apache.log4j.*. | 13 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. | 16 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.ui.*. | 18 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.task.*. | 22 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.util.*. | 23 |
|
|
Comment matches to-do format 'TODO:'. | 34 |
|
|
Comment matches to-do format 'TODO:'. | 35 |
|
|
Comment matches to-do format 'TODO:'. | 36 |
|
|
Comment matches to-do format 'TODO:'. | 37 |
|
|
Comment matches to-do format 'TODO:'. | 38 |
|
|
Comment matches to-do format 'TODO:'. | 39 |
|
|
Comment matches to-do format 'TODO:'. | 40 |
|
|
Line has trailing spaces. | 42 |
|
|
Line has trailing spaces. | 46 |
|
|
Line is longer than 80 characters. | 47 |
|
|
Missing a Javadoc comment. | 47 |
|
|
Missing a Javadoc comment. | 48 |
|
|
Variable 'prog' must be private and have accessor methods. | 48 |
|
|
Missing a Javadoc comment. | 49 |
|
|
Missing a Javadoc comment. | 51 |
|
|
Missing a Javadoc comment. | 55 |
|
|
Missing a Javadoc comment. | 58 |
|
|
Missing a Javadoc comment. | 62 |
|
|
Missing a Javadoc comment. | 66 |
|
|
Missing a Javadoc comment. | 73 |
|
|
Missing a Javadoc comment. | 80 |
|
|
'100' is a magic number. | 81 |
|
|
Missing a Javadoc comment. | 87 |
|
|
Parameter percent should be final. | 87 |
|
|
First sentence should end with a period. | 92 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 95 |
|
|
Missing a Javadoc comment. | 97 |
|
|
Missing a Javadoc comment. | 99 |
|
|
Missing a Javadoc comment. | 101 |
|
|
Missing a Javadoc comment. | 103 |
|
|
Missing a Javadoc comment. | 105 |
|
|
Missing a Javadoc comment. | 107 |
|
|
Missing a Javadoc comment. | 109 |
|
|
First sentence should end with a period. | 116 |
|
|
Line has trailing spaces. | 120 |
|
|
Line has trailing spaces. | 124 |
|
|
Line is longer than 80 characters. | 128 |
|
|
Line is longer than 80 characters. | 135 |
|
|
Parameter e should be final. | 137 |
|
|
'cast' is not followed by whitespace. | 143 |
|
|
'cast' is not followed by whitespace. | 144 |
|
|
Expected an @return tag. | 152 |
|
|
Line is longer than 80 characters. | 154 |
|
|
Missing a Javadoc comment. | 159 |
|
|
'4' is a magic number. | 161 |
|
|
'4' is a magic number. | 161 |
|
|
'4' is a magic number. | 162 |
|
|
'4' is a magic number. | 162 |
|
|
'4' is a magic number. | 162 |
|
|
'4' is a magic number. | 162 |
|
|
'4' is a magic number. | 165 |
|
|
'4' is a magic number. | 165 |
|
|
'4' is a magic number. | 165 |
|
|
'4' is a magic number. | 165 |
|
|
Method 'getSearchPanel' is not designed for extension - needs to be abstract, final or empty. | 171 |
|
|
Missing a Javadoc comment. | 171 |
|
|
Method 'getDailySummary' is not designed for extension - needs to be abstract, final or empty. | 178 |
|
|
Missing a Javadoc comment. | 178 |
|
|
Method 'doCreateNewFood' is not designed for extension - needs to be abstract, final or empty. | 185 |
|
|
Missing a Javadoc comment. | 185 |
|
|
Line has trailing spaces. | 190 |
|
|
Method 'doEditTargets' is not designed for extension - needs to be abstract, final or empty. | 190 |
|
|
Missing a Javadoc comment. | 190 |
|
|
Line has trailing spaces. | 194 |
|
|
Method 'doNewUserWizard' is not designed for extension - needs to be abstract, final or empty. | 194 |
|
|
Missing a Javadoc comment. | 194 |
|
|
Line has trailing spaces. | 197 |
|
|
Method 'doQuit' is not designed for extension - needs to be abstract, final or empty. | 198 |
|
|
Missing a Javadoc comment. | 198 |
|
|
Line has trailing spaces. | 202 |
|
|
Method 'doUSDAImport' is not designed for extension - needs to be abstract, final or empty. | 203 |
|
|
Missing a Javadoc comment. | 203 |
|
|
Parameter args should be final. | 212 |
|
|
Expected @param tag for 'args'. | 212 |
|
|
Line has trailing spaces. | 220 |
|
|
Line has trailing spaces. | 228 |
|
|
Missing a Javadoc comment. | 248 |
|
|
Parameter t should be final. | 248 |
|
|
Method 'taskFinished' is not designed for extension - needs to be abstract, final or empty. | 255 |
|
|
Missing a Javadoc comment. | 255 |
|
|
Parameter t should be final. | 255 |
|
|
'}' is not followed by whitespace. | 262 |
|
|
'}' is not preceded with whitespace. | 262 |
|
|
Line is longer than 80 characters. | 268 |
|
|
Method 'checkDataSources' is not designed for extension - needs to be abstract, final or empty. | 270 |
|
|
'ds' hides a field. | 274 |
|
|
'ds' hides a field. | 281 |
|
|
Method 'taskAborted' is not designed for extension - needs to be abstract, final or empty. | 289 |
|
|
Missing a Javadoc comment. | 289 |
|
|
Parameter t should be final. | 289 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Using the '.*' form of import should be avoided - java.awt.*. | 6 |
|
|
Using the '.*' form of import should be avoided - javax.swing.*. | 8 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.task.*. | 10 |
|
|
Missing a Javadoc comment. | 13 |
|
|
Missing a Javadoc comment. | 15 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Missing a Javadoc comment. | 17 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Parameter startupTasks should be final. | 20 |
|
|
Line has trailing spaces. | 24 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Parameter startupTasks should be final. | 25 |
|
|
'4' is a magic number. | 28 |
|
|
',' is not followed by whitespace. | 28 |
|
|
'4' is a magic number. | 28 |
|
|
Line has trailing spaces. | 34 |
|
|
Method 'start' is not designed for extension - needs to be abstract, final or empty. | 35 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Line has trailing spaces. | 39 |
|
|
Missing a Javadoc comment. | 40 |
|
|
'4' is a magic number. | 42 |
|
|
',' is not followed by whitespace. | 42 |
|
|
'4' is a magic number. | 42 |
|
|
Line has trailing spaces. | 49 |
|
|
Missing a Javadoc comment. | 50 |
|
|
'6' is a magic number. | 54 |
|
|
',' is not followed by whitespace. | 54 |
|
|
'6' is a magic number. | 54 |
|
|
',' is not followed by whitespace. | 54 |
|
|
'6' is a magic number. | 54 |
|
|
',' is not followed by whitespace. | 54 |
|
|
'6' is a magic number. | 54 |
|
|
Line has trailing spaces. | 59 |
|
|
Missing a Javadoc comment. | 60 |
|
|
'10' is a magic number. | 63 |
|
|
',' is not followed by whitespace. | 63 |
|
|
'10' is a magic number. | 63 |
|
|
',' is not followed by whitespace. | 63 |
|
|
'10' is a magic number. | 63 |
|
|
',' is not followed by whitespace. | 63 |
|
|
'10' is a magic number. | 63 |
|
|
'24' is a magic number. | 64 |
|
|
Missing a Javadoc comment. | 69 |
|
|
Parameter t should be final. | 69 |
|
|
'{' is not followed by whitespace. | 69 |
|
|
'}' is not preceded with whitespace. | 69 |
|
|
Method 'taskFinished' is not designed for extension - needs to be abstract, final or empty. | 71 |
|
|
Missing a Javadoc comment. | 71 |
|
|
Parameter t should be final. | 71 |
|
|
Method 'taskAborted' is not designed for extension - needs to be abstract, final or empty. | 76 |
|
|
Missing a Javadoc comment. | 76 |
|
|
Parameter t should be final. | 76 |
|
|
Line has trailing spaces. | 84 |
|
|
Line has trailing spaces. | 85 |
|
|
Method 'addTaskListener' is not designed for extension - needs to be abstract, final or empty. | 87 |
|
|
Parameter tl should be final. | 87 |
|
|
First sentence should end with a period. | 91 |
|
|
Line has trailing spaces. | 93 |
|
|
Line has trailing spaces. | 94 |
|
|
Method 'removeTaskListener' is not designed for extension - needs to be abstract, final or empty. | 96 |
|
|
Parameter tl should be final. | 96 |
|
|
Line has trailing spaces. | 99 |
|
|
Line has trailing spaces. | 100 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 14 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Method 'getMatcher' is not designed for extension - needs to be abstract, final or empty. | 18 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Parameter string should be final. | 18 |
|
|
Line has trailing spaces. | 24 |
|
|
Line is longer than 80 characters. | 26 |
|
|
Method 'isValid' is not designed for extension - needs to be abstract, final or empty. | 28 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Parameter key should be final. | 28 |
|
|
Parameter value should be final. | 28 |
|
|
Line has trailing spaces. | 35 |
|
|
Line is longer than 80 characters. | 37 |
|
|
Line has trailing spaces. | 39 |
|
|
Parameter key should be final. | 45 |
|
|
Parameter value should be final. | 45 |
|
|
Line has trailing spaces. | 46 |
|
|
Line has trailing spaces. | 52 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Missing a Javadoc comment. | 14 |
|
|
Line has trailing spaces. | 15 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Line has trailing spaces. | 19 |
|
|
Line is longer than 80 characters. | 20 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Parameter key should be final. | 22 |
|
|
Parameter value should be final. | 22 |
|
|
Line has trailing spaces. | 28 |
|
|
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 29 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Parameter o should be final. | 29 |
|
|
Line has trailing spaces. | 32 |
|
|
Missing a Javadoc comment. | 33 |
|
|
Redundant 'final' modifier. | 33 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 15 |
|
|
Line is longer than 80 characters. | 24 |
|
|
Line has trailing spaces. | 28 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 15 |
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 20 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Line has trailing spaces. | 23 |
|
|
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 24 |
|
|
Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 24 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Parameter fg should be final. | 24 |
|
|
Line has trailing spaces. | 27 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Missing a Javadoc comment. | 7 |
|
|
Missing a Javadoc comment. | 9 |
|
|
Name 'TRP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 9 |
|
|
Variable 'TRP' must be private and have accessor methods. | 9 |
|
|
Missing a Javadoc comment. | 11 |
|
|
Name 'THR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 11 |
|
|
Variable 'THR' must be private and have accessor methods. | 11 |
|
|
Missing a Javadoc comment. | 13 |
|
|
Name 'ILE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 13 |
|
|
Variable 'ILE' must be private and have accessor methods. | 13 |
|
|
Missing a Javadoc comment. | 15 |
|
|
Name 'LEU' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 15 |
|
|
Variable 'LEU' must be private and have accessor methods. | 15 |
|
|
Missing a Javadoc comment. | 17 |
|
|
Name 'LYS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 17 |
|
|
Variable 'LYS' must be private and have accessor methods. | 17 |
|
|
Missing a Javadoc comment. | 19 |
|
|
Name 'MET' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 19 |
|
|
Variable 'MET' must be private and have accessor methods. | 19 |
|
|
Missing a Javadoc comment. | 21 |
|
|
Name 'CYS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 21 |
|
|
Variable 'CYS' must be private and have accessor methods. | 21 |
|
|
Missing a Javadoc comment. | 23 |
|
|
Name 'PHE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 23 |
|
|
Variable 'PHE' must be private and have accessor methods. | 23 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Name 'TYR' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 25 |
|
|
Variable 'TYR' must be private and have accessor methods. | 25 |
|
|
Missing a Javadoc comment. | 27 |
|
|
Name 'VAL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 27 |
|
|
Variable 'VAL' must be private and have accessor methods. | 27 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Name 'ARG' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 29 |
|
|
Variable 'ARG' must be private and have accessor methods. | 29 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Name 'HIS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 31 |
|
|
Variable 'HIS' must be private and have accessor methods. | 31 |
|
|
Missing a Javadoc comment. | 33 |
|
|
Name 'ALA' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 |
|
|
Variable 'ALA' must be private and have accessor methods. | 33 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Name 'ASP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 35 |
|
|
Variable 'ASP' must be private and have accessor methods. | 35 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Name 'GLU' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 37 |
|
|
Variable 'GLU' must be private and have accessor methods. | 37 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Name 'GLY' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 39 |
|
|
Variable 'GLY' must be private and have accessor methods. | 39 |
|
|
Missing a Javadoc comment. | 41 |
|
|
Name 'PRO' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 41 |
|
|
Variable 'PRO' must be private and have accessor methods. | 41 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Name 'SER' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 |
|
|
Variable 'SER' must be private and have accessor methods. | 43 |
|
|
Missing a Javadoc comment. | 45 |
|
|
Name 'HYP' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 45 |
|
|
Variable 'HYP' must be private and have accessor methods. | 45 |
|
|
Missing a Javadoc comment. | 47 |
|
|
Missing a Javadoc comment. | 50 |
|
|
Parameter f should be final. | 50 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 54 |
|
|
Missing a Javadoc comment. | 54 |
|
|
Parameter food should be final. | 54 |
|
|
'100.0' is a magic number. | 55 |
|
|
Line has trailing spaces. | 61 |
|
|
Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. | 64 |
|
|
Missing a Javadoc comment. | 64 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 19 |
|
|
First sentence should end with a period. | 24 |
|
|
Line has trailing spaces. | 26 |
|
|
Line has trailing spaces. | 32 |
|
|
Line is longer than 80 characters. | 34 |
|
|
Line has trailing spaces. | 36 |
|
|
Line has trailing spaces. | 43 |
|
|
Line has trailing spaces. | 49 |
|
|
Line has trailing spaces. | 51 |
|
|
Line has trailing spaces. | 58 |
|
|
Line has trailing spaces. | 64 |
|
|
Line is longer than 80 characters. | 64 |
|
|
Line has trailing spaces. | 66 |
|
|
Line is longer than 80 characters. | 67 |
|
|
Line is longer than 80 characters. | 73 |
|
|
Line has trailing spaces. | 74 |
|
|
Line has trailing spaces. | 82 |
|
|
Line has trailing spaces. | 89 |
|
|
Line has trailing spaces. | 96 |
|
|
Line has trailing spaces. | 103 |
|
|
Line has trailing spaces. | 107 |
|
|
Line has trailing spaces. | 110 |
|
|
Line has trailing spaces. | 117 |
|
|
Line has trailing spaces. | 124 |
|
|
Line is longer than 80 characters. | 124 |
|
|
Line has trailing spaces. | 126 |
|
|
Line has trailing spaces. | 134 |
|
|
Line is longer than 80 characters. | 135 |
|
|
Line is longer than 80 characters. | 142 |
|
|
Line is longer than 80 characters. | 143 |
|
|
Line has trailing spaces. | 145 |
|
|
Line has trailing spaces. | 151 |
|
|
Line has trailing spaces. | 153 |
|
|
Expected @param tag for 'source'. | 156 |
|
|
Line has trailing spaces. | 157 |
|
|
Line has trailing spaces. | 162 |
|
|
Line is longer than 80 characters. | 165 |
|
|
Line is longer than 80 characters. | 166 |
|
|
Line has trailing spaces. | 173 |
|
|
Line is longer than 80 characters. | 173 |
|
|
Line is longer than 80 characters. | 174 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 15 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Line has trailing spaces. | 21 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Missing a Javadoc comment. | 6 |
|
|
Missing a Javadoc comment. | 8 |
|
|
Variable 'saturated' must be private and have accessor methods. | 8 |
|
|
Missing a Javadoc comment. | 9 |
|
|
Variable 'monounsaturated' must be private and have accessor methods. | 9 |
|
|
Missing a Javadoc comment. | 10 |
|
|
Variable 'polyunsaturated' must be private and have accessor methods. | 10 |
|
|
Missing a Javadoc comment. | 11 |
|
|
Variable 'transfats' must be private and have accessor methods. | 11 |
|
|
Missing a Javadoc comment. | 12 |
|
|
Variable 'cholesterol' must be private and have accessor methods. | 12 |
|
|
Missing a Javadoc comment. | 13 |
|
|
Variable 'phytosterol' must be private and have accessor methods. | 13 |
|
|
Missing a Javadoc comment. | 14 |
|
|
Variable 'omega3' must be private and have accessor methods. | 14 |
|
|
Missing a Javadoc comment. | 15 |
|
|
Variable 'omega6' must be private and have accessor methods. | 15 |
|
|
Missing a Javadoc comment. | 17 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Parameter f should be final. | 20 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 24 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Parameter food should be final. | 24 |
|
|
'100.0' is a magic number. | 25 |
|
|
Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. | 29 |
|
|
Missing a Javadoc comment. | 29 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 10 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Variable 'kcals' must be private and have accessor methods. | 16 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Variable 'kj' must be private and have accessor methods. | 18 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Variable 'water' must be private and have accessor methods. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Variable 'protein' must be private and have accessor methods. | 22 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Variable 'lipid' must be private and have accessor methods. | 24 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Variable 'ash' must be private and have accessor methods. | 26 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Variable 'carbs' must be private and have accessor methods. | 28 |
|
|
Missing a Javadoc comment. | 30 |
|
|
Variable 'fiber' must be private and have accessor methods. | 30 |
|
|
Missing a Javadoc comment. | 32 |
|
|
Variable 'sugar' must be private and have accessor methods. | 32 |
|
|
Missing a Javadoc comment. | 34 |
|
|
Variable 'starch' must be private and have accessor methods. | 34 |
|
|
Missing a Javadoc comment. | 36 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Parameter f should be final. | 39 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 43 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Parameter food should be final. | 43 |
|
|
'100.0' is a magic number. | 44 |
|
|
Line has trailing spaces. | 51 |
|
|
Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. | 54 |
|
|
Missing a Javadoc comment. | 54 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 11 |
|
|
Missing a Javadoc comment. | 16 |
|
|
'static' modifier out of order with the JLS suggestions. | 16 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 24 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 25 |
|
|
Line has trailing spaces. | 26 |
|
|
Missing a Javadoc comment. | 27 |
|
|
First sentence should end with a period. | 30 |
|
|
Line has trailing spaces. | 32 |
|
|
Parameter amount should be final. | 41 |
|
|
'amount' hides a field. | 41 |
|
|
Parameter description should be final. | 41 |
|
|
'description' hides a field. | 41 |
|
|
Parameter grams should be final. | 41 |
|
|
'grams' hides a field. | 41 |
|
|
Line has trailing spaces. | 50 |
|
|
Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. | 53 |
|
|
First sentence should end with a period. | 57 |
|
|
Line has trailing spaces. | 59 |
|
|
Method 'setAmount' is not designed for extension - needs to be abstract, final or empty. | 63 |
|
|
Parameter amount should be final. | 63 |
|
|
'amount' hides a field. | 63 |
|
|
First sentence should end with a period. | 67 |
|
|
Line has trailing spaces. | 69 |
|
|
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. | 72 |
|
|
First sentence should end with a period. | 76 |
|
|
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. | 79 |
|
|
Parameter description should be final. | 79 |
|
|
'description' hides a field. | 79 |
|
|
Expected @param tag for 'description'. | 79 |
|
|
First sentence should end with a period. | 83 |
|
|
Line has trailing spaces. | 85 |
|
|
Method 'getGrams' is not designed for extension - needs to be abstract, final or empty. | 88 |
|
|
First sentence should end with a period. | 92 |
|
|
Method 'setGrams' is not designed for extension - needs to be abstract, final or empty. | 95 |
|
|
Parameter grams should be final. | 95 |
|
|
'grams' hides a field. | 95 |
|
|
Expected @param tag for 'grams'. | 95 |
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 99 |
|
|
Missing a Javadoc comment. | 99 |
|
|
'0.5' is a magic number. | 101 |
|
|
'cast' is not followed by whitespace. | 104 |
|
|
'cast' is not followed by whitespace. | 105 |
|
|
Line has trailing spaces. | 106 |
|
|
Method 'getID' is not designed for extension - needs to be abstract, final or empty. | 112 |
|
|
Missing a Javadoc comment. | 112 |
|
|
Method 'setID' is not designed for extension - needs to be abstract, final or empty. | 116 |
|
|
Missing a Javadoc comment. | 116 |
|
|
Parameter id should be final. | 116 |
|
|
Line has trailing spaces. | 119 |
|
|
Method 'getFoodID' is not designed for extension - needs to be abstract, final or empty. | 120 |
|
|
Missing a Javadoc comment. | 120 |
|
|
Method 'setFoodID' is not designed for extension - needs to be abstract, final or empty. | 124 |
|
|
Missing a Javadoc comment. | 124 |
|
|
Parameter fid should be final. | 124 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Missing a Javadoc comment. | 7 |
|
|
Missing a Javadoc comment. | 8 |
|
|
Variable 'calcium' must be private and have accessor methods. | 8 |
|
|
Missing a Javadoc comment. | 10 |
|
|
Variable 'copper' must be private and have accessor methods. | 10 |
|
|
Missing a Javadoc comment. | 12 |
|
|
Variable 'iron' must be private and have accessor methods. | 12 |
|
|
Missing a Javadoc comment. | 14 |
|
|
Variable 'magnesium' must be private and have accessor methods. | 14 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Variable 'manganese' must be private and have accessor methods. | 16 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Variable 'phosphorus' must be private and have accessor methods. | 18 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Variable 'potassium' must be private and have accessor methods. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Variable 'selenium' must be private and have accessor methods. | 22 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Variable 'sodium' must be private and have accessor methods. | 24 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Variable 'zinc' must be private and have accessor methods. | 26 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Parameter f should be final. | 31 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 35 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Parameter food should be final. | 35 |
|
|
'100.0' is a magic number. | 36 |
|
|
Line has trailing spaces. | 42 |
|
|
Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. | 45 |
|
|
Missing a Javadoc comment. | 45 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 6 |
|
|
Class NutrientInfo should be declared as final. | 8 |
|
|
Missing a Javadoc comment. | 8 |
|
|
Missing a Javadoc comment. | 10 |
|
|
Missing a Javadoc comment. | 12 |
|
|
Missing a Javadoc comment. | 14 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Name 'RDI' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 18 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Name 'RDA_MIN' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Name 'RDA_MAX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 22 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Missing a Javadoc comment. | 30 |
|
|
Missing a Javadoc comment. | 32 |
|
|
Line has trailing spaces. | 33 |
|
|
Missing a Javadoc comment. | 34 |
|
|
Line is longer than 80 characters. | 36 |
|
|
Missing a Javadoc comment. | 36 |
|
|
Parameter tag should be final. | 36 |
|
|
'tag' hides a field. | 36 |
|
|
Parameter name should be final. | 36 |
|
|
'name' hides a field. | 36 |
|
|
Parameter units should be final. | 36 |
|
|
'units' hides a field. | 36 |
|
|
Parameter category should be final. | 36 |
|
|
'category' hides a field. | 36 |
|
|
Line has trailing spaces. | 42 |
|
|
Line is longer than 80 characters. | 43 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Parameter tag should be final. | 43 |
|
|
'tag' hides a field. | 43 |
|
|
Parameter name should be final. | 43 |
|
|
'name' hides a field. | 43 |
|
|
Parameter units should be final. | 43 |
|
|
'units' hides a field. | 43 |
|
|
Parameter category should be final. | 43 |
|
|
'category' hides a field. | 43 |
|
|
Parameter DV should be final. | 43 |
|
|
Name 'DV' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 |
|
|
Missing a Javadoc comment. | 49 |
|
|
Missing a Javadoc comment. | 53 |
|
|
Missing a Javadoc comment. | 57 |
|
|
Missing a Javadoc comment. | 61 |
|
|
Missing a Javadoc comment. | 65 |
|
|
'2000' is a magic number. | 69 |
|
|
'50' is a magic number. | 71 |
|
|
'300' is a magic number. | 73 |
|
|
'65' is a magic number. | 75 |
|
|
'1500' is a magic number. | 77 |
|
|
'25' is a magic number. | 79 |
|
|
Missing a Javadoc comment. | 88 |
|
|
'1000' is a magic number. | 92 |
|
|
Line is longer than 80 characters. | 93 |
|
|
Line is longer than 80 characters. | 94 |
|
|
'18' is a magic number. | 94 |
|
|
'400' is a magic number. | 96 |
|
|
'1000' is a magic number. | 100 |
|
|
'3500' is a magic number. | 102 |
|
|
'70.0' is a magic number. | 104 |
|
|
Line is longer than 80 characters. | 105 |
|
|
'2400' is a magic number. | 105 |
|
|
Line is longer than 80 characters. | 106 |
|
|
'15' is a magic number. | 106 |
|
|
Missing a Javadoc comment. | 111 |
|
|
Line has trailing spaces. | 136 |
|
|
Missing a Javadoc comment. | 137 |
|
|
Line is longer than 80 characters. | 140 |
|
|
'5000' is a magic number. | 140 |
|
|
Line is longer than 80 characters. | 141 |
|
|
Line is longer than 80 characters. | 142 |
|
|
Line is longer than 80 characters. | 143 |
|
|
Line is longer than 80 characters. | 144 |
|
|
Line is longer than 80 characters. | 145 |
|
|
Line has trailing spaces. | 146 |
|
|
Line is longer than 80 characters. | 146 |
|
|
Line is longer than 80 characters. | 147 |
|
|
'1.5' is a magic number. | 147 |
|
|
Line is longer than 80 characters. | 148 |
|
|
',' is not followed by whitespace. | 148 |
|
|
'1.7' is a magic number. | 148 |
|
|
Line is longer than 80 characters. | 149 |
|
|
',' is not followed by whitespace. | 149 |
|
|
'20' is a magic number. | 149 |
|
|
Line is longer than 80 characters. | 150 |
|
|
',' is not followed by whitespace. | 150 |
|
|
'10' is a magic number. | 150 |
|
|
Line is longer than 80 characters. | 151 |
|
|
Line has trailing spaces. | 152 |
|
|
Line is longer than 80 characters. | 152 |
|
|
'6' is a magic number. | 152 |
|
|
Line is longer than 80 characters. | 153 |
|
|
'60' is a magic number. | 153 |
|
|
Line is longer than 80 characters. | 154 |
|
|
'400' is a magic number. | 154 |
|
|
Line is longer than 80 characters. | 155 |
|
|
'30' is a magic number. | 155 |
|
|
Line is longer than 80 characters. | 156 |
|
|
Line is longer than 80 characters. | 157 |
|
|
Line has trailing spaces. | 158 |
|
|
Line is longer than 80 characters. | 158 |
|
|
Line has trailing spaces. | 159 |
|
|
Line is longer than 80 characters. | 159 |
|
|
'80' is a magic number. | 159 |
|
|
Line is longer than 80 characters. | 160 |
|
|
'400' is a magic number. | 160 |
|
|
Line has trailing spaces. | 165 |
|
|
Missing a Javadoc comment. | 166 |
|
|
Line is longer than 80 characters. | 169 |
|
|
'20' is a magic number. | 169 |
|
|
Line is longer than 80 characters. | 170 |
|
|
Line is longer than 80 characters. | 171 |
|
|
Line is longer than 80 characters. | 174 |
|
|
Line is longer than 80 characters. | 175 |
|
|
'300' is a magic number. | 175 |
|
|
Line is longer than 80 characters. | 176 |
|
|
Line has trailing spaces. | 180 |
|
|
Missing a Javadoc comment. | 181 |
|
|
Parameter tableName should be final. | 181 |
|
|
Line has trailing spaces. | 193 |
|
|
Missing a Javadoc comment. | 194 |
|
|
Parameter name should be final. | 194 |
|
|
Line has trailing spaces. | 206 |
|
|
Missing a Javadoc comment. | 207 |
|
|
Missing a Javadoc comment. | 219 |
|
|
Line has trailing spaces. | 222 |
|
|
Missing a Javadoc comment. | 223 |
|
|
Line has trailing spaces. | 235 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 15 |
|
|
Line has trailing spaces. | 19 |
|
|
First sentence should end with a period. | 23 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 26 |
|
|
Missing a Javadoc comment. | 27 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Missing a Javadoc comment. | 32 |
|
|
Parameter f should be final. | 32 |
|
|
Line has trailing spaces. | 40 |
|
|
Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. | 43 |
|
|
Line has trailing spaces. | 49 |
|
|
First sentence should end with a period. | 54 |
|
|
Line has trailing spaces. | 56 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 62 |
|
|
Parameter toAdd should be final. | 62 |
|
|
Parameter weight should be final. | 62 |
|
|
First sentence should end with a period. | 76 |
|
|
Line has trailing spaces. | 78 |
|
|
Method 'getAmountByTag' is not designed for extension - needs to be abstract, final or empty. | 83 |
|
|
Parameter tag should be final. | 83 |
|
|
First sentence should end with a period. | 94 |
|
|
Line has trailing spaces. | 96 |
|
|
Method 'setAmountByTag' is not designed for extension - needs to be abstract, final or empty. | 100 |
|
|
Parameter tag should be final. | 100 |
|
|
Parameter val should be final. | 100 |
|
|
First sentence should end with a period. | 109 |
|
|
Method 'updateDatabase' is not designed for extension - needs to be abstract, final or empty. | 112 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 6 |
|
|
First sentence should end with a period. | 12 |
|
|
Line has trailing spaces. | 14 |
|
|
First sentence should end with a period. | 18 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 21 |
|
|
Missing a Javadoc comment. | 23 |
|
|
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 23 |
|
|
Line has trailing spaces. | 24 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Missing a Javadoc comment. | 27 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Line has trailing spaces. | 29 |
|
|
Missing a Javadoc comment. | 30 |
|
|
Missing a Javadoc comment. | 32 |
|
|
Missing a Javadoc comment. | 34 |
|
|
'{' is not followed by whitespace. | 34 |
|
|
'}' is not preceded with whitespace. | 34 |
|
|
Line has trailing spaces. | 35 |
|
|
Missing a Javadoc comment. | 36 |
|
|
Parameter f should be final. | 36 |
|
|
Missing a Javadoc comment. | 40 |
|
|
Parameter f should be final. | 40 |
|
|
Parameter grams should be final. | 40 |
|
|
'grams' hides a field. | 40 |
|
|
Line has trailing spaces. | 47 |
|
|
Method 'getGrams' is not designed for extension - needs to be abstract, final or empty. | 48 |
|
|
Missing a Javadoc comment. | 48 |
|
|
Line has trailing spaces. | 51 |
|
|
Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. | 53 |
|
|
Missing a Javadoc comment. | 53 |
|
|
'assert' is not followed by whitespace. | 54 |
|
|
'/' is not preceded with whitespace. | 55 |
|
|
'/' is not followed by whitespace. | 55 |
|
|
Method 'setAmount' is not designed for extension - needs to be abstract, final or empty. | 59 |
|
|
Missing a Javadoc comment. | 59 |
|
|
Parameter val should be final. | 59 |
|
|
'assert' is not followed by whitespace. | 60 |
|
|
Comment matches to-do format 'TODO:'. | 61 |
|
|
Method 'getFood' is not designed for extension - needs to be abstract, final or empty. | 65 |
|
|
Missing a Javadoc comment. | 65 |
|
|
Method 'getDate' is not designed for extension - needs to be abstract, final or empty. | 69 |
|
|
Missing a Javadoc comment. | 69 |
|
|
Method 'setDate' is not designed for extension - needs to be abstract, final or empty. | 73 |
|
|
Missing a Javadoc comment. | 73 |
|
|
Parameter d should be final. | 73 |
|
|
Method 'exists' is not designed for extension - needs to be abstract, final or empty. | 80 |
|
|
Line is longer than 80 characters. | 88 |
|
|
First sentence should end with a period. | 92 |
|
|
Method 'updateDatabase' is not designed for extension - needs to be abstract, final or empty. | 95 |
|
|
Line is longer than 80 characters. | 96 |
|
|
Method 'deleteFromDatabase' is not designed for extension - needs to be abstract, final or empty. | 100 |
|
|
Missing a Javadoc comment. | 100 |
|
|
Line is longer than 80 characters. | 101 |
|
|
Method 'setGrams' is not designed for extension - needs to be abstract, final or empty. | 105 |
|
|
Missing a Javadoc comment. | 105 |
|
|
Parameter amount should be final. | 105 |
|
|
Method 'getMeal' is not designed for extension - needs to be abstract, final or empty. | 112 |
|
|
Method 'getID' is not designed for extension - needs to be abstract, final or empty. | 119 |
|
|
Method 'setID' is not designed for extension - needs to be abstract, final or empty. | 125 |
|
|
Parameter id should be final. | 125 |
|
|
Method 'getMeasure' is not designed for extension - needs to be abstract, final or empty. | 131 |
|
|
Method 'setMeasure' is not designed for extension - needs to be abstract, final or empty. | 137 |
|
|
Parameter measure should be final. | 137 |
|
|
'measure' hides a field. | 137 |
|
|
Method 'setMeal' is not designed for extension - needs to be abstract, final or empty. | 143 |
|
|
Parameter meal should be final. | 143 |
|
|
'meal' hides a field. | 143 |
|
|
Method 'setFood' is not designed for extension - needs to be abstract, final or empty. | 150 |
|
|
Parameter food should be final. | 150 |
|
|
'food' hides a field. | 150 |
|
|
Expected @param tag for 'food'. | 150 |
|
|
'if' construct must use '{}'s. | 155 |
|
|
'if' construct must use '{}'s. | 157 |
|
|
'=' is not preceded with whitespace. | 158 |
|
|
'=' is not followed by whitespace. | 158 |
|
|
'<' is not preceded with whitespace. | 158 |
|
|
'<' is not followed by whitespace. | 158 |
|
|
'cast' is not followed by whitespace. | 159 |
|
|
'if' construct must use '{}'s. | 160 |
|
|
Line has trailing spaces. | 166 |
|
|
Method 'setMeasure' is not designed for extension - needs to be abstract, final or empty. | 169 |
|
|
Missing a Javadoc comment. | 169 |
|
|
Parameter MID should be final. | 169 |
|
|
Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 169 |
|
|
'=' is not preceded with whitespace. | 171 |
|
|
'=' is not followed by whitespace. | 171 |
|
|
'<' is not preceded with whitespace. | 171 |
|
|
'<' is not followed by whitespace. | 171 |
|
|
'cast' is not followed by whitespace. | 172 |
|
|
'if' construct must use '{}'s. | 173 |
|
|
Line has trailing spaces. | 174 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line has trailing spaces. | 10 |
|
|
Line has trailing spaces. | 13 |
|
|
Line has trailing spaces. | 15 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Name 'vit_a' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 |
|
|
Variable 'vit_a' must be private and have accessor methods. | 20 |
|
|
Missing a Javadoc comment. | 21 |
|
|
Variable 'retinol' must be private and have accessor methods. | 21 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Name 'alpha_carotene' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 22 |
|
|
Variable 'alpha_carotene' must be private and have accessor methods. | 22 |
|
|
Missing a Javadoc comment. | 23 |
|
|
Name 'beta_carotene' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 23 |
|
|
Variable 'beta_carotene' must be private and have accessor methods. | 23 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Name 'beta_cryptoxanthin' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 24 |
|
|
Variable 'beta_cryptoxanthin' must be private and have accessor methods. | 24 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Variable 'lycopene' must be private and have accessor methods. | 25 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Variable 'lutein' must be private and have accessor methods. | 26 |
|
|
Missing a Javadoc comment. | 27 |
|
|
Name 'vit_b6' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 27 |
|
|
Variable 'vit_b6' must be private and have accessor methods. | 27 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Name 'vit_b12' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 28 |
|
|
Variable 'vit_b12' must be private and have accessor methods. | 28 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Name 'vit_c' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 29 |
|
|
Variable 'vit_c' must be private and have accessor methods. | 29 |
|
|
Missing a Javadoc comment. | 30 |
|
|
Name 'vit_d' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 30 |
|
|
Variable 'vit_d' must be private and have accessor methods. | 30 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Name 'vit_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 31 |
|
|
Variable 'vit_e' must be private and have accessor methods. | 31 |
|
|
Missing a Javadoc comment. | 32 |
|
|
Name 'beta_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 32 |
|
|
Variable 'beta_tocopherol' must be private and have accessor methods. | 32 |
|
|
Missing a Javadoc comment. | 33 |
|
|
Name 'delta_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 33 |
|
|
Variable 'delta_tocopherol' must be private and have accessor methods. | 33 |
|
|
Missing a Javadoc comment. | 34 |
|
|
Name 'gamma_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 34 |
|
|
Variable 'gamma_tocopherol' must be private and have accessor methods. | 34 |
|
|
Line has trailing spaces. | 35 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Name 'vit_k' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 35 |
|
|
Variable 'vit_k' must be private and have accessor methods. | 35 |
|
|
Missing a Javadoc comment. | 36 |
|
|
Variable 'thiamin' must be private and have accessor methods. | 36 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Variable 'riboflavin' must be private and have accessor methods. | 37 |
|
|
Missing a Javadoc comment. | 38 |
|
|
Variable 'niacin' must be private and have accessor methods. | 38 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Name 'panto_acid' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 39 |
|
|
Variable 'panto_acid' must be private and have accessor methods. | 39 |
|
|
Missing a Javadoc comment. | 40 |
|
|
Variable 'folate' must be private and have accessor methods. | 40 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Missing a Javadoc comment. | 46 |
|
|
Parameter f should be final. | 46 |
|
|
Method 'addFood' is not designed for extension - needs to be abstract, final or empty. | 50 |
|
|
Missing a Javadoc comment. | 50 |
|
|
Parameter food should be final. | 50 |
|
|
'100.0' is a magic number. | 51 |
|
|
Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. | 58 |
|
|
Missing a Javadoc comment. | 58 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 14 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 17 |
|
|
Line has trailing spaces. | 24 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Missing a Javadoc comment. | 30 |
|
|
Parameter name should be final. | 36 |
|
|
'name' hides a field. | 36 |
|
|
Line has trailing spaces. | 43 |
|
|
Line is longer than 80 characters. | 45 |
|
|
Unused @throws tag for 'IllegalArgumentException'. | 45 |
|
|
Method 'diffSource' is not designed for extension - needs to be abstract, final or empty. | 47 |
|
|
Parameter food should be final. | 47 |
|
|
Method 'notNull' is not designed for extension - needs to be abstract, final or empty. | 58 |
|
|
Parameter testedObject should be final. | 58 |
|
|
Expected @param tag for 'testedObject'. | 58 |
|
|
Line has trailing spaces. | 63 |
|
|
Line is longer than 80 characters. | 66 |
|
|
Line is longer than 80 characters. | 67 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 67 |
|
|
Line has trailing spaces. | 74 |
|
|
Line is longer than 80 characters. | 77 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 77 |
|
|
Parameter keys should be final. | 80 |
|
|
Line is longer than 80 characters. | 83 |
|
|
Line has trailing spaces. | 85 |
|
|
Line is longer than 80 characters. | 87 |
|
|
Line is longer than 80 characters. | 90 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 90 |
|
|
Parameter keys should be final. | 93 |
|
|
Parameter foodGroup should be final. | 93 |
|
|
Parameter source should be final. | 94 |
|
|
Line is longer than 80 characters. | 97 |
|
|
Line is longer than 80 characters. | 99 |
|
|
Parameter food should be final. | 102 |
|
|
Line is longer than 80 characters. | 105 |
|
|
Line is longer than 80 characters. | 110 |
|
|
Parameter food should be final. | 110 |
|
|
Parameter nutrients should be final. | 110 |
|
|
Line has trailing spaces. | 114 |
|
|
Missing a Javadoc comment. | 117 |
|
|
Line has trailing spaces. | 128 |
|
|
Missing a Javadoc comment. | 131 |
|
|
Parameter keys should be final. | 131 |
|
|
Line has trailing spaces. | 142 |
|
|
Missing a Javadoc comment. | 146 |
|
|
Parameter keys should be final. | 146 |
|
|
Parameter foodGroup should be final. | 146 |
|
|
Parameter source should be final. | 146 |
|
|
Line is longer than 80 characters. | 148 |
|
|
Line has trailing spaces. | 157 |
|
|
Line is longer than 80 characters. | 158 |
|
|
Missing a Javadoc comment. | 160 |
|
|
Parameter food should be final. | 160 |
|
|
Line has trailing spaces. | 167 |
|
|
Method 'getName' is not designed for extension - needs to be abstract, final or empty. | 170 |
|
|
Missing a Javadoc comment. | 170 |
|
|
Line has trailing spaces. | 176 |
|
|
Line is longer than 80 characters. | 177 |
|
|
Missing a Javadoc comment. | 180 |
|
|
Parameter food should be final. | 180 |
|
|
Parameter nutrients should be final. | 180 |
|
|
Line has trailing spaces. | 188 |
|
|
Line is longer than 80 characters. | 190 |
|
|
Unused @throws tag for 'IllegalArgumentException'. | 190 |
|
|
Method 'sameSource' is not designed for extension - needs to be abstract, final or empty. | 192 |
|
|
Parameter food should be final. | 192 |
|
|
Line has trailing spaces. | 200 |
|
|
Missing a Javadoc comment. | 203 |
|
|
Method 'getLastError' is not designed for extension - needs to be abstract, final or empty. | 209 |
|
|
Missing a Javadoc comment. | 209 |
|
|
Line has trailing spaces. | 214 |
|
|
Method 'registerError' is not designed for extension - needs to be abstract, final or empty. | 219 |
|
|
Parameter t should be final. | 219 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line is longer than 80 characters. | 4 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 14 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 16 |
|
|
Line has trailing spaces. | 21 |
|
|
Missing a Javadoc comment. | 27 |
|
|
Missing a Javadoc comment. | 29 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Parameter name should be final. | 31 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Parameter notify should be final. | 35 |
|
|
'notify' hides a field. | 35 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Line has trailing spaces. | 45 |
|
|
Line is longer than 80 characters. | 46 |
|
|
Missing a Javadoc comment. | 48 |
|
|
Parameter food should be final. | 48 |
|
|
Line is longer than 80 characters. | 51 |
|
|
Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 55 |
|
|
Line is longer than 80 characters. | 64 |
|
|
Parameter sourceUID should be final. | 66 |
|
|
Missing a Javadoc comment. | 71 |
|
|
Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 72 |
|
|
Line has trailing spaces. | 85 |
|
|
Line is longer than 80 characters. | 86 |
|
|
Line is longer than 80 characters. | 88 |
|
|
Missing a Javadoc comment. | 88 |
|
|
Parameter listener should be final. | 88 |
|
|
Line has trailing spaces. | 91 |
|
|
Line is longer than 80 characters. | 93 |
|
|
Missing a Javadoc comment. | 95 |
|
|
Parameter foodGroup should be final. | 95 |
|
|
Line is longer than 80 characters. | 100 |
|
|
Line has trailing spaces. | 102 |
|
|
Parameter foodGroup should be final. | 105 |
|
|
Line has trailing spaces. | 109 |
|
|
Line is longer than 80 characters. | 110 |
|
|
Missing a Javadoc comment. | 113 |
|
|
Parameter food should be final. | 113 |
|
|
Parameter measure should be final. | 113 |
|
|
Line has trailing spaces. | 126 |
|
|
Line is longer than 80 characters. | 127 |
|
|
Missing a Javadoc comment. | 130 |
|
|
Parameter serving should be final. | 130 |
|
|
Line has trailing spaces. | 138 |
|
|
Line is longer than 80 characters. | 139 |
|
|
Missing a Javadoc comment. | 141 |
|
|
Parameter food should be final. | 141 |
|
|
Line has trailing spaces. | 149 |
|
|
Line is longer than 80 characters. | 150 |
|
|
Missing a Javadoc comment. | 153 |
|
|
Parameter food should be final. | 153 |
|
|
Parameter measures should be final. | 153 |
|
|
Line has trailing spaces. | 166 |
|
|
Line is longer than 80 characters. | 167 |
|
|
Missing a Javadoc comment. | 170 |
|
|
Parameter serving should be final. | 170 |
|
|
Line has trailing spaces. | 182 |
|
|
Line is longer than 80 characters. | 183 |
|
|
Line has trailing spaces. | 185 |
|
|
Line is longer than 80 characters. | 187 |
|
|
Line is longer than 80 characters. | 188 |
|
|
Parameter food should be final. | 191 |
|
|
Line is longer than 80 characters. | 194 |
|
|
Line is longer than 80 characters. | 195 |
|
|
Line has trailing spaces. | 197 |
|
|
Line is longer than 80 characters. | 200 |
|
|
Parameter food should be final. | 202 |
|
|
Parameter measure should be final. | 202 |
|
|
Line is longer than 80 characters. | 205 |
|
|
Line is longer than 80 characters. | 207 |
|
|
Line is longer than 80 characters. | 208 |
|
|
Line has trailing spaces. | 210 |
|
|
Line is longer than 80 characters. | 211 |
|
|
Line is longer than 80 characters. | 213 |
|
|
Parameter serving should be final. | 216 |
|
|
Line is longer than 80 characters. | 219 |
|
|
Line is longer than 80 characters. | 221 |
|
|
Line is longer than 80 characters. | 222 |
|
|
Line is longer than 80 characters. | 223 |
|
|
Line is longer than 80 characters. | 224 |
|
|
Line has trailing spaces. | 226 |
|
|
Line is longer than 80 characters. | 228 |
|
|
Parameter food should be final. | 230 |
|
|
Line is longer than 80 characters. | 235 |
|
|
Parameter food should be final. | 237 |
|
|
Expected @param tag for 'food'. | 237 |
|
|
Parameter measures should be final. | 237 |
|
|
Expected @param tag for 'measures'. | 237 |
|
|
Line has trailing spaces. | 246 |
|
|
Line is longer than 80 characters. | 248 |
|
|
Line is longer than 80 characters. | 249 |
|
|
Parameter serving should be final. | 253 |
|
|
Line has trailing spaces. | 257 |
|
|
Parameter food should be final. | 261 |
|
|
Line has trailing spaces. | 266 |
|
|
Line has trailing spaces. | 270 |
|
|
Line is longer than 80 characters. | 270 |
|
|
Parameter food should be final. | 273 |
|
|
Parameter startDate should be final. | 273 |
|
|
Parameter endDate should be final. | 274 |
|
|
Line has trailing spaces. | 278 |
|
|
Line is longer than 80 characters. | 280 |
|
|
Parameter food should be final. | 282 |
|
|
Line is longer than 80 characters. | 285 |
|
|
Line is longer than 80 characters. | 289 |
|
|
Parameter food should be final. | 291 |
|
|
Expected @param tag for 'food'. | 291 |
|
|
Parameter measure should be final. | 291 |
|
|
Expected @param tag for 'measure'. | 291 |
|
|
Line is longer than 80 characters. | 294 |
|
|
Line has trailing spaces. | 296 |
|
|
Line is longer than 80 characters. | 298 |
|
|
Parameter serving should be final. | 301 |
|
|
Missing a Javadoc comment. | 303 |
|
|
Line has trailing spaces. | 312 |
|
|
Line is longer than 80 characters. | 313 |
|
|
Missing a Javadoc comment. | 315 |
|
|
Parameter food should be final. | 315 |
|
|
Line has trailing spaces. | 323 |
|
|
Line is longer than 80 characters. | 324 |
|
|
Missing a Javadoc comment. | 327 |
|
|
Parameter food should be final. | 327 |
|
|
Parameter startDate should be final. | 327 |
|
|
Parameter endDate should be final. | 327 |
|
|
Missing a Javadoc comment. | 332 |
|
|
Parameter type should be final. | 332 |
|
|
Missing a Javadoc comment. | 336 |
|
|
Parameter type should be final. | 336 |
|
|
Parameter message should be final. | 336 |
|
|
Line has trailing spaces. | 345 |
|
|
Line is longer than 80 characters. | 346 |
|
|
Missing a Javadoc comment. | 348 |
|
|
Parameter food should be final. | 348 |
|
|
Line has trailing spaces. | 356 |
|
|
Line is longer than 80 characters. | 357 |
|
|
Missing a Javadoc comment. | 359 |
|
|
Parameter listener should be final. | 360 |
|
|
Line has trailing spaces. | 366 |
|
|
Line is longer than 80 characters. | 367 |
|
|
Missing a Javadoc comment. | 370 |
|
|
Parameter food should be final. | 370 |
|
|
Parameter measure should be final. | 370 |
|
|
Line has trailing spaces. | 383 |
|
|
Line is longer than 80 characters. | 384 |
|
|
Missing a Javadoc comment. | 386 |
|
|
Parameter serving should be final. | 386 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 14 |
|
|
Using the '.*' form of import should be avoided - java.lang.reflect.*. | 15 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 16 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 17 |
|
|
Line has trailing spaces. | 26 |
|
|
Class Datasources should be declared as final. | 29 |
|
|
First sentence should end with a period. | 30 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 33 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Missing a Javadoc comment. | 41 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Line has trailing spaces. | 49 |
|
|
Missing a Javadoc comment. | 50 |
|
|
Parameter pl should be final. | 50 |
|
|
Line has trailing spaces. | 56 |
|
|
Missing a Javadoc comment. | 57 |
|
|
Parameter initialize should be final. | 57 |
|
|
Line has trailing spaces. | 66 |
|
|
Parameter pl should be final. | 68 |
|
|
Expected @param tag for 'pl'. | 68 |
|
|
'5' is a magic number. | 74 |
|
|
Line is longer than 80 characters. | 77 |
|
|
'95' is a magic number. | 81 |
|
|
'5' is a magic number. | 82 |
|
|
'100' is a magic number. | 108 |
|
|
Line has trailing spaces. | 112 |
|
|
Expected an @return tag. | 117 |
|
|
Line is longer than 80 characters. | 122 |
|
|
Line has trailing spaces. | 124 |
|
|
Line is longer than 80 characters. | 125 |
|
|
Line has trailing spaces. | 144 |
|
|
Missing a Javadoc comment. | 145 |
|
|
Parameter dskey should be final. | 145 |
|
|
Line is longer than 80 characters. | 146 |
|
|
Line is longer than 80 characters. | 147 |
|
|
Line is longer than 80 characters. | 152 |
|
|
Line has trailing spaces. | 156 |
|
|
Line is longer than 80 characters. | 158 |
|
|
Line is longer than 80 characters. | 160 |
|
|
Line is longer than 80 characters. | 162 |
|
|
Line is longer than 80 characters. | 167 |
|
|
Line is longer than 80 characters. | 168 |
|
|
Line has trailing spaces. | 169 |
|
|
Line is longer than 80 characters. | 170 |
|
|
Line has trailing spaces. | 176 |
|
|
Line has trailing spaces. | 187 |
|
|
Line is longer than 80 characters. | 189 |
|
|
Line has trailing spaces. | 191 |
|
|
Line has trailing spaces. | 209 |
|
|
Line has trailing spaces. | 227 |
|
|
Line has trailing spaces. | 228 |
|
|
Line is longer than 80 characters. | 231 |
|
|
Parameter includeUnAvailable should be final. | 234 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 18 |
|
|
First sentence should end with a period. | 23 |
|
|
First sentence should end with a period. | 26 |
|
|
First sentence should end with a period. | 29 |
|
|
Line has trailing spaces. | 30 |
|
|
Line is longer than 80 characters. | 30 |
|
|
Line is longer than 80 characters. | 31 |
|
|
Line is longer than 80 characters. | 33 |
|
|
Missing a Javadoc comment. | 33 |
|
|
Line is longer than 80 characters. | 35 |
|
|
Missing a Javadoc comment. | 35 |
|
|
Line is longer than 80 characters. | 37 |
|
|
Missing a Javadoc comment. | 37 |
|
|
'3' is a magic number. | 37 |
|
|
Line is longer than 80 characters. | 39 |
|
|
Missing a Javadoc comment. | 39 |
|
|
'4' is a magic number. | 39 |
|
|
Line is longer than 80 characters. | 41 |
|
|
Missing a Javadoc comment. | 41 |
|
|
'5' is a magic number. | 41 |
|
|
Line is longer than 80 characters. | 43 |
|
|
Missing a Javadoc comment. | 43 |
|
|
'6' is a magic number. | 43 |
|
|
Line is longer than 80 characters. | 45 |
|
|
Missing a Javadoc comment. | 45 |
|
|
'7' is a magic number. | 45 |
|
|
Line is longer than 80 characters. | 47 |
|
|
Missing a Javadoc comment. | 47 |
|
|
'8' is a magic number. | 47 |
|
|
Line has trailing spaces. | 53 |
|
|
Unused @param tag for 'aName'. | 54 |
|
|
Parameter name should be final. | 56 |
|
|
Expected @param tag for 'name'. | 56 |
|
|
Parameter index should be final. | 56 |
|
|
'index' hides a field. | 56 |
|
|
Expected @param tag for 'index'. | 56 |
|
|
Line has trailing spaces. | 69 |
|
|
Missing a Javadoc comment. | 70 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 17 |
|
|
Line has trailing spaces. | 23 |
|
|
Parameter message should be final. | 32 |
|
|
Expected @param tag for 'message'. | 32 |
|
|
Parameter message should be final. | 40 |
|
|
Expected @param tag for 'message'. | 40 |
|
|
Parameter cause should be final. | 40 |
|
|
Expected @param tag for 'cause'. | 40 |
|
|
Parameter cause should be final. | 47 |
|
|
Expected @param tag for 'cause'. | 47 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 16 |
|
|
Line is longer than 80 characters. | 19 |
|
|
Line has trailing spaces. | 22 |
|
|
Line is longer than 80 characters. | 23 |
|
|
Line is longer than 80 characters. | 24 |
|
|
Line is longer than 80 characters. | 25 |
|
|
Line has trailing spaces. | 26 |
|
|
Line has trailing spaces. | 27 |
|
|
Line has trailing spaces. | 34 |
|
|
Line is longer than 80 characters. | 38 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 38 |
|
|
Line is longer than 80 characters. | 44 |
|
|
Line has trailing spaces. | 46 |
|
|
Line is longer than 80 characters. | 48 |
|
|
Line is longer than 80 characters. | 51 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 51 |
|
|
Line is longer than 80 characters. | 58 |
|
|
Line is longer than 80 characters. | 59 |
|
|
Unused @throws tag for '<code>UnsupportedOperationException</code>'. | 59 |
|
|
Line is longer than 80 characters. | 65 |
|
|
Line is longer than 80 characters. | 67 |
|
|
Line is longer than 80 characters. | 73 |
|
|
Line is longer than 80 characters. | 81 |
|
|
Line has trailing spaces. | 83 |
|
|
Line is longer than 80 characters. | 84 |
|
|
Line has trailing spaces. | 90 |
|
|
Line has trailing spaces. | 91 |
|
|
Line is longer than 80 characters. | 92 |
|
|
Line is longer than 80 characters. | 98 |
|
|
Line is longer than 80 characters. | 100 |
|
|
Line is longer than 80 characters. | 106 |
|
|
Line is longer than 80 characters. | 108 |
|
|
Line has trailing spaces. | 124 |
|
|
Line is longer than 80 characters. | 126 |
|
|
Line has trailing spaces. | 127 |
|
|
Line is longer than 80 characters. | 128 |
|
|
Line has trailing spaces. | 132 |
|
|
Line is longer than 80 characters. | 134 |
|
|
Line is longer than 80 characters. | 135 |
|
|
Line is longer than 80 characters. | 137 |
|
|
Line has trailing spaces. | 141 |
|
|
Line is longer than 80 characters. | 143 |
|
|
Line has trailing spaces. | 144 |
|
|
Line is longer than 80 characters. | 144 |
|
|
Line is longer than 80 characters. | 145 |
|
|
Line has trailing spaces. | 149 |
|
|
Line is longer than 80 characters. | 151 |
|
|
Line is longer than 80 characters. | 152 |
|
|
Line is longer than 80 characters. | 155 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 17 |
|
|
Line is longer than 80 characters. | 22 |
|
|
Missing a Javadoc comment. | 22 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 14 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 16 |
|
|
Line has trailing spaces. | 21 |
|
|
Line has trailing spaces. | 22 |
|
|
Line has trailing spaces. | 34 |
|
|
Line is longer than 80 characters. | 36 |
|
|
Line is longer than 80 characters. | 37 |
|
|
Line is longer than 80 characters. | 44 |
|
|
Line has trailing spaces. | 46 |
|
|
Line has trailing spaces. | 50 |
|
|
Line is longer than 80 characters. | 52 |
|
|
Line is longer than 80 characters. | 54 |
|
|
Line is longer than 80 characters. | 55 |
|
|
Line has trailing spaces. | 57 |
|
|
Line is longer than 80 characters. | 58 |
|
|
Line is longer than 80 characters. | 60 |
|
|
Line is longer than 80 characters. | 66 |
|
|
Line has trailing spaces. | 68 |
|
|
Line is longer than 80 characters. | 70 |
|
|
Line is longer than 80 characters. | 76 |
|
|
Line is longer than 80 characters. | 77 |
|
|
Line has trailing spaces. | 79 |
|
|
Line is longer than 80 characters. | 82 |
|
|
Line is longer than 80 characters. | 89 |
|
|
Expected @param tag for 'food'. | 91 |
|
|
Expected @param tag for 'measures'. | 91 |
|
|
Line is longer than 80 characters. | 94 |
|
|
Line is longer than 80 characters. | 98 |
|
|
Expected @param tag for 'food'. | 100 |
|
|
Expected @param tag for 'measure'. | 100 |
|
|
Line has trailing spaces. | 104 |
|
|
Line has trailing spaces. | 113 |
|
|
Line has trailing spaces. | 117 |
|
|
Line is longer than 80 characters. | 117 |
|
|
Line is longer than 80 characters. | 123 |
|
|
Line has trailing spaces. | 124 |
|
|
Line is longer than 80 characters. | 126 |
|
|
Line has trailing spaces. | 134 |
|
|
Line is longer than 80 characters. | 135 |
|
|
Line has trailing spaces. | 137 |
|
|
Line is longer than 80 characters. | 139 |
|
|
Line is longer than 80 characters. | 140 |
|
|
Line has trailing spaces. | 144 |
|
|
Line is longer than 80 characters. | 152 |
|
|
Line is longer than 80 characters. | 154 |
|
|
Line is longer than 80 characters. | 155 |
|
|
Line is longer than 80 characters. | 156 |
|
|
Line is longer than 80 characters. | 157 |
|
|
Line has trailing spaces. | 159 |
|
|
Line is longer than 80 characters. | 161 |
|
|
Line has trailing spaces. | 167 |
|
|
Line is longer than 80 characters. | 169 |
|
|
Line is longer than 80 characters. | 174 |
|
|
Line has trailing spaces. | 176 |
|
|
Line is longer than 80 characters. | 182 |
|
|
Line has trailing spaces. | 183 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.sql.*. | 14 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 15 |
|
|
Line has trailing spaces. | 26 |
|
|
Class ConnectionManager should be declared as final. | 29 |
|
|
First sentence should end with a period. | 31 |
|
|
Line has trailing spaces. | 33 |
|
|
Missing a Javadoc comment. | 38 |
|
|
Missing a Javadoc comment. | 40 |
|
|
Line has trailing spaces. | 44 |
|
|
Parameter dbID should be final. | 50 |
|
|
'dbID' hides a field. | 50 |
|
|
Parameter dbName should be final. | 50 |
|
|
Line has trailing spaces. | 57 |
|
|
Missing a Javadoc comment. | 60 |
|
|
Line has trailing spaces. | 66 |
|
|
Missing a Javadoc comment. | 69 |
|
|
Line has trailing spaces. | 75 |
|
|
Missing a Javadoc comment. | 78 |
|
|
Missing a Javadoc comment. | 84 |
|
|
Missing a Javadoc comment. | 86 |
|
|
Missing a Javadoc comment. | 88 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 88 |
|
|
First sentence should end with a period. | 91 |
|
|
Line has trailing spaces. | 93 |
|
|
Parameter connectionID should be final. | 98 |
|
|
Line has trailing spaces. | 105 |
|
|
Line has trailing spaces. | 122 |
|
|
Parameter dbID should be final. | 127 |
|
|
Missing a Javadoc comment. | 137 |
|
|
Expected an @return tag. | 147 |
|
|
Parameter foodDB should be final. | 154 |
|
|
Expected @param tag for 'foodDB'. | 154 |
|
|
Missing a Javadoc comment. | 158 |
|
|
Missing a Javadoc comment. | 160 |
|
|
Missing a Javadoc comment. | 162 |
|
|
Missing a Javadoc comment. | 164 |
|
|
Parameter dbID should be final. | 164 |
|
|
'dbID' hides a field. | 164 |
|
|
Line has trailing spaces. | 172 |
|
|
Parameter observer should be final. | 176 |
|
|
Line has trailing spaces. | 185 |
|
|
Line is longer than 80 characters. | 227 |
|
|
Line is longer than 80 characters. | 240 |
|
|
Missing a Javadoc comment. | 254 |
|
|
Missing a Javadoc comment. | 261 |
|
|
First sentence should end with a period. | 269 |
|
|
Line has trailing spaces. | 271 |
|
|
Line is longer than 80 characters. | 275 |
|
|
Parameter observer should be final. | 275 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 15 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Line has trailing spaces. | 21 |
|
|
Missing a Javadoc comment. | 22 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Line has trailing spaces. | 18 |
|
|
Line has trailing spaces. | 22 |
|
|
Line has trailing spaces. | 26 |
|
|
Line has trailing spaces. | 30 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 14 |
|
|
Using the '.*' form of import should be avoided - java.sql.*. | 17 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 18 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 22 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. | 23 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.sql.*. | 24 |
|
|
Line has trailing spaces. | 28 |
|
|
First sentence should end with a period. | 32 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 35 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Variable 'conn' must be private and have accessor methods. | 37 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Missing a Javadoc comment. | 41 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Missing a Javadoc comment. | 45 |
|
|
Missing a Javadoc comment. | 47 |
|
|
Parameter connectionID should be final. | 47 |
|
|
Line is longer than 80 characters. | 52 |
|
|
Missing a Javadoc comment. | 57 |
|
|
Line has trailing spaces. | 60 |
|
|
Line is longer than 80 characters. | 61 |
|
|
Missing a Javadoc comment. | 61 |
|
|
Parameter connectionId should be final. | 61 |
|
|
Line is longer than 80 characters. | 72 |
|
|
Missing a Javadoc comment. | 72 |
|
|
Parameter name should be final. | 72 |
|
|
Parameter id should be final. | 72 |
|
|
'id' hides a field. | 72 |
|
|
Parameter conn should be final. | 72 |
|
|
'conn' hides a field. | 72 |
|
|
Parameter allowLocal should be final. | 72 |
|
|
'allowLocal' hides a field. | 72 |
|
|
Line has trailing spaces. | 81 |
|
|
Line is longer than 80 characters. | 82 |
|
|
Method 'doConsumeFood' is not designed for extension - needs to be abstract, final or empty. | 85 |
|
|
Missing a Javadoc comment. | 85 |
|
|
Parameter serving should be final. | 85 |
|
|
Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 102 |
|
|
Comment matches to-do format 'TODO:'. | 114 |
|
|
Line has trailing spaces. | 125 |
|
|
Line has trailing spaces. | 135 |
|
|
Line is longer than 80 characters. | 136 |
|
|
Method 'doChangeServingAmount' is not designed for extension - needs to be abstract, final or empty. | 139 |
|
|
Missing a Javadoc comment. | 139 |
|
|
Parameter serving should be final. | 139 |
|
|
Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 147 |
|
|
Line is longer than 80 characters. | 151 |
|
|
Line has trailing spaces. | 167 |
|
|
Line is longer than 80 characters. | 168 |
|
|
Method 'doUnConsumeFood' is not designed for extension - needs to be abstract, final or empty. | 170 |
|
|
Missing a Javadoc comment. | 170 |
|
|
Parameter serving should be final. | 170 |
|
|
Expected an @return tag. | 197 |
|
|
Method 'doChangeMeasure' is not designed for extension - needs to be abstract, final or empty. | 197 |
|
|
Parameter food should be final. | 197 |
|
|
Expected @param tag for 'food'. | 197 |
|
|
Parameter measures should be final. | 197 |
|
|
Expected @param tag for 'measures'. | 197 |
|
|
Line has trailing spaces. | 221 |
|
|
Line has trailing spaces. | 239 |
|
|
Method 'doRemoveMeasure' is not designed for extension - needs to be abstract, final or empty. | 247 |
|
|
Parameter food should be final. | 247 |
|
|
Expected @param tag for 'food'. | 247 |
|
|
Parameter m should be final. | 247 |
|
|
Line has trailing spaces. | 257 |
|
|
Line has trailing spaces. | 275 |
|
|
Line is longer than 80 characters. | 276 |
|
|
Method 'doAddMeasure' is not designed for extension - needs to be abstract, final or empty. | 279 |
|
|
Missing a Javadoc comment. | 279 |
|
|
Parameter food should be final. | 279 |
|
|
Parameter measure should be final. | 279 |
|
|
Line has trailing spaces. | 306 |
|
|
Line has trailing spaces. | 309 |
|
|
Line is longer than 80 characters. | 310 |
|
|
Method 'doSaveMeasure' is not designed for extension - needs to be abstract, final or empty. | 313 |
|
|
Missing a Javadoc comment. | 313 |
|
|
Parameter measure should be final. | 313 |
|
|
'assert' is not followed by whitespace. | 314 |
|
|
Line has trailing spaces. | 323 |
|
|
Line has trailing spaces. | 337 |
|
|
Line is longer than 80 characters. | 338 |
|
|
Method 'doGetTimesConsumed' is not designed for extension - needs to be abstract, final or empty. | 340 |
|
|
Missing a Javadoc comment. | 340 |
|
|
Parameter food should be final. | 340 |
|
|
Line is longer than 80 characters. | 355 |
|
|
Line has trailing spaces. | 363 |
|
|
Line is longer than 80 characters. | 364 |
|
|
Method 'doGetTimesConsumed' is not designed for extension - needs to be abstract, final or empty. | 367 |
|
|
Missing a Javadoc comment. | 367 |
|
|
Parameter food should be final. | 367 |
|
|
Parameter startDate should be final. | 367 |
|
|
Parameter endDate should be final. | 367 |
|
|
Line is longer than 80 characters. | 384 |
|
|
Line has trailing spaces. | 392 |
|
|
Line is longer than 80 characters. | 393 |
|
|
Method 'getConsumedOn' is not designed for extension - needs to be abstract, final or empty. | 395 |
|
|
Missing a Javadoc comment. | 395 |
|
|
Parameter date should be final. | 395 |
|
|
Line is longer than 80 characters. | 402 |
|
|
Missing a Javadoc comment. | 422 |
|
|
Parameter FID should be final. | 422 |
|
|
Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 422 |
|
|
Line has trailing spaces. | 442 |
|
|
Line is longer than 80 characters. | 443 |
|
|
Method 'doAddFood' is not designed for extension - needs to be abstract, final or empty. | 445 |
|
|
Missing a Javadoc comment. | 445 |
|
|
Parameter food should be final. | 445 |
|
|
'=' is not preceded with whitespace. | 492 |
|
|
'=' is not followed by whitespace. | 492 |
|
|
'<' is not preceded with whitespace. | 492 |
|
|
'<' is not followed by whitespace. | 492 |
|
|
'cast' is not followed by whitespace. | 493 |
|
|
Line has trailing spaces. | 511 |
|
|
Line is longer than 80 characters. | 512 |
|
|
Method 'doSaveFood' is not designed for extension - needs to be abstract, final or empty. | 515 |
|
|
Missing a Javadoc comment. | 515 |
|
|
Parameter food should be final. | 515 |
|
|
Missing a Javadoc comment. | 553 |
|
|
Parameter food should be final. | 553 |
|
|
Parameter table should be final. | 553 |
|
|
Line is longer than 80 characters. | 559 |
|
|
Line is longer than 80 characters. | 561 |
|
|
Line has trailing spaces. | 568 |
|
|
First sentence should end with a period. | 569 |
|
|
Line is longer than 80 characters. | 575 |
|
|
Parameter food should be final. | 575 |
|
|
Parameter table should be final. | 575 |
|
|
Expected @throws tag for 'SQLException'. | 575 |
|
|
Line is longer than 80 characters. | 580 |
|
|
Line is longer than 80 characters. | 582 |
|
|
Line has trailing spaces. | 589 |
|
|
Missing a Javadoc comment. | 590 |
|
|
Parameter f should be final. | 590 |
|
|
Line is longer than 80 characters. | 592 |
|
|
Line has trailing spaces. | 598 |
|
|
Line is longer than 80 characters. | 599 |
|
|
Method 'doRemoveFood' is not designed for extension - needs to be abstract, final or empty. | 601 |
|
|
Missing a Javadoc comment. | 601 |
|
|
Parameter food should be final. | 601 |
|
|
Comment matches to-do format 'TODO:'. | 607 |
|
|
Line has trailing spaces. | 624 |
|
|
Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. | 627 |
|
|
Missing a Javadoc comment. | 627 |
|
|
Parameter parts should be final. | 627 |
|
|
Line has trailing spaces. | 633 |
|
|
Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. | 637 |
|
|
Missing a Javadoc comment. | 637 |
|
|
Parameter keys should be final. | 637 |
|
|
Parameter foodGroup should be final. | 637 |
|
|
Parameter source should be final. | 637 |
|
|
Line is longer than 80 characters. | 646 |
|
|
Line is longer than 80 characters. | 662 |
|
|
Parameter result should be final. | 681 |
|
|
Expected @param tag for 'result'. | 681 |
|
|
Parameter res should be final. | 681 |
|
|
Expected @param tag for 'res'. | 681 |
|
|
Expected @throws tag for 'SQLException'. | 681 |
|
|
Line has trailing spaces. | 697 |
|
|
Method 'doFindAllFoods' is not designed for extension - needs to be abstract, final or empty. | 700 |
|
|
Missing a Javadoc comment. | 700 |
|
|
Line has trailing spaces. | 716 |
|
|
Line is longer than 80 characters. | 717 |
|
|
Method 'doGetMeasuresFor' is not designed for extension - needs to be abstract, final or empty. | 719 |
|
|
Missing a Javadoc comment. | 719 |
|
|
Parameter food should be final. | 719 |
|
|
Line has trailing spaces. | 747 |
|
|
Line is longer than 80 characters. | 748 |
|
|
Method 'doGetNutrientsFor' is not designed for extension - needs to be abstract, final or empty. | 750 |
|
|
Missing a Javadoc comment. | 750 |
|
|
Parameter food should be final. | 750 |
|
|
Parameter nutrients should be final. | 750 |
|
|
Line is longer than 80 characters. | 766 |
|
|
Line has trailing spaces. | 775 |
|
|
Method 'getSources' is not designed for extension - needs to be abstract, final or empty. | 778 |
|
|
Missing a Javadoc comment. | 778 |
|
|
Line has trailing spaces. | 796 |
|
|
Method 'getFoodGroups' is not designed for extension - needs to be abstract, final or empty. | 799 |
|
|
Missing a Javadoc comment. | 799 |
|
|
Line has trailing spaces. | 818 |
|
|
Method 'isSearchable' is not designed for extension - needs to be abstract, final or empty. | 821 |
|
|
Missing a Javadoc comment. | 821 |
|
|
Line has trailing spaces. | 824 |
|
|
Line has trailing spaces. | 827 |
|
|
Method 'isAvailable' is not designed for extension - needs to be abstract, final or empty. | 830 |
|
|
Missing a Javadoc comment. | 830 |
|
|
Line has trailing spaces. | 836 |
|
|
Line has trailing spaces. | 847 |
|
|
Method 'isListable' is not designed for extension - needs to be abstract, final or empty. | 850 |
|
|
Missing a Javadoc comment. | 850 |
|
|
Line is longer than 80 characters. | 855 |
|
|
Method 'doCreateNewFood' is not designed for extension - needs to be abstract, final or empty. | 857 |
|
|
Missing a Javadoc comment. | 857 |
|
|
Line has trailing spaces. | 861 |
|
|
Missing a Javadoc comment. | 862 |
|
|
Method 'close' is not designed for extension - needs to be abstract, final or empty. | 869 |
|
|
Missing a Javadoc comment. | 869 |
|
|
'||' should be on a new line. | 872 |
|
|
Method 'initialize' is not designed for extension - needs to be abstract, final or empty. | 889 |
|
|
Missing a Javadoc comment. | 889 |
|
|
Line is longer than 80 characters. | 890 |
|
|
Line is longer than 80 characters. | 891 |
|
|
Line is longer than 80 characters. | 892 |
|
|
Line is longer than 80 characters. | 893 |
|
|
Line has trailing spaces. | 894 |
|
|
Line is longer than 80 characters. | 901 |
|
|
Line is longer than 80 characters. | 905 |
|
|
Line is longer than 80 characters. | 920 |
|
|
Line is longer than 80 characters. | 923 |
|
|
Line is longer than 80 characters. | 926 |
|
|
Line is longer than 80 characters. | 931 |
|
|
Method 'doAddFoodGroup' is not designed for extension - needs to be abstract, final or empty. | 933 |
|
|
Missing a Javadoc comment. | 933 |
|
|
Parameter foodGroup should be final. | 933 |
|
|
Line is longer than 80 characters. | 944 |
|
|
Line is longer than 80 characters. | 951 |
|
|
Method 'setId' is not designed for extension - needs to be abstract, final or empty. | 959 |
|
|
Parameter id should be final. | 959 |
|
|
'id' hides a field. | 959 |
|
|
Line has trailing spaces. | 964 |
|
|
Line is longer than 80 characters. | 964 |
|
|
Line has trailing spaces. | 966 |
|
|
Method 'getId' is not designed for extension - needs to be abstract, final or empty. | 969 |
|
|
Method 'findFoodBySourceUID' is not designed for extension - needs to be abstract, final or empty. | 973 |
|
|
Missing a Javadoc comment. | 973 |
|
|
Parameter sourceUID should be final. | 973 |
|
|
Method 'containsFood' is not designed for extension - needs to be abstract, final or empty. | 994 |
|
|
Missing a Javadoc comment. | 994 |
|
|
Parameter food should be final. | 994 |
|
|
Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 997 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
First sentence should end with a period. | 18 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Name 'getNDB_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 26 |
|
|
Line has trailing spaces. | 30 |
|
|
Expected @param tag for 'ID'. | 39 |
|
|
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 39 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
First sentence should end with a period. | 16 |
|
|
Line has trailing spaces. | 17 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 14 |
|
|
First sentence should end with a period. | 16 |
|
|
Line has trailing spaces. | 17 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Missing a Javadoc comment. | 23 |
|
|
Line has trailing spaces. | 26 |
|
|
Parameter name should be final. | 28 |
|
|
'name' hides a field. | 28 |
|
|
Expected @param tag for 'name'. | 28 |
|
|
Missing a Javadoc comment. | 35 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 7 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 11 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. | 12 |
|
|
Line has trailing spaces. | 16 |
|
|
Line has trailing spaces. | 19 |
|
|
First sentence should end with a period. | 23 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 26 |
|
|
Missing a Javadoc comment. | 28 |
|
|
Line has trailing spaces. | 29 |
|
|
Missing a Javadoc comment. | 31 |
|
|
Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 31 |
|
|
Variable 'FID' must be private and have accessor methods. | 31 |
|
|
Missing a Javadoc comment. | 34 |
|
|
Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 34 |
|
|
Variable 'ndb_id' must be private and have accessor methods. | 34 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Variable 'description' must be private and have accessor methods. | 37 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Variable 'source' must be private and have accessor methods. | 39 |
|
|
Missing a Javadoc comment. | 41 |
|
|
Variable 'foodGroup' must be private and have accessor methods. | 41 |
|
|
Missing a Javadoc comment. | 43 |
|
|
Variable 'measures' must be private and have accessor methods. | 43 |
|
|
Missing a Javadoc comment. | 45 |
|
|
Variable 'minerals' must be private and have accessor methods. | 45 |
|
|
Missing a Javadoc comment. | 47 |
|
|
Variable 'vitamins' must be private and have accessor methods. | 47 |
|
|
Missing a Javadoc comment. | 49 |
|
|
Variable 'aminoAcids' must be private and have accessor methods. | 49 |
|
|
Missing a Javadoc comment. | 51 |
|
|
Variable 'macroNutrients' must be private and have accessor methods. | 51 |
|
|
Line has trailing spaces. | 52 |
|
|
Missing a Javadoc comment. | 53 |
|
|
Variable 'lipids' must be private and have accessor methods. | 53 |
|
|
Missing a Javadoc comment. | 55 |
|
|
Missing a Javadoc comment. | 57 |
|
|
Parameter source should be final. | 57 |
|
|
'source' hides a field. | 57 |
|
|
Missing a Javadoc comment. | 68 |
|
|
Missing a Javadoc comment. | 75 |
|
|
Name 'getNDB_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 75 |
|
|
Missing a Javadoc comment. | 82 |
|
|
Missing a Javadoc comment. | 89 |
|
|
Missing a Javadoc comment. | 96 |
|
|
Missing a Javadoc comment. | 106 |
|
|
Missing a Javadoc comment. | 113 |
|
|
Missing a Javadoc comment. | 124 |
|
|
Missing a Javadoc comment. | 132 |
|
|
Missing a Javadoc comment. | 139 |
|
|
Missing a Javadoc comment. | 146 |
|
|
Missing a Javadoc comment. | 157 |
|
|
Missing a Javadoc comment. | 168 |
|
|
Line is longer than 80 characters. | 177 |
|
|
Missing a Javadoc comment. | 179 |
|
|
Parameter ni should be final. | 179 |
|
|
'if' construct must use '{}'s. | 180 |
|
|
Line is longer than 80 characters. | 200 |
|
|
Missing a Javadoc comment. | 202 |
|
|
Parameter ni should be final. | 202 |
|
|
Parameter val should be final. | 202 |
|
|
Missing a Javadoc comment. | 223 |
|
|
Parameter out should be final. | 223 |
|
|
'+' is not preceded with whitespace. | 225 |
|
|
'+' is not followed by whitespace. | 225 |
|
|
'+' is not preceded with whitespace. | 225 |
|
|
'+' is not followed by whitespace. | 225 |
|
|
'+' is not preceded with whitespace. | 226 |
|
|
'+' is not followed by whitespace. | 226 |
|
|
'+' is not preceded with whitespace. | 226 |
|
|
'+' is not followed by whitespace. | 226 |
|
|
'+' is not preceded with whitespace. | 227 |
|
|
'+' is not followed by whitespace. | 227 |
|
|
'+' is not preceded with whitespace. | 227 |
|
|
'+' is not followed by whitespace. | 227 |
|
|
Line has trailing spaces. | 229 |
|
|
'measures' hides a field. | 230 |
|
|
'cast' is not followed by whitespace. | 233 |
|
|
'+' is not preceded with whitespace. | 236 |
|
|
'+' is not followed by whitespace. | 236 |
|
|
'+' is not preceded with whitespace. | 236 |
|
|
'+' is not followed by whitespace. | 236 |
|
|
'+' is not preceded with whitespace. | 237 |
|
|
'+' is not followed by whitespace. | 237 |
|
|
'+' is not preceded with whitespace. | 237 |
|
|
'+' is not followed by whitespace. | 237 |
|
|
'+' is not preceded with whitespace. | 238 |
|
|
'+' is not followed by whitespace. | 238 |
|
|
'+' is not preceded with whitespace. | 238 |
|
|
'+' is not followed by whitespace. | 238 |
|
|
Line has trailing spaces. | 242 |
|
|
'cast' is not followed by whitespace. | 246 |
|
|
'+' is not preceded with whitespace. | 250 |
|
|
'+' is not followed by whitespace. | 250 |
|
|
'+' is not preceded with whitespace. | 250 |
|
|
'+' is not followed by whitespace. | 250 |
|
|
'+' is not preceded with whitespace. | 251 |
|
|
'+' is not followed by whitespace. | 251 |
|
|
'+' is not preceded with whitespace. | 251 |
|
|
'+' is not followed by whitespace. | 251 |
|
|
Line has trailing spaces. | 255 |
|
|
Missing a Javadoc comment. | 262 |
|
|
Parameter text should be final. | 262 |
|
|
Line has trailing spaces. | 264 |
|
|
Line is longer than 80 characters. | 268 |
|
|
Missing a Javadoc comment. | 270 |
|
|
Parameter fg should be final. | 270 |
|
|
Missing a Javadoc comment. | 284 |
|
|
Missing a Javadoc comment. | 296 |
|
|
Parameter string should be final. | 296 |
|
|
Missing a Javadoc comment. | 303 |
|
|
Line has trailing spaces. | 306 |
|
|
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 307 |
|
|
Missing a Javadoc comment. | 307 |
|
|
Parameter o should be final. | 307 |
|
|
'&&' should be on a new line. | 310 |
|
|
'&&' should be on a new line. | 311 |
|
|
'&&' should be on a new line. | 312 |
|
|
Missing a Javadoc comment. | 322 |
|
|
Parameter ID should be final. | 322 |
|
|
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 322 |
|
|
Missing a Javadoc comment. | 329 |
|
|
Parameter measures should be final. | 329 |
|
|
'measures' hides a field. | 329 |
|
|
Line has trailing spaces. | 330 |
|
|
Missing a Javadoc comment. | 336 |
|
|
Missing a Javadoc comment. | 343 |
|
|
Missing a Javadoc comment. | 347 |
|
|
Parameter uid should be final. | 347 |
|
|
Line has trailing spaces. | 350 |
|
|
Line has trailing spaces. | 355 |
|
|
Line has trailing spaces. | 359 |
|
|
Line is longer than 80 characters. | 360 |
|
|
Line has trailing spaces. | 361 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Using the '.*' form of import should be avoided - java.sql.*. | 6 |
|
|
Missing a Javadoc comment. | 13 |
|
|
First sentence should end with a period. | 14 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 17 |
|
|
Line has trailing spaces. | 18 |
|
|
Missing a Javadoc comment. | 19 |
|
|
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 19 |
|
|
Variable 'ID' must be private and have accessor methods. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 |
|
|
Variable 'ndb_id' must be private and have accessor methods. | 20 |
|
|
Missing a Javadoc comment. | 21 |
|
|
Variable 'description' must be private and have accessor methods. | 21 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Variable 'foodgroup' must be private and have accessor methods. | 22 |
|
|
Line has trailing spaces. | 23 |
|
|
First sentence should end with a period. | 24 |
|
|
Parameter str should be final. | 29 |
|
|
Parameter groups should be final. | 29 |
|
|
Line has trailing spaces. | 39 |
|
|
Line has trailing spaces. | 40 |
|
|
Method 'addToDB' is not designed for extension - needs to be abstract, final or empty. | 41 |
|
|
Missing a Javadoc comment. | 41 |
|
|
Parameter c should be final. | 41 |
|
|
Line has trailing spaces. | 51 |
|
|
Line has trailing spaces. | 55 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 6 |
|
|
Using the '.*' form of import should be avoided - java.net.*. | 7 |
|
|
Using the '.*' form of import should be avoided - java.sql.*. | 8 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 9 |
|
|
Using the '.*' form of import should be avoided - java.util.zip.*. | 10 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.util.*. | 15 |
|
|
Missing a Javadoc comment. | 17 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 23 |
|
|
Line has trailing spaces. | 24 |
|
|
Line has trailing spaces. | 26 |
|
|
Line has trailing spaces. | 31 |
|
|
Line has trailing spaces. | 36 |
|
|
Line has trailing spaces. | 41 |
|
|
Line has trailing spaces. | 46 |
|
|
Line has trailing spaces. | 51 |
|
|
First sentence should end with a period. | 55 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 58 |
|
|
Missing a Javadoc comment. | 60 |
|
|
Missing a Javadoc comment. | 61 |
|
|
Missing a Javadoc comment. | 63 |
|
|
Missing a Javadoc comment. | 65 |
|
|
Missing a Javadoc comment. | 67 |
|
|
Missing a Javadoc comment. | 69 |
|
|
Missing a Javadoc comment. | 71 |
|
|
Missing a Javadoc comment. | 73 |
|
|
Missing a Javadoc comment. | 75 |
|
|
Missing a Javadoc comment. | 77 |
|
|
Name 'added_foods' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 77 |
|
|
Line has trailing spaces. | 78 |
|
|
Missing a Javadoc comment. | 79 |
|
|
Parameter conn should be final. | 79 |
|
|
Parameter out should be final. | 79 |
|
|
'out' hides a field. | 79 |
|
|
Method 'getSourceStream' is not designed for extension - needs to be abstract, final or empty. | 89 |
|
|
Missing a Javadoc comment. | 89 |
|
|
Method 'setSourceStream' is not designed for extension - needs to be abstract, final or empty. | 93 |
|
|
Missing a Javadoc comment. | 93 |
|
|
Parameter sourceStream should be final. | 93 |
|
|
'sourceStream' hides a field. | 93 |
|
|
Method 'getSourceURL' is not designed for extension - needs to be abstract, final or empty. | 97 |
|
|
Missing a Javadoc comment. | 97 |
|
|
Method 'setSourceURL' is not designed for extension - needs to be abstract, final or empty. | 101 |
|
|
Missing a Javadoc comment. | 101 |
|
|
Parameter sourceURL should be final. | 101 |
|
|
'sourceURL' hides a field. | 101 |
|
|
Method 'run' is not designed for extension - needs to be abstract, final or empty. | 108 |
|
|
Missing a Javadoc comment. | 108 |
|
|
Line has trailing spaces. | 111 |
|
|
'if' construct must use '{}'s. | 136 |
|
|
Line is longer than 80 characters. | 139 |
|
|
Line is longer than 80 characters. | 148 |
|
|
Line is longer than 80 characters. | 152 |
|
|
Line is longer than 80 characters. | 159 |
|
|
Line is longer than 80 characters. | 165 |
|
|
Line is longer than 80 characters. | 171 |
|
|
Line is longer than 80 characters. | 177 |
|
|
Line is longer than 80 characters. | 184 |
|
|
'100' is a magic number. | 198 |
|
|
Line has trailing spaces. | 201 |
|
|
Line is longer than 80 characters. | 202 |
|
|
Missing a Javadoc comment. | 202 |
|
|
Parameter ins should be final. | 202 |
|
|
Parameter streamName should be final. | 202 |
|
|
Parameter streamSize should be final. | 202 |
|
|
Parameter totalSize should be final. | 202 |
|
|
Parameter baseProgress should be final. | 202 |
|
|
Parameter parseType should be final. | 202 |
|
|
Line is longer than 80 characters. | 203 |
|
|
'if' construct must use '{}'s. | 211 |
|
|
Line has trailing spaces. | 224 |
|
|
Line has trailing spaces. | 227 |
|
|
Line is longer than 80 characters. | 238 |
|
|
Line is longer than 80 characters. | 243 |
|
|
Line is longer than 80 characters. | 249 |
|
|
Line is longer than 80 characters. | 264 |
|
|
Line is longer than 80 characters. | 266 |
|
|
Line has trailing spaces. | 273 |
|
|
Missing a Javadoc comment. | 274 |
|
|
Parameter table should be final. | 274 |
|
|
Line is longer than 80 characters. | 281 |
|
|
Line is longer than 80 characters. | 283 |
|
|
Line has trailing spaces. | 292 |
|
|
Missing a Javadoc comment. | 293 |
|
|
Parameter table should be final. | 293 |
|
|
Parameter tag should be final. | 293 |
|
|
Line is longer than 80 characters. | 297 |
|
|
Line is longer than 80 characters. | 300 |
|
|
Line is longer than 80 characters. | 302 |
|
|
Line has trailing spaces. | 311 |
|
|
Missing a Javadoc comment. | 312 |
|
|
'if' construct must use '{}'s. | 313 |
|
|
Line is longer than 80 characters. | 315 |
|
|
Line is longer than 80 characters. | 325 |
|
|
Parameter line should be final. | 339 |
|
|
Expected @param tag for 'line'. | 339 |
|
|
Expected an @return tag. | 352 |
|
|
Parameter relevantEntries should be final. | 352 |
|
|
Expected @param tag for 'relevantEntries'. | 352 |
|
|
Expected an @return tag. | 367 |
|
|
Parameter zif should be final. | 367 |
|
|
Expected @param tag for 'zif'. | 367 |
|
|
'4' is a magic number. | 368 |
|
|
'for' is not followed by whitespace. | 369 |
|
|
Must have at least one statement. | 379 |
|
|
Line is longer than 80 characters. | 387 |
|
|
Line is longer than 80 characters. | 390 |
|
|
Expected an @return tag. | 394 |
|
|
Line is longer than 80 characters. | 394 |
|
|
Parameter url should be final. | 394 |
|
|
Parameter tempFile should be final. | 394 |
|
|
Parameter progressPortion should be final. | 394 |
|
|
Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. | 394 |
|
|
'cast' is not followed by whitespace. | 413 |
|
|
'/' is not preceded with whitespace. | 413 |
|
|
'/' is not followed by whitespace. | 413 |
|
|
'cast' is not followed by whitespace. | 413 |
|
|
Missing a Javadoc comment. | 430 |
|
|
Missing a Javadoc comment. | 431 |
|
|
Missing a Javadoc comment. | 432 |
|
|
Line has trailing spaces. | 433 |
|
|
Method 'getTaskProgress' is not designed for extension - needs to be abstract, final or empty. | 434 |
|
|
Missing a Javadoc comment. | 434 |
|
|
Method 'abortTask' is not designed for extension - needs to be abstract, final or empty. | 438 |
|
|
Missing a Javadoc comment. | 438 |
|
|
Method 'canAbortTask' is not designed for extension - needs to be abstract, final or empty. | 442 |
|
|
Missing a Javadoc comment. | 442 |
|
|
Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. | 446 |
|
|
Missing a Javadoc comment. | 446 |
| Error | Line | |
|---|---|---|
|
|
File does not end with a newline. | 0 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Missing a Javadoc comment. | 16 |
|
|
Utility classes should not have a public or default constructor. | 16 |
|
|
Line has trailing spaces. | 17 |
|
|
Missing a Javadoc comment. | 18 |
|
|
Line has trailing spaces. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
'{' is not followed by whitespace. | 20 |
|
|
'}' is not preceded with whitespace. | 20 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Variable 'table' must be private and have accessor methods. | 22 |
|
|
Missing a Javadoc comment. | 24 |
|
|
Variable 'tag' must be private and have accessor methods. | 24 |
|
|
Line has trailing spaces. | 25 |
|
|
Missing a Javadoc comment. | 26 |
|
|
Line has trailing spaces. | 46 |
|
|
Line has trailing spaces. | 57 |
|
|
Line has trailing spaces. | 68 |
|
|
Line has trailing spaces. | 90 |
|
|
Line has trailing spaces. | 97 |
|
|
Line has trailing spaces. | 102 |
|
|
Line has trailing spaces. | 107 |
|
|
Missing a Javadoc comment. | 108 |
|
|
Parameter table should be final. | 108 |
|
|
Parameter tag should be final. | 108 |
|
|
Parameter nid should be final. | 108 |
|
|
Line has trailing spaces. | 114 |
|
|
Missing a Javadoc comment. | 115 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Using the '.*' form of import should be avoided - java.sql.*. | 6 |
|
|
Missing a Javadoc comment. | 13 |
|
|
First sentence should end with a period. | 14 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 17 |
|
|
Line has trailing spaces. | 18 |
|
|
Missing a Javadoc comment. | 19 |
|
|
Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 19 |
|
|
Variable 'ndb_id' must be private and have accessor methods. | 19 |
|
|
Missing a Javadoc comment. | 20 |
|
|
Variable 'amount' must be private and have accessor methods. | 20 |
|
|
Missing a Javadoc comment. | 21 |
|
|
Variable 'grams' must be private and have accessor methods. | 21 |
|
|
Missing a Javadoc comment. | 22 |
|
|
Variable 'description' must be private and have accessor methods. | 22 |
|
|
Line has trailing spaces. | 23 |
|
|
Line has trailing spaces. | 24 |
|
|
Missing a Javadoc comment. | 25 |
|
|
Parameter str should be final. | 25 |
|
|
Line has trailing spaces. | 32 |
|
|
Line has trailing spaces. | 33 |
|
|
'3' is a magic number. | 33 |
|
|
Line has trailing spaces. | 34 |
|
|
'4' is a magic number. | 34 |
|
|
Line has trailing spaces. | 36 |
|
|
Method 'addToDB' is not designed for extension - needs to be abstract, final or empty. | 37 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Parameter c should be final. | 37 |
|
|
Parameter foods should be final. | 37 |
|
|
'cast' is not followed by whitespace. | 39 |
|
|
'assert' is not followed by whitespace. | 40 |
|
|
Line has trailing spaces. | 49 |
| Error | Line | |
|---|---|---|
|
|
Missing a header - not enough lines in file. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.io.*. | 14 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 16 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 17 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 22 |
|
|
Line has trailing spaces. | 28 |
|
|
First sentence should end with a period. | 32 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 35 |
|
|
Parameter name should be final. | 41 |
|
|
Missing a Javadoc comment. | 48 |
|
|
Missing a Javadoc comment. | 53 |
|
|
Line has trailing spaces. | 59 |
|
|
Line has trailing spaces. | 60 |
|
|
Missing a Javadoc comment. | 67 |
|
|
Line has trailing spaces. | 73 |
|
|
Method 'isSearchable' is not designed for extension - needs to be abstract, final or empty. | 82 |
|
|
Missing a Javadoc comment. | 82 |
|
|
Method 'isListable' is not designed for extension - needs to be abstract, final or empty. | 89 |
|
|
Missing a Javadoc comment. | 89 |
|
|
Missing a Javadoc comment. | 96 |
|
|
Line has trailing spaces. | 101 |
|
|
Line is longer than 80 characters. | 106 |
|
|
Line is longer than 80 characters. | 107 |
|
|
Line has trailing spaces. | 108 |
|
|
Line is longer than 80 characters. | 110 |
|
|
Line is longer than 80 characters. | 111 |
|
|
Line has trailing spaces. | 112 |
|
|
Line is longer than 80 characters. | 112 |
|
|
Line is longer than 80 characters. | 113 |
|
|
Line is longer than 80 characters. | 115 |
|
|
Line is longer than 80 characters. | 117 |
|
|
Line has trailing spaces. | 118 |
|
|
Line is longer than 80 characters. | 119 |
|
|
Method 'getFoodGroups' is not designed for extension - needs to be abstract, final or empty. | 123 |
|
|
Parameter sourceUrl should be final. | 123 |
|
|
Parameter startGroups should be final. | 123 |
|
|
Parameter endGroups should be final. | 124 |
|
|
Parameter groupID should be final. | 124 |
|
|
Parameter keyGroup should be final. | 124 |
|
|
Parameter nameGroup should be final. | 124 |
|
|
Line has trailing spaces. | 126 |
|
|
Line has trailing spaces. | 128 |
|
|
Line has trailing spaces. | 130 |
|
|
Line is longer than 80 characters. | 151 |
|
|
Line has trailing spaces. | 161 |
|
|
Missing a Javadoc comment. | 162 |
|
|
Parameter source should be final. | 162 |
|
|
Line has trailing spaces. | 164 |
|
|
Line is longer than 80 characters. | 166 |
|
|
Line has trailing spaces. | 176 |
|
|
Line is longer than 80 characters. | 181 |
|
|
Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. | 183 |
|
|
Missing a Javadoc comment. | 183 |
|
|
Parameter keys should be final. | 183 |
|
|
Parameter foodGroup should be final. | 183 |
|
|
Parameter source should be final. | 183 |
|
|
Line is longer than 80 characters. | 189 |
|
|
Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. | 191 |
|
|
Missing a Javadoc comment. | 191 |
|
|
Parameter keys should be final. | 191 |
|
|
Line is longer than 80 characters. | 197 |
|
|
Method 'doGetMeasuresFor' is not designed for extension - needs to be abstract, final or empty. | 199 |
|
|
Missing a Javadoc comment. | 199 |
|
|
Parameter food should be final. | 199 |
|
|
Line is longer than 80 characters. | 205 |
|
|
Missing a Javadoc comment. | 207 |
|
|
Parameter food should be final. | 207 |
|
|
Parameter nutrients should be final. | 207 |
|
|
Line has trailing spaces. | 209 |
|
|
Missing a Javadoc comment. | 212 |
|
|
Line has trailing spaces. | 215 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line is longer than 80 characters. | 2 |
|
|
Using the '.*' form of import should be avoided - java.net.*. | 12 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 13 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 14 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 20 |
|
|
Using the '.*' form of import should be avoided - com.meterware.httpunit.*. | 23 |
|
|
First sentence should end with a period. | 25 |
|
|
Line has trailing spaces. | 27 |
|
|
Class NutritionDataDatasource should be declared as final. | 30 |
|
|
First sentence should end with a period. | 31 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 34 |
|
|
Missing a Javadoc comment. | 37 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Missing a Javadoc comment. | 42 |
|
|
Line is longer than 80 characters. | 45 |
|
|
Missing a Javadoc comment. | 45 |
|
|
Missing a Javadoc comment. | 47 |
|
|
Line is longer than 80 characters. | 50 |
|
|
Missing a Javadoc comment. | 50 |
|
|
Line is longer than 80 characters. | 51 |
|
|
Missing a Javadoc comment. | 51 |
|
|
Missing a Javadoc comment. | 53 |
|
|
Missing a Javadoc comment. | 55 |
|
|
Parameter name should be final. | 62 |
|
|
Expected @param tag for 'name'. | 62 |
|
|
Line is longer than 80 characters. | 67 |
|
|
Line has trailing spaces. | 73 |
|
|
Missing a Javadoc comment. | 76 |
|
|
Line has trailing spaces. | 82 |
|
|
Missing a Javadoc comment. | 85 |
|
|
Line has trailing spaces. | 93 |
|
|
Missing a Javadoc comment. | 96 |
|
|
Line has trailing spaces. | 113 |
|
|
Missing a Javadoc comment. | 116 |
|
|
Line has trailing spaces. | 122 |
|
|
Line is longer than 80 characters. | 123 |
|
|
Missing a Javadoc comment. | 125 |
|
|
Parameter keys should be final. | 125 |
|
|
Line has trailing spaces. | 131 |
|
|
Line is longer than 80 characters. | 132 |
|
|
Missing a Javadoc comment. | 135 |
|
|
Parameter keys should be final. | 135 |
|
|
Parameter foodGroup should be final. | 135 |
|
|
Parameter source should be final. | 135 |
|
|
Must have at least one statement. | 136 |
|
|
Must have at least one statement. | 139 |
|
|
Line has trailing spaces. | 157 |
|
|
Line has trailing spaces. | 164 |
|
|
Line has trailing spaces. | 189 |
|
|
Missing a Javadoc comment. | 201 |
|
|
Parameter conv should be final. | 201 |
|
|
Parameter loader should be final. | 201 |
|
|
Line has trailing spaces. | 220 |
|
|
Line is longer than 80 characters. | 221 |
|
|
Missing a Javadoc comment. | 223 |
|
|
Parameter food should be final. | 223 |
|
|
Line has trailing spaces. | 229 |
|
|
Line is longer than 80 characters. | 230 |
|
|
Missing a Javadoc comment. | 233 |
|
|
Parameter food should be final. | 233 |
|
|
Parameter nutrients should be final. | 233 |
|
|
Line has trailing spaces. | 239 |
|
|
Missing a Javadoc comment. | 242 |
|
|
Missing a Javadoc comment. | 246 |
|
|
Parameter args should be final. | 246 |
|
|
'{' is followed by whitespace. | 250 |
|
|
Missing a Javadoc comment. | 253 |
|
|
Parameter food should be final. | 253 |
| Error | Line | |
|---|---|---|
|
|
Line does not match expected header line of 'Common Public License - v 1.0'. | 1 |
|
|
Line has trailing spaces. | 8 |
|
|
Line is longer than 80 characters. | 11 |
|
|
Using the '.*' form of import should be avoided - java.util.*. | 15 |
|
|
Using the '.*' form of import should be avoided - java.util.regex.*. | 16 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. | 23 |
|
|
Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. | 24 |
|
|
Using the '.*' form of import should be avoided - com.meterware.httpunit.*. | 26 |
|
|
First sentence should end with a period. | 28 |
|
|
Line has trailing spaces. | 29 |
|
|
First sentence should end with a period. | 33 |
|
|
Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 36 |
|
|
Line has trailing spaces. | 38 |
|
|
Line is longer than 80 characters. | 39 |
|
|
Missing a Javadoc comment. | 39 |
|
|
Missing a Javadoc comment. | 40 |
|
|
Missing a Javadoc comment. | 42 |
|
|
Missing a Javadoc comment. | 44 |
|
|
Line is longer than 80 characters. | 46 |
|
|
Missing a Javadoc comment. | 46 |
|
|
Parameter source should be final. | 46 |
|
|
'source' hides a field. | 46 |
|
|
Parameter response should be final. | 46 |
|
|
Line is longer than 80 characters. | 52 |
|
|
Line is longer than 80 characters. | 54 |
|
|
Line is longer than 80 characters. | 56 |
|
|
Line is longer than 80 characters. | 65 |
|
|
Line is longer than 80 characters. | 71 |
|
|
Parameter response should be final. | 71 |
|
|
Expected @param tag for 'response'. | 71 |
|
|
Expected @throws tag for 'IOException'. | 71 |
|
|
Expected @throws tag for 'BadLocationException'. | 71 |
|
|
Expected @throws tag for 'SAXException'. | 71 |
|
|
Line is longer than 80 characters. | 74 |
|
|
Line has trailing spaces. | 80 |
|
|
Missing a Javadoc comment. | 81 |
|
|
Parameter mainTable should be final. | 81 |
|
|
Line has trailing spaces. | 82 |
|
|
Line has trailing spaces. | 84 |
|
|
',' is not followed by whitespace. | 85 |
|
|
',' is not followed by whitespace. | 87 |
|
|
',' is not followed by whitespace. | 89 |
|
|
Line is longer than 80 characters. | 90 |
|
|
Missing a Javadoc comment. | 104 |
|
|
Parameter mainTable should be final. | 104 |
|
|
Line is longer than 80 characters. | 105 |
|
|
',' is not followed by whitespace. | 105 |
|
|
',' is not followed by whitespace. | 107 |
|
|
Missing a Javadoc comment. | 111 |
|
|
Parameter response should be final. | 111 |
|
|
Line is longer than 80 characters. | 112 |
|
|
Line is longer than 80 characters. | 113 |
|
|
Line is longer than 80 characters. | 116 |
|
|
',' is not followed by whitespace. | 116 |
|
|
',' is not followed by whitespace. | 116 |
|
|
Method 'getFoodGroup' is not designed for extension - needs to be abstract, final or empty. | 130 |
|
|
Missing a Javadoc comment. | 130 |
|
|
Method 'getSource' is not designed for extension - needs to be abstract, final or empty. | 137 |
|
|
Missing a Javadoc comment. | 137 |
|
|
Method 'getMeasures' is not designed for extension - needs to be abstract, final or empty. | 144 |
|
|
Missing a Javadoc comment. | 144 |
|
|
Method 'setMeasures' is not designed for extension - needs to be abstract, final or empty. | 151 |
|
|
Missing a Javadoc comment. | 151 |
|
|
Parameter measures should be final. | 151 |
|
|
'measures' hides a field. | 151 |
|
|
Method 'getCalories' is not designed for extension - needs to be abstract, final or empty. | 159 |
|
|
Missing a Javadoc comment. | 159 |
|
|
Method 'getMacroNutrients' is not designed for extension - needs to be abstract, final or empty. | 166 |
|
|
Missing a Javadoc comment. | 166 |
|
|
Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. | 173 |
|
|
Missing a Javadoc comment. | 173 |
|
|
Method 'getMinerals' is not designed for extension - needs to be abstract, final or empty. | 180 |
|
|
Missing a Javadoc comment. | 180 |
|
|
Method 'getVitamins' is not designed for extension - needs to be abstract, final or empty. | 187 |
|
|
Missing a Javadoc comment. | 187 |
|
|
Method 'getAminoAcids' is not designed for extension - needs to be abstract, final or empty. | 194 |
|
|
Missing a Javadoc comment. | 194 |
|
|
Method 'getLipids' is not designed for extension - needs to be abstract, final or empty. | 201 |
|
|
Missing a Javadoc comment. | 201 |
|
|
Line is longer than 80 characters. | 206 |
|
|
Method 'getNutrientAmount' is not designed for extension - needs to be abstract, final or empty. | 208 |
|
|
Missing a Javadoc comment. | 208 |
|
|
Parameter ni should be final. | 208 |
|
|
Line is longer than 80 characters. | 213 |
|
|
Missing a Javadoc comment. | 215 |
|
|
Parameter ni should be final. | 215 |
|
|
Parameter val should be final. | 215 |
|
|
Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. | 222 |
|
|
Missing a Javadoc comment. | 222 |
|
|
Parameter text should be final. | 222 |
|
|
Line is longer than 80 characters. | 227 |
|
|
Missing a Javadoc comment. | 229 |
|
|
Parameter foodGroup should be final. | 229 |
|
|
Method 'getNumTimesConsumed' is not designed for extension - needs to be abstract, final or empty. | 236 |
|
|
Missing a Javadoc comment. | 236 |
|
|
Missing a Javadoc comment. | 243 |
|
|
Parameter string should be final. | 243 |
|
|
Method 'getDataSource' is not designed for extension - needs to be abstract, final or empty. | 250 |
|
|
Missing a Javadoc comment. | 250 |
|
|
Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 257 |
|
|
Missing a Javadoc comment. | 257 |
|
|
Method 'getSourceUID' is not designed for extension - needs to be abstract, final or empty. | 264 |
|
|
Missing a Javadoc comment. | 264 |
|
|
Missing a Javadoc comment. | 268 |
|
|
Line has trailing spaces. | 270 |
|
|
Missing a Javadoc comment. | 273 |
|
|
Parameter uid should be final. | 273 |
|
|
Line has trailing spaces. | 275 |