Checkstyle Results

The following document contains the results of Checkstyle .

Summary

Files Infos Warnings Errors
280 0 0 7899

Files

Files I W E
ca/spaz/cron/CRONConfiguration.java 0 0 116
ca/spaz/cron/CRONOMETER.java 0 0 100
ca/spaz/cron/SplashScreen.java 0 0 66
ca/spaz/cron/config/AbstractRegexKeyValidator.java 0 0 21
ca/spaz/cron/config/DatasourceValidator.java 0 0 20
ca/spaz/cron/config/PropertyValidator.java 0 0 6
ca/spaz/cron/config/package.html 0 0 1
ca/spaz/cron/database/AbstractFoodGroup.java 0 0 12
ca/spaz/cron/database/AminoAcids.java 0 0 69
ca/spaz/cron/database/Food.java 0 0 1
ca/spaz/cron/database/Food.java 0 0 44
ca/spaz/cron/database/FoodGroup.java 0 0 6
ca/spaz/cron/database/Lipids.java 0 0 27
ca/spaz/cron/database/MacroNutrients.java 0 0 1
ca/spaz/cron/database/MacroNutrients.java 0 0 32
ca/spaz/cron/database/Measure.java 0 0 61
ca/spaz/cron/database/Minerals.java 0 0 32
ca/spaz/cron/database/NutrientInfo.java 0 0 133
ca/spaz/cron/database/NutrientTable.java 0 0 28
ca/spaz/cron/database/Serving.java 0 0 92
ca/spaz/cron/database/Vitamins.java 0 0 71
ca/spaz/cron/database/package.html 0 0 1
ca/spaz/cron/datasource/AbstractFoodDataSource.java 0 0 76
ca/spaz/cron/datasource/AbstractMutableFoodDatasource.java 0 0 149
ca/spaz/cron/datasource/Datasources.java 0 0 58
ca/spaz/cron/datasource/FoodDataEvent.java 0 0 41
ca/spaz/cron/datasource/FoodDatasourceException.java 0 0 13
ca/spaz/cron/datasource/IFoodDatasource.java 0 0 52
ca/spaz/cron/datasource/IFoodDatasourceListener.java 0 0 6
ca/spaz/cron/datasource/ILocalFoodDatasource.java 0 0 59
ca/spaz/cron/datasource/package.html 0 0 1
ca/spaz/cron/datasource/sql/ConnectionManager.java 0 0 52
ca/spaz/cron/datasource/sql/DatabaseID.java 0 0 8
ca/spaz/cron/datasource/sql/IConnectionStatusObserver.java 0 0 7
ca/spaz/cron/datasource/sql/SQLDatasource.java 0 0 232
ca/spaz/cron/datasource/sql/SQLFood.java 0 0 1
ca/spaz/cron/datasource/sql/SQLFood.java 0 0 11
ca/spaz/cron/datasource/sql/SQLFoodGroup.java 0 0 5
ca/spaz/cron/datasource/sql/SQLFoodGroupImpl.java 0 0 13
ca/spaz/cron/datasource/sql/SQLFoodImpl.java 0 0 134
ca/spaz/cron/datasource/sql/USDAsr17/USDAFood.java 0 0 27
ca/spaz/cron/datasource/sql/USDAsr17/USDAImporter.java 0 0 130
ca/spaz/cron/datasource/sql/USDAsr17/USDANutrientInfo.java 0 0 1
ca/spaz/cron/datasource/sql/USDAsr17/USDANutrientInfo.java 0 0 30
ca/spaz/cron/datasource/sql/USDAsr17/USDAWeight.java 0 0 32
ca/spaz/cron/datasource/sql/USDAsr17/package.html 0 0 1
ca/spaz/cron/datasource/sql/package.html 0 0 1
ca/spaz/cron/datasource/www/AbstractWWWDatasource.java 0 0 73
ca/spaz/cron/datasource/www/NutritionDataDatasource.java 0 0 69
ca/spaz/cron/datasource/www/NutritionDataFood.java 0 0 108
ca/spaz/cron/datasource/www/WWWFoodGroup.java 0 0 7
ca/spaz/cron/datasource/www/WWWFoodGroupImpl.java 0 0 15
ca/spaz/cron/datasource/www/package.html 0 0 1
ca/spaz/cron/package.html 0 0 1
ca/spaz/cron/summary/AbstractNutrientSummaryPanel.java 0 0 28
ca/spaz/cron/summary/AminoAcidSummaryPanel.java 0 0 15
ca/spaz/cron/summary/LipidSummaryPanel.java 0 0 14
ca/spaz/cron/summary/MacroChart.java 0 0 106
ca/spaz/cron/summary/MacroNutrientSummaryPanel.java 0 0 28
ca/spaz/cron/summary/MineralSummaryPanel.java 0 0 15
ca/spaz/cron/summary/NumericSummaryPanel.java 0 0 16
ca/spaz/cron/summary/NutrientDisplay.java 0 0 34
ca/spaz/cron/summary/NutrientTable.java 0 0 75
ca/spaz/cron/summary/NutritionSummaryPanel.java 0 0 35
ca/spaz/cron/summary/OldMacroNutrientSummaryPanel.java 0 0 32
ca/spaz/cron/summary/SimpleSummaryContent.java 0 0 1
ca/spaz/cron/summary/SimpleSummaryContent.java 0 0 55
ca/spaz/cron/summary/SummaryPanel.java 0 0 112
ca/spaz/cron/summary/SwitchableSummaryPanel.java 0 0 50
ca/spaz/cron/summary/TargetSummaryChart.java 0 0 409
ca/spaz/cron/summary/VitaminSummaryPanel.java 0 0 15
ca/spaz/cron/summary/package.html 0 0 1
ca/spaz/cron/targets/CRONTargetModel.java 0 0 14
ca/spaz/cron/targets/RDITargetModel.java 0 0 14
ca/spaz/cron/targets/Target.java 0 0 29
ca/spaz/cron/targets/TargetEditor.java 0 0 112
ca/spaz/cron/targets/TargetEditorTable.java 0 0 22
ca/spaz/cron/targets/TargetEditorTableModel.java 0 0 43
ca/spaz/cron/targets/TargetModel.java 0 0 11
ca/spaz/cron/targets/package.html 0 0 1
ca/spaz/cron/ui/BiomarkerPanel.java 0 0 64
ca/spaz/cron/ui/DailySummary.java 0 0 185
ca/spaz/cron/ui/EditServingDialog.java 0 0 7
ca/spaz/cron/ui/FoodDBToolBar.java 0 0 88
ca/spaz/cron/ui/FoodEditor.java 0 0 97
ca/spaz/cron/ui/MeasureEditor.java 0 0 110
ca/spaz/cron/ui/MeasureWidget.java 0 0 89
ca/spaz/cron/ui/NutrientEditorTable.java 0 0 28
ca/spaz/cron/ui/NutrientTableModel.java 0 0 67
ca/spaz/cron/ui/SearchPanel.java 0 0 117
ca/spaz/cron/ui/ServingEditor.java 0 0 102
ca/spaz/cron/ui/USDAImportDialog.java 0 0 106
ca/spaz/cron/ui/package.html 0 0 1
ca/spaz/cron/user/Metric.java 0 0 10
ca/spaz/cron/user/NewUserWizard.java 0 0 62
ca/spaz/cron/user/USDAImportWizardPanel.java 0 0 102
ca/spaz/cron/user/User.java 0 0 53
ca/spaz/cron/user/UserChangeListener.java 0 0 5
ca/spaz/cron/user/UserInfoWizardPanel.java 0 0 1
ca/spaz/cron/user/UserInfoWizardPanel.java 0 0 102
ca/spaz/cron/user/UserMetrics.java 0 0 35
ca/spaz/cron/user/impl/CRONUser.java 0 0 126
ca/spaz/cron/user/impl/WeightMetric.java 0 0 12
ca/spaz/cron/user/impl/package.html 0 0 1
ca/spaz/cron/user/package.html 0 0 1
ca/spaz/gui/DoubleField.java 0 0 1
ca/spaz/gui/DoubleField.java 0 0 43
ca/spaz/gui/PrettyTable.java 0 0 16
ca/spaz/gui/SpazCanvas.java 0 0 317
ca/spaz/gui/SpazCanvasLoader.java 0 0 25
ca/spaz/gui/SpazLayout.java 0 0 133
ca/spaz/gui/SpazMenuBar.java 0 0 157
ca/spaz/gui/SpazPosition.java 0 0 1
ca/spaz/gui/SpazPosition.java 0 0 203
ca/spaz/gui/TranslucentLabel.java 0 0 37
ca/spaz/gui/TranslucentPanel.java 0 0 20
ca/spaz/gui/package.html 0 0 1
ca/spaz/sql/Columns.java 0 0 7
ca/spaz/sql/DBRow.java 0 0 20
ca/spaz/sql/SQLColumnSet.java 0 0 49
ca/spaz/sql/SQLDelete.java 0 0 18
ca/spaz/sql/SQLInsert.java 0 0 22
ca/spaz/sql/SQLSelect.java 0 0 45
ca/spaz/sql/SQLSelectableStatement.java 0 0 65
ca/spaz/sql/SQLStatement.java 0 0 38
ca/spaz/sql/SQLUpdate.java 0 0 26
ca/spaz/sql/package.html 0 0 1
ca/spaz/task/Task.java 0 0 14
ca/spaz/task/TaskBar.java 0 0 62
ca/spaz/task/TaskListener.java 0 0 9
ca/spaz/task/package.html 0 0 1
ca/spaz/util/CacheMap.java 0 0 61
ca/spaz/util/CountableInputStream.java 0 0 32
ca/spaz/util/ImageFactory.java 0 0 29
ca/spaz/util/Loader.java 0 0 45
ca/spaz/util/ProgressListener.java 0 0 12
ca/spaz/util/ToolBox.java 0 0 66
ca/spaz/util/XMLNode.java 0 0 32
ca/spaz/util/package.html 0 0 1
ca/spaz/wizard/Wizard.java 0 0 170
ca/spaz/wizard/WizardPanel.java 0 0 15
ca/spaz/wizard/package.html 0 0 1
com/aimedia/ui/CancelAction.java 0 0 20
com/aimedia/ui/DocumentOutputStream.java 0 0 1
com/aimedia/ui/DocumentOutputStream.java 0 0 18
com/aimedia/ui/ICancellable.java 0 0 7
com/aimedia/ui/ISaveable.java 0 0 5
com/aimedia/ui/IValueListUser.java 0 0 8
com/aimedia/ui/SaveAction.java 0 0 17
com/aimedia/ui/UIPartFactory.java 0 0 12
com/aimedia/ui/package.html 0 0 1
com/nexes/wizard/Wizard.java 0 0 275
com/nexes/wizard/WizardController.java 0 0 62
com/nexes/wizard/WizardModel.java 0 0 192
com/nexes/wizard/WizardPanelDescriptor.java 0 0 76
com/nexes/wizard/WizardPanelNotFoundException.java 0 0 1
com/nexes/wizard/WizardPanelNotFoundException.java 0 0 6
com/nexes/wizard/package.html 0 0 1
se/datadosen/component/RiverLayout.java 0 0 189
se/datadosen/component/package.html 0 0 1

ca/spaz/cron/CRONConfiguration.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.io.*. 14
Error Using the '.*' form of import should be avoided - java.lang.reflect.*. 15
Error Using the '.*' form of import should be avoided - java.util.*. 16
Error Using the '.*' form of import should be avoided - java.util.regex.*. 17
Error Using the '.*' form of import should be avoided - ca.spaz.cron.config.*. 21
Error Missing a Javadoc comment. 24
Error First sentence should end with a period. 25
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 28
Error Missing a Javadoc comment. 31
Error Line has trailing spaces. 32
Error Line is longer than 80 characters. 33
Error Missing a Javadoc comment. 33
Error Line has trailing spaces. 34
Error Line is longer than 80 characters. 35
Error Missing a Javadoc comment. 35
Error Line has trailing spaces. 36
Error First sentence should end with a period. 37
Error Redundant 'final' modifier. 41
Error Line has trailing spaces. 44
Error Missing a Javadoc comment. 45
Error Redundant 'final' modifier. 45
Error Parameter propertiesURL should be final. 45
Error Line has trailing spaces. 51
Error Missing a Javadoc comment. 52
Error Missing a Javadoc comment. 53
Error Line has trailing spaces. 54
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 62
Error Missing a Javadoc comment. 64
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 68
Error Line has trailing spaces. 69
Error Missing a Javadoc comment. 70
Error Parameter propertiesURL should be final. 70
Error Missing a Javadoc comment. 87
Error Parameter value should be final. 87
Error Line has trailing spaces. 90
Error Missing a Javadoc comment. 91
Error Parameter value should be final. 91
Error Line has trailing spaces. 94
Error Missing a Javadoc comment. 95
Error Line is longer than 80 characters. 117
Error Line is longer than 80 characters. 125
Error Missing a Javadoc comment. 135
Error Line has trailing spaces. 138
Error Line is longer than 80 characters. 139
Error Line is longer than 80 characters. 148
Error Expected @throws tag for 'IOException'. 158
Error Expected @throws tag for 'FileNotFoundException'. 158
Error Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 158
Error Line is longer than 80 characters. 162
Error Line has trailing spaces. 169
Error Missing a Javadoc comment. 170
Error Line is longer than 80 characters. 176
Error Line is longer than 80 characters. 180
Error Line is longer than 80 characters. 182
Error Must have at least one statement. 184
Error Must have at least one statement. 194
Error Line has trailing spaces. 200
Error Line is longer than 80 characters. 203
Error Line has trailing spaces. 207
Error Line is longer than 80 characters. 210
Error Parameter key should be final. 213
Error Parameter value should be final. 213
Error 'synchronized' is not followed by whitespace. 219
Error Line has trailing spaces. 231
Error Line is longer than 80 characters. 233
Error Parameter validator should be final. 237
Error Line has trailing spaces. 240
Error Parameter validator should be final. 245
Error Line has trailing spaces. 248
Error Missing a Javadoc comment. 249
Error Missing a Javadoc comment. 256
Error Parameter key should be final. 256
Error Parameter value should be final. 256
Error Line has trailing spaces. 265
Error Line is longer than 80 characters. 266
Error Missing a Javadoc comment. 266
Error Parameter property should be final. 266
Error Parameter defaultValue should be final. 266
Error Parameter expandEnv should be final. 266
Error Line has trailing spaces. 273
Error Missing a Javadoc comment. 274
Error Parameter property should be final. 274
Error Parameter expandEnv should be final. 274
Error Expected an @return tag. 286
Error Parameter value should be final. 286
Error Expected @param tag for 'value'. 286
Error Line has trailing spaces. 296
Error Line has trailing spaces. 305
Error Parameter property should be final. 308
Error Parameter defaultValue should be final. 308
Error Line has trailing spaces. 311
Error Line has trailing spaces. 315
Error Parameter property should be final. 318
Error Line has trailing spaces. 321
Error Line is longer than 80 characters. 323
Error Line has trailing spaces. 326
Error Line is longer than 80 characters. 327
Error Parameter writeOnChange should be final. 330
Error 'writeOnChange' hides a field. 330
Error Line has trailing spaces. 333
Error Line is longer than 80 characters. 335
Error Line is longer than 80 characters. 337
Error Line is longer than 80 characters. 346
Error Line has trailing spaces. 359
Error Line has trailing spaces. 362
Error Line is longer than 80 characters. 363
Error Parameter args should be final. 379
Error Line has trailing spaces. 394

ca/spaz/cron/CRONOMETER.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Using the '.*' form of import should be avoided - java.awt.event.*. 7
Error Using the '.*' form of import should be avoided - java.io.*. 8
Error Using the '.*' form of import should be avoided - java.util.*. 9
Error Using the '.*' form of import should be avoided - javax.swing.*. 11
Error Using the '.*' form of import should be avoided - org.apache.log4j.*. 13
Error Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. 16
Error Using the '.*' form of import should be avoided - ca.spaz.cron.ui.*. 18
Error Using the '.*' form of import should be avoided - ca.spaz.task.*. 22
Error Using the '.*' form of import should be avoided - ca.spaz.util.*. 23
Error Comment matches to-do format 'TODO:'. 34
Error Comment matches to-do format 'TODO:'. 35
Error Comment matches to-do format 'TODO:'. 36
Error Comment matches to-do format 'TODO:'. 37
Error Comment matches to-do format 'TODO:'. 38
Error Comment matches to-do format 'TODO:'. 39
Error Comment matches to-do format 'TODO:'. 40
Error Line has trailing spaces. 42
Error Line has trailing spaces. 46
Error Line is longer than 80 characters. 47
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 48
Error Variable 'prog' must be private and have accessor methods. 48
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 51
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 62
Error Missing a Javadoc comment. 66
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 80
Error '100' is a magic number. 81
Error Missing a Javadoc comment. 87
Error Parameter percent should be final. 87
Error First sentence should end with a period. 92
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 95
Error Missing a Javadoc comment. 97
Error Missing a Javadoc comment. 99
Error Missing a Javadoc comment. 101
Error Missing a Javadoc comment. 103
Error Missing a Javadoc comment. 105
Error Missing a Javadoc comment. 107
Error Missing a Javadoc comment. 109
Error First sentence should end with a period. 116
Error Line has trailing spaces. 120
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 128
Error Line is longer than 80 characters. 135
Error Parameter e should be final. 137
Error 'cast' is not followed by whitespace. 143
Error 'cast' is not followed by whitespace. 144
Error Expected an @return tag. 152
Error Line is longer than 80 characters. 154
Error Missing a Javadoc comment. 159
Error '4' is a magic number. 161
Error '4' is a magic number. 161
Error '4' is a magic number. 162
Error '4' is a magic number. 162
Error '4' is a magic number. 162
Error '4' is a magic number. 162
Error '4' is a magic number. 165
Error '4' is a magic number. 165
Error '4' is a magic number. 165
Error '4' is a magic number. 165
Error Method 'getSearchPanel' is not designed for extension - needs to be abstract, final or empty. 171
Error Missing a Javadoc comment. 171
Error Method 'getDailySummary' is not designed for extension - needs to be abstract, final or empty. 178
Error Missing a Javadoc comment. 178
Error Method 'doCreateNewFood' is not designed for extension - needs to be abstract, final or empty. 185
Error Missing a Javadoc comment. 185
Error Line has trailing spaces. 190
Error Method 'doEditTargets' is not designed for extension - needs to be abstract, final or empty. 190
Error Missing a Javadoc comment. 190
Error Line has trailing spaces. 194
Error Method 'doNewUserWizard' is not designed for extension - needs to be abstract, final or empty. 194
Error Missing a Javadoc comment. 194
Error Line has trailing spaces. 197
Error Method 'doQuit' is not designed for extension - needs to be abstract, final or empty. 198
Error Missing a Javadoc comment. 198
Error Line has trailing spaces. 202
Error Method 'doUSDAImport' is not designed for extension - needs to be abstract, final or empty. 203
Error Missing a Javadoc comment. 203
Error Parameter args should be final. 212
Error Expected @param tag for 'args'. 212
Error Line has trailing spaces. 220
Error Line has trailing spaces. 228
Error Missing a Javadoc comment. 248
Error Parameter t should be final. 248
Error Method 'taskFinished' is not designed for extension - needs to be abstract, final or empty. 255
Error Missing a Javadoc comment. 255
Error Parameter t should be final. 255
Error '}' is not followed by whitespace. 262
Error '}' is not preceded with whitespace. 262
Error Line is longer than 80 characters. 268
Error Method 'checkDataSources' is not designed for extension - needs to be abstract, final or empty. 270
Error 'ds' hides a field. 274
Error 'ds' hides a field. 281
Error Method 'taskAborted' is not designed for extension - needs to be abstract, final or empty. 289
Error Missing a Javadoc comment. 289
Error Parameter t should be final. 289

ca/spaz/cron/SplashScreen.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.awt.*. 6
Error Using the '.*' form of import should be avoided - javax.swing.*. 8
Error Using the '.*' form of import should be avoided - ca.spaz.task.*. 10
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 15
Error Missing a Javadoc comment. 16
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 18
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 20
Error Parameter startupTasks should be final. 20
Error Line has trailing spaces. 24
Error Missing a Javadoc comment. 25
Error Parameter startupTasks should be final. 25
Error '4' is a magic number. 28
Error ',' is not followed by whitespace. 28
Error '4' is a magic number. 28
Error Line has trailing spaces. 34
Error Method 'start' is not designed for extension - needs to be abstract, final or empty. 35
Error Missing a Javadoc comment. 35
Error Line has trailing spaces. 39
Error Missing a Javadoc comment. 40
Error '4' is a magic number. 42
Error ',' is not followed by whitespace. 42
Error '4' is a magic number. 42
Error Line has trailing spaces. 49
Error Missing a Javadoc comment. 50
Error '6' is a magic number. 54
Error ',' is not followed by whitespace. 54
Error '6' is a magic number. 54
Error ',' is not followed by whitespace. 54
Error '6' is a magic number. 54
Error ',' is not followed by whitespace. 54
Error '6' is a magic number. 54
Error Line has trailing spaces. 59
Error Missing a Javadoc comment. 60
Error '10' is a magic number. 63
Error ',' is not followed by whitespace. 63
Error '10' is a magic number. 63
Error ',' is not followed by whitespace. 63
Error '10' is a magic number. 63
Error ',' is not followed by whitespace. 63
Error '10' is a magic number. 63
Error '24' is a magic number. 64
Error Missing a Javadoc comment. 69
Error Parameter t should be final. 69
Error '{' is not followed by whitespace. 69
Error '}' is not preceded with whitespace. 69
Error Method 'taskFinished' is not designed for extension - needs to be abstract, final or empty. 71
Error Missing a Javadoc comment. 71
Error Parameter t should be final. 71
Error Method 'taskAborted' is not designed for extension - needs to be abstract, final or empty. 76
Error Missing a Javadoc comment. 76
Error Parameter t should be final. 76
Error Line has trailing spaces. 84
Error Line has trailing spaces. 85
Error Method 'addTaskListener' is not designed for extension - needs to be abstract, final or empty. 87
Error Parameter tl should be final. 87
Error First sentence should end with a period. 91
Error Line has trailing spaces. 93
Error Line has trailing spaces. 94
Error Method 'removeTaskListener' is not designed for extension - needs to be abstract, final or empty. 96
Error Parameter tl should be final. 96
Error Line has trailing spaces. 99
Error Line has trailing spaces. 100

ca/spaz/cron/config/AbstractRegexKeyValidator.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.util.regex.*. 14
Error Missing a Javadoc comment. 16
Error Method 'getMatcher' is not designed for extension - needs to be abstract, final or empty. 18
Error Missing a Javadoc comment. 18
Error Parameter string should be final. 18
Error Line has trailing spaces. 24
Error Line is longer than 80 characters. 26
Error Method 'isValid' is not designed for extension - needs to be abstract, final or empty. 28
Error Missing a Javadoc comment. 28
Error Parameter key should be final. 28
Error Parameter value should be final. 28
Error Line has trailing spaces. 35
Error Line is longer than 80 characters. 37
Error Line has trailing spaces. 39
Error Parameter key should be final. 45
Error Parameter value should be final. 45
Error Line has trailing spaces. 46
Error Line has trailing spaces. 52

ca/spaz/cron/config/DatasourceValidator.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Missing a Javadoc comment. 14
Error Line has trailing spaces. 15
Error Missing a Javadoc comment. 16
Error Line has trailing spaces. 19
Error Line is longer than 80 characters. 20
Error Missing a Javadoc comment. 20
Error Name 'instance' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 20
Error Missing a Javadoc comment. 22
Error Parameter key should be final. 22
Error Parameter value should be final. 22
Error Line has trailing spaces. 28
Error Definition of 'equals()' without corresponding definition of 'hashCode()'. 29
Error Missing a Javadoc comment. 29
Error Parameter o should be final. 29
Error Line has trailing spaces. 32
Error Missing a Javadoc comment. 33
Error Redundant 'final' modifier. 33

ca/spaz/cron/config/PropertyValidator.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 15
Error Line is longer than 80 characters. 24
Error Line has trailing spaces. 28

ca/spaz/cron/config/package.html

Error Line
Error Missing package documentation file. 0

ca/spaz/cron/database/AbstractFoodGroup.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 15
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 20
Error Missing a Javadoc comment. 20
Error Line has trailing spaces. 23
Error Definition of 'equals()' without corresponding definition of 'hashCode()'. 24
Error Method 'equals' is not designed for extension - needs to be abstract, final or empty. 24
Error Missing a Javadoc comment. 24
Error Parameter fg should be final. 24
Error Line has trailing spaces. 27

ca/spaz/cron/database/AminoAcids.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Missing a Javadoc comment. 7
Error Missing a Javadoc comment. 9
Error Name 'TRP' must match pattern '^[a-z][a-zA-Z0-9]*$'. 9
Error Variable 'TRP' must be private and have accessor methods. 9
Error Missing a Javadoc comment. 11
Error Name 'THR' must match pattern '^[a-z][a-zA-Z0-9]*$'. 11
Error Variable 'THR' must be private and have accessor methods. 11
Error Missing a Javadoc comment. 13
Error Name 'ILE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 13
Error Variable 'ILE' must be private and have accessor methods. 13
Error Missing a Javadoc comment. 15
Error Name 'LEU' must match pattern '^[a-z][a-zA-Z0-9]*$'. 15
Error Variable 'LEU' must be private and have accessor methods. 15
Error Missing a Javadoc comment. 17
Error Name 'LYS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 17
Error Variable 'LYS' must be private and have accessor methods. 17
Error Missing a Javadoc comment. 19
Error Name 'MET' must match pattern '^[a-z][a-zA-Z0-9]*$'. 19
Error Variable 'MET' must be private and have accessor methods. 19
Error Missing a Javadoc comment. 21
Error Name 'CYS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 21
Error Variable 'CYS' must be private and have accessor methods. 21
Error Missing a Javadoc comment. 23
Error Name 'PHE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 23
Error Variable 'PHE' must be private and have accessor methods. 23
Error Missing a Javadoc comment. 25
Error Name 'TYR' must match pattern '^[a-z][a-zA-Z0-9]*$'. 25
Error Variable 'TYR' must be private and have accessor methods. 25
Error Missing a Javadoc comment. 27
Error Name 'VAL' must match pattern '^[a-z][a-zA-Z0-9]*$'. 27
Error Variable 'VAL' must be private and have accessor methods. 27
Error Missing a Javadoc comment. 29
Error Name 'ARG' must match pattern '^[a-z][a-zA-Z0-9]*$'. 29
Error Variable 'ARG' must be private and have accessor methods. 29
Error Missing a Javadoc comment. 31
Error Name 'HIS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 31
Error Variable 'HIS' must be private and have accessor methods. 31
Error Missing a Javadoc comment. 33
Error Name 'ALA' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Error Variable 'ALA' must be private and have accessor methods. 33
Error Missing a Javadoc comment. 35
Error Name 'ASP' must match pattern '^[a-z][a-zA-Z0-9]*$'. 35
Error Variable 'ASP' must be private and have accessor methods. 35
Error Missing a Javadoc comment. 37
Error Name 'GLU' must match pattern '^[a-z][a-zA-Z0-9]*$'. 37
Error Variable 'GLU' must be private and have accessor methods. 37
Error Missing a Javadoc comment. 39
Error Name 'GLY' must match pattern '^[a-z][a-zA-Z0-9]*$'. 39
Error Variable 'GLY' must be private and have accessor methods. 39
Error Missing a Javadoc comment. 41
Error Name 'PRO' must match pattern '^[a-z][a-zA-Z0-9]*$'. 41
Error Variable 'PRO' must be private and have accessor methods. 41
Error Missing a Javadoc comment. 43
Error Name 'SER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Error Variable 'SER' must be private and have accessor methods. 43
Error Missing a Javadoc comment. 45
Error Name 'HYP' must match pattern '^[a-z][a-zA-Z0-9]*$'. 45
Error Variable 'HYP' must be private and have accessor methods. 45
Error Missing a Javadoc comment. 47
Error Missing a Javadoc comment. 50
Error Parameter f should be final. 50
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 54
Error Missing a Javadoc comment. 54
Error Parameter food should be final. 54
Error '100.0' is a magic number. 55
Error Line has trailing spaces. 61
Error Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. 64
Error Missing a Javadoc comment. 64

ca/spaz/cron/database/Food.java

Error Line
Error File does not end with a newline. 0

ca/spaz/cron/database/Food.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 19
Error First sentence should end with a period. 24
Error Line has trailing spaces. 26
Error Line has trailing spaces. 32
Error Line is longer than 80 characters. 34
Error Line has trailing spaces. 36
Error Line has trailing spaces. 43
Error Line has trailing spaces. 49
Error Line has trailing spaces. 51
Error Line has trailing spaces. 58
Error Line has trailing spaces. 64
Error Line is longer than 80 characters. 64
Error Line has trailing spaces. 66
Error Line is longer than 80 characters. 67
Error Line is longer than 80 characters. 73
Error Line has trailing spaces. 74
Error Line has trailing spaces. 82
Error Line has trailing spaces. 89
Error Line has trailing spaces. 96
Error Line has trailing spaces. 103
Error Line has trailing spaces. 107
Error Line has trailing spaces. 110
Error Line has trailing spaces. 117
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 124
Error Line has trailing spaces. 126
Error Line has trailing spaces. 134
Error Line is longer than 80 characters. 135
Error Line is longer than 80 characters. 142
Error Line is longer than 80 characters. 143
Error Line has trailing spaces. 145
Error Line has trailing spaces. 151
Error Line has trailing spaces. 153
Error Expected @param tag for 'source'. 156
Error Line has trailing spaces. 157
Error Line has trailing spaces. 162
Error Line is longer than 80 characters. 165
Error Line is longer than 80 characters. 166
Error Line has trailing spaces. 173
Error Line is longer than 80 characters. 173
Error Line is longer than 80 characters. 174

ca/spaz/cron/database/FoodGroup.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 15
Error Missing a Javadoc comment. 20
Error Line has trailing spaces. 21

ca/spaz/cron/database/Lipids.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Missing a Javadoc comment. 6
Error Missing a Javadoc comment. 8
Error Variable 'saturated' must be private and have accessor methods. 8
Error Missing a Javadoc comment. 9
Error Variable 'monounsaturated' must be private and have accessor methods. 9
Error Missing a Javadoc comment. 10
Error Variable 'polyunsaturated' must be private and have accessor methods. 10
Error Missing a Javadoc comment. 11
Error Variable 'transfats' must be private and have accessor methods. 11
Error Missing a Javadoc comment. 12
Error Variable 'cholesterol' must be private and have accessor methods. 12
Error Missing a Javadoc comment. 13
Error Variable 'phytosterol' must be private and have accessor methods. 13
Error Missing a Javadoc comment. 14
Error Variable 'omega3' must be private and have accessor methods. 14
Error Missing a Javadoc comment. 15
Error Variable 'omega6' must be private and have accessor methods. 15
Error Missing a Javadoc comment. 17
Error Missing a Javadoc comment. 20
Error Parameter f should be final. 20
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 24
Error Missing a Javadoc comment. 24
Error Parameter food should be final. 24
Error '100.0' is a magic number. 25
Error Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. 29
Error Missing a Javadoc comment. 29

ca/spaz/cron/database/MacroNutrients.java

Error Line
Error File does not end with a newline. 0

ca/spaz/cron/database/MacroNutrients.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 10
Error Missing a Javadoc comment. 16
Error Variable 'kcals' must be private and have accessor methods. 16
Error Missing a Javadoc comment. 18
Error Variable 'kj' must be private and have accessor methods. 18
Error Missing a Javadoc comment. 20
Error Variable 'water' must be private and have accessor methods. 20
Error Missing a Javadoc comment. 22
Error Variable 'protein' must be private and have accessor methods. 22
Error Missing a Javadoc comment. 24
Error Variable 'lipid' must be private and have accessor methods. 24
Error Missing a Javadoc comment. 26
Error Variable 'ash' must be private and have accessor methods. 26
Error Missing a Javadoc comment. 28
Error Variable 'carbs' must be private and have accessor methods. 28
Error Missing a Javadoc comment. 30
Error Variable 'fiber' must be private and have accessor methods. 30
Error Missing a Javadoc comment. 32
Error Variable 'sugar' must be private and have accessor methods. 32
Error Missing a Javadoc comment. 34
Error Variable 'starch' must be private and have accessor methods. 34
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 39
Error Parameter f should be final. 39
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 43
Error Missing a Javadoc comment. 43
Error Parameter food should be final. 43
Error '100.0' is a magic number. 44
Error Line has trailing spaces. 51
Error Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. 54
Error Missing a Javadoc comment. 54

ca/spaz/cron/database/Measure.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 11
Error Missing a Javadoc comment. 16
Error 'static' modifier out of order with the JLS suggestions. 16
Error Missing a Javadoc comment. 18
Error Missing a Javadoc comment. 20
Error Missing a Javadoc comment. 22
Error Missing a Javadoc comment. 24
Error Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 24
Error Missing a Javadoc comment. 25
Error Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 25
Error Line has trailing spaces. 26
Error Missing a Javadoc comment. 27
Error First sentence should end with a period. 30
Error Line has trailing spaces. 32
Error Parameter amount should be final. 41
Error 'amount' hides a field. 41
Error Parameter description should be final. 41
Error 'description' hides a field. 41
Error Parameter grams should be final. 41
Error 'grams' hides a field. 41
Error Line has trailing spaces. 50
Error Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. 53
Error First sentence should end with a period. 57
Error Line has trailing spaces. 59
Error Method 'setAmount' is not designed for extension - needs to be abstract, final or empty. 63
Error Parameter amount should be final. 63
Error 'amount' hides a field. 63
Error First sentence should end with a period. 67
Error Line has trailing spaces. 69
Error Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. 72
Error First sentence should end with a period. 76
Error Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. 79
Error Parameter description should be final. 79
Error 'description' hides a field. 79
Error Expected @param tag for 'description'. 79
Error First sentence should end with a period. 83
Error Line has trailing spaces. 85
Error Method 'getGrams' is not designed for extension - needs to be abstract, final or empty. 88
Error First sentence should end with a period. 92
Error Method 'setGrams' is not designed for extension - needs to be abstract, final or empty. 95
Error Parameter grams should be final. 95
Error 'grams' hides a field. 95
Error Expected @param tag for 'grams'. 95
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 99
Error Missing a Javadoc comment. 99
Error '0.5' is a magic number. 101
Error 'cast' is not followed by whitespace. 104
Error 'cast' is not followed by whitespace. 105
Error Line has trailing spaces. 106
Error Method 'getID' is not designed for extension - needs to be abstract, final or empty. 112
Error Missing a Javadoc comment. 112
Error Method 'setID' is not designed for extension - needs to be abstract, final or empty. 116
Error Missing a Javadoc comment. 116
Error Parameter id should be final. 116
Error Line has trailing spaces. 119
Error Method 'getFoodID' is not designed for extension - needs to be abstract, final or empty. 120
Error Missing a Javadoc comment. 120
Error Method 'setFoodID' is not designed for extension - needs to be abstract, final or empty. 124
Error Missing a Javadoc comment. 124
Error Parameter fid should be final. 124

ca/spaz/cron/database/Minerals.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Missing a Javadoc comment. 7
Error Missing a Javadoc comment. 8
Error Variable 'calcium' must be private and have accessor methods. 8
Error Missing a Javadoc comment. 10
Error Variable 'copper' must be private and have accessor methods. 10
Error Missing a Javadoc comment. 12
Error Variable 'iron' must be private and have accessor methods. 12
Error Missing a Javadoc comment. 14
Error Variable 'magnesium' must be private and have accessor methods. 14
Error Missing a Javadoc comment. 16
Error Variable 'manganese' must be private and have accessor methods. 16
Error Missing a Javadoc comment. 18
Error Variable 'phosphorus' must be private and have accessor methods. 18
Error Missing a Javadoc comment. 20
Error Variable 'potassium' must be private and have accessor methods. 20
Error Missing a Javadoc comment. 22
Error Variable 'selenium' must be private and have accessor methods. 22
Error Missing a Javadoc comment. 24
Error Variable 'sodium' must be private and have accessor methods. 24
Error Missing a Javadoc comment. 26
Error Variable 'zinc' must be private and have accessor methods. 26
Error Missing a Javadoc comment. 28
Error Missing a Javadoc comment. 31
Error Parameter f should be final. 31
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 35
Error Missing a Javadoc comment. 35
Error Parameter food should be final. 35
Error '100.0' is a magic number. 36
Error Line has trailing spaces. 42
Error Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. 45
Error Missing a Javadoc comment. 45

ca/spaz/cron/database/NutrientInfo.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Using the '.*' form of import should be avoided - java.util.*. 6
Error Class NutrientInfo should be declared as final. 8
Error Missing a Javadoc comment. 8
Error Missing a Javadoc comment. 10
Error Missing a Javadoc comment. 12
Error Missing a Javadoc comment. 14
Error Missing a Javadoc comment. 16
Error Missing a Javadoc comment. 18
Error Name 'RDI' must match pattern '^[a-z][a-zA-Z0-9]*$'. 18
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 20
Error Name 'RDA_MIN' must match pattern '^[a-z][a-zA-Z0-9]*$'. 20
Error Missing a Javadoc comment. 22
Error Name 'RDA_MAX' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 26
Error Missing a Javadoc comment. 28
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 32
Error Line has trailing spaces. 33
Error Missing a Javadoc comment. 34
Error Line is longer than 80 characters. 36
Error Missing a Javadoc comment. 36
Error Parameter tag should be final. 36
Error 'tag' hides a field. 36
Error Parameter name should be final. 36
Error 'name' hides a field. 36
Error Parameter units should be final. 36
Error 'units' hides a field. 36
Error Parameter category should be final. 36
Error 'category' hides a field. 36
Error Line has trailing spaces. 42
Error Line is longer than 80 characters. 43
Error Missing a Javadoc comment. 43
Error Parameter tag should be final. 43
Error 'tag' hides a field. 43
Error Parameter name should be final. 43
Error 'name' hides a field. 43
Error Parameter units should be final. 43
Error 'units' hides a field. 43
Error Parameter category should be final. 43
Error 'category' hides a field. 43
Error Parameter DV should be final. 43
Error Name 'DV' must match pattern '^[a-z][a-zA-Z0-9]*$'. 43
Error Missing a Javadoc comment. 49
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 65
Error '2000' is a magic number. 69
Error '50' is a magic number. 71
Error '300' is a magic number. 73
Error '65' is a magic number. 75
Error '1500' is a magic number. 77
Error '25' is a magic number. 79
Error Missing a Javadoc comment. 88
Error '1000' is a magic number. 92
Error Line is longer than 80 characters. 93
Error Line is longer than 80 characters. 94
Error '18' is a magic number. 94
Error '400' is a magic number. 96
Error '1000' is a magic number. 100
Error '3500' is a magic number. 102
Error '70.0' is a magic number. 104
Error Line is longer than 80 characters. 105
Error '2400' is a magic number. 105
Error Line is longer than 80 characters. 106
Error '15' is a magic number. 106
Error Missing a Javadoc comment. 111
Error Line has trailing spaces. 136
Error Missing a Javadoc comment. 137
Error Line is longer than 80 characters. 140
Error '5000' is a magic number. 140
Error Line is longer than 80 characters. 141
Error Line is longer than 80 characters. 142
Error Line is longer than 80 characters. 143
Error Line is longer than 80 characters. 144
Error Line is longer than 80 characters. 145
Error Line has trailing spaces. 146
Error Line is longer than 80 characters. 146
Error Line is longer than 80 characters. 147
Error '1.5' is a magic number. 147
Error Line is longer than 80 characters. 148
Error ',' is not followed by whitespace. 148
Error '1.7' is a magic number. 148
Error Line is longer than 80 characters. 149
Error ',' is not followed by whitespace. 149
Error '20' is a magic number. 149
Error Line is longer than 80 characters. 150
Error ',' is not followed by whitespace. 150
Error '10' is a magic number. 150
Error Line is longer than 80 characters. 151
Error Line has trailing spaces. 152
Error Line is longer than 80 characters. 152
Error '6' is a magic number. 152
Error Line is longer than 80 characters. 153
Error '60' is a magic number. 153
Error Line is longer than 80 characters. 154
Error '400' is a magic number. 154
Error Line is longer than 80 characters. 155
Error '30' is a magic number. 155
Error Line is longer than 80 characters. 156
Error Line is longer than 80 characters. 157
Error Line has trailing spaces. 158
Error Line is longer than 80 characters. 158
Error Line has trailing spaces. 159
Error Line is longer than 80 characters. 159
Error '80' is a magic number. 159
Error Line is longer than 80 characters. 160
Error '400' is a magic number. 160
Error Line has trailing spaces. 165
Error Missing a Javadoc comment. 166
Error Line is longer than 80 characters. 169
Error '20' is a magic number. 169
Error Line is longer than 80 characters. 170
Error Line is longer than 80 characters. 171
Error Line is longer than 80 characters. 174
Error Line is longer than 80 characters. 175
Error '300' is a magic number. 175
Error Line is longer than 80 characters. 176
Error Line has trailing spaces. 180
Error Missing a Javadoc comment. 181
Error Parameter tableName should be final. 181
Error Line has trailing spaces. 193
Error Missing a Javadoc comment. 194
Error Parameter name should be final. 194
Error Line has trailing spaces. 206
Error Missing a Javadoc comment. 207
Error Missing a Javadoc comment. 219
Error Line has trailing spaces. 222
Error Missing a Javadoc comment. 223
Error Line has trailing spaces. 235

ca/spaz/cron/database/NutrientTable.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 15
Error Line has trailing spaces. 19
Error First sentence should end with a period. 23
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 26
Error Missing a Javadoc comment. 27
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 32
Error Parameter f should be final. 32
Error Line has trailing spaces. 40
Error Method 'getTableName' is not designed for extension - needs to be abstract, final or empty. 43
Error Line has trailing spaces. 49
Error First sentence should end with a period. 54
Error Line has trailing spaces. 56
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 62
Error Parameter toAdd should be final. 62
Error Parameter weight should be final. 62
Error First sentence should end with a period. 76
Error Line has trailing spaces. 78
Error Method 'getAmountByTag' is not designed for extension - needs to be abstract, final or empty. 83
Error Parameter tag should be final. 83
Error First sentence should end with a period. 94
Error Line has trailing spaces. 96
Error Method 'setAmountByTag' is not designed for extension - needs to be abstract, final or empty. 100
Error Parameter tag should be final. 100
Error Parameter val should be final. 100
Error First sentence should end with a period. 109
Error Method 'updateDatabase' is not designed for extension - needs to be abstract, final or empty. 112

ca/spaz/cron/database/Serving.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.util.*. 6
Error First sentence should end with a period. 12
Error Line has trailing spaces. 14
Error First sentence should end with a period. 18
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 21
Error Missing a Javadoc comment. 23
Error Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 23
Error Line has trailing spaces. 24
Error Missing a Javadoc comment. 25
Error Missing a Javadoc comment. 27
Error Missing a Javadoc comment. 28
Error Line has trailing spaces. 29
Error Missing a Javadoc comment. 30
Error Missing a Javadoc comment. 32
Error Missing a Javadoc comment. 34
Error '{' is not followed by whitespace. 34
Error '}' is not preceded with whitespace. 34
Error Line has trailing spaces. 35
Error Missing a Javadoc comment. 36
Error Parameter f should be final. 36
Error Missing a Javadoc comment. 40
Error Parameter f should be final. 40
Error Parameter grams should be final. 40
Error 'grams' hides a field. 40
Error Line has trailing spaces. 47
Error Method 'getGrams' is not designed for extension - needs to be abstract, final or empty. 48
Error Missing a Javadoc comment. 48
Error Line has trailing spaces. 51
Error Method 'getAmount' is not designed for extension - needs to be abstract, final or empty. 53
Error Missing a Javadoc comment. 53
Error 'assert' is not followed by whitespace. 54
Error '/' is not preceded with whitespace. 55
Error '/' is not followed by whitespace. 55
Error Method 'setAmount' is not designed for extension - needs to be abstract, final or empty. 59
Error Missing a Javadoc comment. 59
Error Parameter val should be final. 59
Error 'assert' is not followed by whitespace. 60
Error Comment matches to-do format 'TODO:'. 61
Error Method 'getFood' is not designed for extension - needs to be abstract, final or empty. 65
Error Missing a Javadoc comment. 65
Error Method 'getDate' is not designed for extension - needs to be abstract, final or empty. 69
Error Missing a Javadoc comment. 69
Error Method 'setDate' is not designed for extension - needs to be abstract, final or empty. 73
Error Missing a Javadoc comment. 73
Error Parameter d should be final. 73
Error Method 'exists' is not designed for extension - needs to be abstract, final or empty. 80
Error Line is longer than 80 characters. 88
Error First sentence should end with a period. 92
Error Method 'updateDatabase' is not designed for extension - needs to be abstract, final or empty. 95
Error Line is longer than 80 characters. 96
Error Method 'deleteFromDatabase' is not designed for extension - needs to be abstract, final or empty. 100
Error Missing a Javadoc comment. 100
Error Line is longer than 80 characters. 101
Error Method 'setGrams' is not designed for extension - needs to be abstract, final or empty. 105
Error Missing a Javadoc comment. 105
Error Parameter amount should be final. 105
Error Method 'getMeal' is not designed for extension - needs to be abstract, final or empty. 112
Error Method 'getID' is not designed for extension - needs to be abstract, final or empty. 119
Error Method 'setID' is not designed for extension - needs to be abstract, final or empty. 125
Error Parameter id should be final. 125
Error Method 'getMeasure' is not designed for extension - needs to be abstract, final or empty. 131
Error Method 'setMeasure' is not designed for extension - needs to be abstract, final or empty. 137
Error Parameter measure should be final. 137
Error 'measure' hides a field. 137
Error Method 'setMeal' is not designed for extension - needs to be abstract, final or empty. 143
Error Parameter meal should be final. 143
Error 'meal' hides a field. 143
Error Method 'setFood' is not designed for extension - needs to be abstract, final or empty. 150
Error Parameter food should be final. 150
Error 'food' hides a field. 150
Error Expected @param tag for 'food'. 150
Error 'if' construct must use '{}'s. 155
Error 'if' construct must use '{}'s. 157
Error '=' is not preceded with whitespace. 158
Error '=' is not followed by whitespace. 158
Error '<' is not preceded with whitespace. 158
Error '<' is not followed by whitespace. 158
Error 'cast' is not followed by whitespace. 159
Error 'if' construct must use '{}'s. 160
Error Line has trailing spaces. 166
Error Method 'setMeasure' is not designed for extension - needs to be abstract, final or empty. 169
Error Missing a Javadoc comment. 169
Error Parameter MID should be final. 169
Error Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 169
Error '=' is not preceded with whitespace. 171
Error '=' is not followed by whitespace. 171
Error '<' is not preceded with whitespace. 171
Error '<' is not followed by whitespace. 171
Error 'cast' is not followed by whitespace. 172
Error 'if' construct must use '{}'s. 173
Error Line has trailing spaces. 174

ca/spaz/cron/database/Vitamins.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line has trailing spaces. 10
Error Line has trailing spaces. 13
Error Line has trailing spaces. 15
Error Missing a Javadoc comment. 20
Error Name 'vit_a' must match pattern '^[a-z][a-zA-Z0-9]*$'. 20
Error Variable 'vit_a' must be private and have accessor methods. 20
Error Missing a Javadoc comment. 21
Error Variable 'retinol' must be private and have accessor methods. 21
Error Missing a Javadoc comment. 22
Error Name 'alpha_carotene' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
Error Variable 'alpha_carotene' must be private and have accessor methods. 22
Error Missing a Javadoc comment. 23
Error Name 'beta_carotene' must match pattern '^[a-z][a-zA-Z0-9]*$'. 23
Error Variable 'beta_carotene' must be private and have accessor methods. 23
Error Missing a Javadoc comment. 24
Error Name 'beta_cryptoxanthin' must match pattern '^[a-z][a-zA-Z0-9]*$'. 24
Error Variable 'beta_cryptoxanthin' must be private and have accessor methods. 24
Error Missing a Javadoc comment. 25
Error Variable 'lycopene' must be private and have accessor methods. 25
Error Missing a Javadoc comment. 26
Error Variable 'lutein' must be private and have accessor methods. 26
Error Missing a Javadoc comment. 27
Error Name 'vit_b6' must match pattern '^[a-z][a-zA-Z0-9]*$'. 27
Error Variable 'vit_b6' must be private and have accessor methods. 27
Error Missing a Javadoc comment. 28
Error Name 'vit_b12' must match pattern '^[a-z][a-zA-Z0-9]*$'. 28
Error Variable 'vit_b12' must be private and have accessor methods. 28
Error Missing a Javadoc comment. 29
Error Name 'vit_c' must match pattern '^[a-z][a-zA-Z0-9]*$'. 29
Error Variable 'vit_c' must be private and have accessor methods. 29
Error Missing a Javadoc comment. 30
Error Name 'vit_d' must match pattern '^[a-z][a-zA-Z0-9]*$'. 30
Error Variable 'vit_d' must be private and have accessor methods. 30
Error Missing a Javadoc comment. 31
Error Name 'vit_e' must match pattern '^[a-z][a-zA-Z0-9]*$'. 31
Error Variable 'vit_e' must be private and have accessor methods. 31
Error Missing a Javadoc comment. 32
Error Name 'beta_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. 32
Error Variable 'beta_tocopherol' must be private and have accessor methods. 32
Error Missing a Javadoc comment. 33
Error Name 'delta_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. 33
Error Variable 'delta_tocopherol' must be private and have accessor methods. 33
Error Missing a Javadoc comment. 34
Error Name 'gamma_tocopherol' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34
Error Variable 'gamma_tocopherol' must be private and have accessor methods. 34
Error Line has trailing spaces. 35
Error Missing a Javadoc comment. 35
Error Name 'vit_k' must match pattern '^[a-z][a-zA-Z0-9]*$'. 35
Error Variable 'vit_k' must be private and have accessor methods. 35
Error Missing a Javadoc comment. 36
Error Variable 'thiamin' must be private and have accessor methods. 36
Error Missing a Javadoc comment. 37
Error Variable 'riboflavin' must be private and have accessor methods. 37
Error Missing a Javadoc comment. 38
Error Variable 'niacin' must be private and have accessor methods. 38
Error Missing a Javadoc comment. 39
Error Name 'panto_acid' must match pattern '^[a-z][a-zA-Z0-9]*$'. 39
Error Variable 'panto_acid' must be private and have accessor methods. 39
Error Missing a Javadoc comment. 40
Error Variable 'folate' must be private and have accessor methods. 40
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 46
Error Parameter f should be final. 46
Error Method 'addFood' is not designed for extension - needs to be abstract, final or empty. 50
Error Missing a Javadoc comment. 50
Error Parameter food should be final. 50
Error '100.0' is a magic number. 51
Error Method 'doGetTableName' is not designed for extension - needs to be abstract, final or empty. 58
Error Missing a Javadoc comment. 58

ca/spaz/cron/database/package.html

Error Line
Error Missing package documentation file. 0

ca/spaz/cron/datasource/AbstractFoodDataSource.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.util.*. 14
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 17
Error Line has trailing spaces. 24
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 30
Error Parameter name should be final. 36
Error 'name' hides a field. 36
Error Line has trailing spaces. 43
Error Line is longer than 80 characters. 45
Error Unused @throws tag for 'IllegalArgumentException'. 45
Error Method 'diffSource' is not designed for extension - needs to be abstract, final or empty. 47
Error Parameter food should be final. 47
Error Method 'notNull' is not designed for extension - needs to be abstract, final or empty. 58
Error Parameter testedObject should be final. 58
Error Expected @param tag for 'testedObject'. 58
Error Line has trailing spaces. 63
Error Line is longer than 80 characters. 66
Error Line is longer than 80 characters. 67
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 67
Error Line has trailing spaces. 74
Error Line is longer than 80 characters. 77
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 77
Error Parameter keys should be final. 80
Error Line is longer than 80 characters. 83
Error Line has trailing spaces. 85
Error Line is longer than 80 characters. 87
Error Line is longer than 80 characters. 90
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 90
Error Parameter keys should be final. 93
Error Parameter foodGroup should be final. 93
Error Parameter source should be final. 94
Error Line is longer than 80 characters. 97
Error Line is longer than 80 characters. 99
Error Parameter food should be final. 102
Error Line is longer than 80 characters. 105
Error Line is longer than 80 characters. 110
Error Parameter food should be final. 110
Error Parameter nutrients should be final. 110
Error Line has trailing spaces. 114
Error Missing a Javadoc comment. 117
Error Line has trailing spaces. 128
Error Missing a Javadoc comment. 131
Error Parameter keys should be final. 131
Error Line has trailing spaces. 142
Error Missing a Javadoc comment. 146
Error Parameter keys should be final. 146
Error Parameter foodGroup should be final. 146
Error Parameter source should be final. 146
Error Line is longer than 80 characters. 148
Error Line has trailing spaces. 157
Error Line is longer than 80 characters. 158
Error Missing a Javadoc comment. 160
Error Parameter food should be final. 160
Error Line has trailing spaces. 167
Error Method 'getName' is not designed for extension - needs to be abstract, final or empty. 170
Error Missing a Javadoc comment. 170
Error Line has trailing spaces. 176
Error Line is longer than 80 characters. 177
Error Missing a Javadoc comment. 180
Error Parameter food should be final. 180
Error Parameter nutrients should be final. 180
Error Line has trailing spaces. 188
Error Line is longer than 80 characters. 190
Error Unused @throws tag for 'IllegalArgumentException'. 190
Error Method 'sameSource' is not designed for extension - needs to be abstract, final or empty. 192
Error Parameter food should be final. 192
Error Line has trailing spaces. 200
Error Missing a Javadoc comment. 203
Error Method 'getLastError' is not designed for extension - needs to be abstract, final or empty. 209
Error Missing a Javadoc comment. 209
Error Line has trailing spaces. 214
Error Method 'registerError' is not designed for extension - needs to be abstract, final or empty. 219
Error Parameter t should be final. 219

ca/spaz/cron/datasource/AbstractMutableFoodDatasource.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line is longer than 80 characters. 4
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.util.*. 14
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 16
Error Line has trailing spaces. 21
Error Missing a Javadoc comment. 27
Error Missing a Javadoc comment. 29
Error Missing a Javadoc comment. 31
Error Parameter name should be final. 31
Error Missing a Javadoc comment. 35
Error Parameter notify should be final. 35
Error 'notify' hides a field. 35
Error Missing a Javadoc comment. 39
Error Line has trailing spaces. 45
Error Line is longer than 80 characters. 46
Error Missing a Javadoc comment. 48
Error Parameter food should be final. 48
Error Line is longer than 80 characters. 51
Error Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 55
Error Line is longer than 80 characters. 64
Error Parameter sourceUID should be final. 66
Error Missing a Javadoc comment. 71
Error Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 72
Error Line has trailing spaces. 85
Error Line is longer than 80 characters. 86
Error Line is longer than 80 characters. 88
Error Missing a Javadoc comment. 88
Error Parameter listener should be final. 88
Error Line has trailing spaces. 91
Error Line is longer than 80 characters. 93
Error Missing a Javadoc comment. 95
Error Parameter foodGroup should be final. 95
Error Line is longer than 80 characters. 100
Error Line has trailing spaces. 102
Error Parameter foodGroup should be final. 105
Error Line has trailing spaces. 109
Error Line is longer than 80 characters. 110
Error Missing a Javadoc comment. 113
Error Parameter food should be final. 113
Error Parameter measure should be final. 113
Error Line has trailing spaces. 126
Error Line is longer than 80 characters. 127
Error Missing a Javadoc comment. 130
Error Parameter serving should be final. 130
Error Line has trailing spaces. 138
Error Line is longer than 80 characters. 139
Error Missing a Javadoc comment. 141
Error Parameter food should be final. 141
Error Line has trailing spaces. 149
Error Line is longer than 80 characters. 150
Error Missing a Javadoc comment. 153
Error Parameter food should be final. 153
Error Parameter measures should be final. 153
Error Line has trailing spaces. 166
Error Line is longer than 80 characters. 167
Error Missing a Javadoc comment. 170
Error Parameter serving should be final. 170
Error Line has trailing spaces. 182
Error Line is longer than 80 characters. 183
Error Line has trailing spaces. 185
Error Line is longer than 80 characters. 187
Error Line is longer than 80 characters. 188
Error Parameter food should be final. 191
Error Line is longer than 80 characters. 194
Error Line is longer than 80 characters. 195
Error Line has trailing spaces. 197
Error Line is longer than 80 characters. 200
Error Parameter food should be final. 202
Error Parameter measure should be final. 202
Error Line is longer than 80 characters. 205
Error Line is longer than 80 characters. 207
Error Line is longer than 80 characters. 208
Error Line has trailing spaces. 210
Error Line is longer than 80 characters. 211
Error Line is longer than 80 characters. 213
Error Parameter serving should be final. 216
Error Line is longer than 80 characters. 219
Error Line is longer than 80 characters. 221
Error Line is longer than 80 characters. 222
Error Line is longer than 80 characters. 223
Error Line is longer than 80 characters. 224
Error Line has trailing spaces. 226
Error Line is longer than 80 characters. 228
Error Parameter food should be final. 230
Error Line is longer than 80 characters. 235
Error Parameter food should be final. 237
Error Expected @param tag for 'food'. 237
Error Parameter measures should be final. 237
Error Expected @param tag for 'measures'. 237
Error Line has trailing spaces. 246
Error Line is longer than 80 characters. 248
Error Line is longer than 80 characters. 249
Error Parameter serving should be final. 253
Error Line has trailing spaces. 257
Error Parameter food should be final. 261
Error Line has trailing spaces. 266
Error Line has trailing spaces. 270
Error Line is longer than 80 characters. 270
Error Parameter food should be final. 273
Error Parameter startDate should be final. 273
Error Parameter endDate should be final. 274
Error Line has trailing spaces. 278
Error Line is longer than 80 characters. 280
Error Parameter food should be final. 282
Error Line is longer than 80 characters. 285
Error Line is longer than 80 characters. 289
Error Parameter food should be final. 291
Error Expected @param tag for 'food'. 291
Error Parameter measure should be final. 291
Error Expected @param tag for 'measure'. 291
Error Line is longer than 80 characters. 294
Error Line has trailing spaces. 296
Error Line is longer than 80 characters. 298
Error Parameter serving should be final. 301
Error Missing a Javadoc comment. 303
Error Line has trailing spaces. 312
Error Line is longer than 80 characters. 313
Error Missing a Javadoc comment. 315
Error Parameter food should be final. 315
Error Line has trailing spaces. 323
Error Line is longer than 80 characters. 324
Error Missing a Javadoc comment. 327
Error Parameter food should be final. 327
Error Parameter startDate should be final. 327
Error Parameter endDate should be final. 327
Error Missing a Javadoc comment. 332
Error Parameter type should be final. 332
Error Missing a Javadoc comment. 336
Error Parameter type should be final. 336
Error Parameter message should be final. 336
Error Line has trailing spaces. 345
Error Line is longer than 80 characters. 346
Error Missing a Javadoc comment. 348
Error Parameter food should be final. 348
Error Line has trailing spaces. 356
Error Line is longer than 80 characters. 357
Error Missing a Javadoc comment. 359
Error Parameter listener should be final. 360
Error Line has trailing spaces. 366
Error Line is longer than 80 characters. 367
Error Missing a Javadoc comment. 370
Error Parameter food should be final. 370
Error Parameter measure should be final. 370
Error Line has trailing spaces. 383
Error Line is longer than 80 characters. 384
Error Missing a Javadoc comment. 386
Error Parameter serving should be final. 386

ca/spaz/cron/datasource/Datasources.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.io.*. 14
Error Using the '.*' form of import should be avoided - java.lang.reflect.*. 15
Error Using the '.*' form of import should be avoided - java.util.*. 16
Error Using the '.*' form of import should be avoided - java.util.regex.*. 17
Error Line has trailing spaces. 26
Error Class Datasources should be declared as final. 29
Error First sentence should end with a period. 30
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
Error Missing a Javadoc comment. 35
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 41
Error Missing a Javadoc comment. 43
Error Line has trailing spaces. 49
Error Missing a Javadoc comment. 50
Error Parameter pl should be final. 50
Error Line has trailing spaces. 56
Error Missing a Javadoc comment. 57
Error Parameter initialize should be final. 57
Error Line has trailing spaces. 66
Error Parameter pl should be final. 68
Error Expected @param tag for 'pl'. 68
Error '5' is a magic number. 74
Error Line is longer than 80 characters. 77
Error '95' is a magic number. 81
Error '5' is a magic number. 82
Error '100' is a magic number. 108
Error Line has trailing spaces. 112
Error Expected an @return tag. 117
Error Line is longer than 80 characters. 122
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 125
Error Line has trailing spaces. 144
Error Missing a Javadoc comment. 145
Error Parameter dskey should be final. 145
Error Line is longer than 80 characters. 146
Error Line is longer than 80 characters. 147
Error Line is longer than 80 characters. 152
Error Line has trailing spaces. 156
Error Line is longer than 80 characters. 158
Error Line is longer than 80 characters. 160
Error Line is longer than 80 characters. 162
Error Line is longer than 80 characters. 167
Error Line is longer than 80 characters. 168
Error Line has trailing spaces. 169
Error Line is longer than 80 characters. 170
Error Line has trailing spaces. 176
Error Line has trailing spaces. 187
Error Line is longer than 80 characters. 189
Error Line has trailing spaces. 191
Error Line has trailing spaces. 209
Error Line has trailing spaces. 227
Error Line has trailing spaces. 228
Error Line is longer than 80 characters. 231
Error Parameter includeUnAvailable should be final. 234

ca/spaz/cron/datasource/FoodDataEvent.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 18
Error First sentence should end with a period. 23
Error First sentence should end with a period. 26
Error First sentence should end with a period. 29
Error Line has trailing spaces. 30
Error Line is longer than 80 characters. 30
Error Line is longer than 80 characters. 31
Error Line is longer than 80 characters. 33
Error Missing a Javadoc comment. 33
Error Line is longer than 80 characters. 35
Error Missing a Javadoc comment. 35
Error Line is longer than 80 characters. 37
Error Missing a Javadoc comment. 37
Error '3' is a magic number. 37
Error Line is longer than 80 characters. 39
Error Missing a Javadoc comment. 39
Error '4' is a magic number. 39
Error Line is longer than 80 characters. 41
Error Missing a Javadoc comment. 41
Error '5' is a magic number. 41
Error Line is longer than 80 characters. 43
Error Missing a Javadoc comment. 43
Error '6' is a magic number. 43
Error Line is longer than 80 characters. 45
Error Missing a Javadoc comment. 45
Error '7' is a magic number. 45
Error Line is longer than 80 characters. 47
Error Missing a Javadoc comment. 47
Error '8' is a magic number. 47
Error Line has trailing spaces. 53
Error Unused @param tag for 'aName'. 54
Error Parameter name should be final. 56
Error Expected @param tag for 'name'. 56
Error Parameter index should be final. 56
Error 'index' hides a field. 56
Error Expected @param tag for 'index'. 56
Error Line has trailing spaces. 69
Error Missing a Javadoc comment. 70

ca/spaz/cron/datasource/FoodDatasourceException.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 17
Error Line has trailing spaces. 23
Error Parameter message should be final. 32
Error Expected @param tag for 'message'. 32
Error Parameter message should be final. 40
Error Expected @param tag for 'message'. 40
Error Parameter cause should be final. 40
Error Expected @param tag for 'cause'. 40
Error Parameter cause should be final. 47
Error Expected @param tag for 'cause'. 47

ca/spaz/cron/datasource/IFoodDatasource.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 16
Error Line is longer than 80 characters. 19
Error Line has trailing spaces. 22
Error Line is longer than 80 characters. 23
Error Line is longer than 80 characters. 24
Error Line is longer than 80 characters. 25
Error Line has trailing spaces. 26
Error Line has trailing spaces. 27
Error Line has trailing spaces. 34
Error Line is longer than 80 characters. 38
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 38
Error Line is longer than 80 characters. 44
Error Line has trailing spaces. 46
Error Line is longer than 80 characters. 48
Error Line is longer than 80 characters. 51
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 51
Error Line is longer than 80 characters. 58
Error Line is longer than 80 characters. 59
Error Unused @throws tag for '<code>UnsupportedOperationException</code>'. 59
Error Line is longer than 80 characters. 65
Error Line is longer than 80 characters. 67
Error Line is longer than 80 characters. 73
Error Line is longer than 80 characters. 81
Error Line has trailing spaces. 83
Error Line is longer than 80 characters. 84
Error Line has trailing spaces. 90
Error Line has trailing spaces. 91
Error Line is longer than 80 characters. 92
Error Line is longer than 80 characters. 98
Error Line is longer than 80 characters. 100
Error Line is longer than 80 characters. 106
Error Line is longer than 80 characters. 108
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 126
Error Line has trailing spaces. 127
Error Line is longer than 80 characters. 128
Error Line has trailing spaces. 132
Error Line is longer than 80 characters. 134
Error Line is longer than 80 characters. 135
Error Line is longer than 80 characters. 137
Error Line has trailing spaces. 141
Error Line is longer than 80 characters. 143
Error Line has trailing spaces. 144
Error Line is longer than 80 characters. 144
Error Line is longer than 80 characters. 145
Error Line has trailing spaces. 149
Error Line is longer than 80 characters. 151
Error Line is longer than 80 characters. 152
Error Line is longer than 80 characters. 155

ca/spaz/cron/datasource/IFoodDatasourceListener.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 17
Error Line is longer than 80 characters. 22
Error Missing a Javadoc comment. 22

ca/spaz/cron/datasource/ILocalFoodDatasource.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.util.*. 14
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 16
Error Line has trailing spaces. 21
Error Line has trailing spaces. 22
Error Line has trailing spaces. 34
Error Line is longer than 80 characters. 36
Error Line is longer than 80 characters. 37
Error Line is longer than 80 characters. 44
Error Line has trailing spaces. 46
Error Line has trailing spaces. 50
Error Line is longer than 80 characters. 52
Error Line is longer than 80 characters. 54
Error Line is longer than 80 characters. 55
Error Line has trailing spaces. 57
Error Line is longer than 80 characters. 58
Error Line is longer than 80 characters. 60
Error Line is longer than 80 characters. 66
Error Line has trailing spaces. 68
Error Line is longer than 80 characters. 70
Error Line is longer than 80 characters. 76
Error Line is longer than 80 characters. 77
Error Line has trailing spaces. 79
Error Line is longer than 80 characters. 82
Error Line is longer than 80 characters. 89
Error Expected @param tag for 'food'. 91
Error Expected @param tag for 'measures'. 91
Error Line is longer than 80 characters. 94
Error Line is longer than 80 characters. 98
Error Expected @param tag for 'food'. 100
Error Expected @param tag for 'measure'. 100
Error Line has trailing spaces. 104
Error Line has trailing spaces. 113
Error Line has trailing spaces. 117
Error Line is longer than 80 characters. 117
Error Line is longer than 80 characters. 123
Error Line has trailing spaces. 124
Error Line is longer than 80 characters. 126
Error Line has trailing spaces. 134
Error Line is longer than 80 characters. 135
Error Line has trailing spaces. 137
Error Line is longer than 80 characters. 139
Error Line is longer than 80 characters. 140
Error Line has trailing spaces. 144
Error Line is longer than 80 characters. 152
Error Line is longer than 80 characters. 154
Error Line is longer than 80 characters. 155
Error Line is longer than 80 characters. 156
Error Line is longer than 80 characters. 157
Error Line has trailing spaces. 159
Error Line is longer than 80 characters. 161
Error Line has trailing spaces. 167
Error Line is longer than 80 characters. 169
Error Line is longer than 80 characters. 174
Error Line has trailing spaces. 176
Error Line is longer than 80 characters. 182
Error Line has trailing spaces. 183

ca/spaz/cron/datasource/package.html

Error Line
Error Missing package documentation file. 0

ca/spaz/cron/datasource/sql/ConnectionManager.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.sql.*. 14
Error Using the '.*' form of import should be avoided - java.util.*. 15
Error Line has trailing spaces. 26
Error Class ConnectionManager should be declared as final. 29
Error First sentence should end with a period. 31
Error Line has trailing spaces. 33
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 40
Error Line has trailing spaces. 44
Error Parameter dbID should be final. 50
Error 'dbID' hides a field. 50
Error Parameter dbName should be final. 50
Error Line has trailing spaces. 57
Error Missing a Javadoc comment. 60
Error Line has trailing spaces. 66
Error Missing a Javadoc comment. 69
Error Line has trailing spaces. 75
Error Missing a Javadoc comment. 78
Error Missing a Javadoc comment. 84
Error Missing a Javadoc comment. 86
Error Missing a Javadoc comment. 88
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 88
Error First sentence should end with a period. 91
Error Line has trailing spaces. 93
Error Parameter connectionID should be final. 98
Error Line has trailing spaces. 105
Error Line has trailing spaces. 122
Error Parameter dbID should be final. 127
Error Missing a Javadoc comment. 137
Error Expected an @return tag. 147
Error Parameter foodDB should be final. 154
Error Expected @param tag for 'foodDB'. 154
Error Missing a Javadoc comment. 158
Error Missing a Javadoc comment. 160
Error Missing a Javadoc comment. 162
Error Missing a Javadoc comment. 164
Error Parameter dbID should be final. 164
Error 'dbID' hides a field. 164
Error Line has trailing spaces. 172
Error Parameter observer should be final. 176
Error Line has trailing spaces. 185
Error Line is longer than 80 characters. 227
Error Line is longer than 80 characters. 240
Error Missing a Javadoc comment. 254
Error Missing a Javadoc comment. 261
Error First sentence should end with a period. 269
Error Line has trailing spaces. 271
Error Line is longer than 80 characters. 275
Error Parameter observer should be final. 275

ca/spaz/cron/datasource/sql/DatabaseID.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 15
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 20
Error Line has trailing spaces. 21
Error Missing a Javadoc comment. 22

ca/spaz/cron/datasource/sql/IConnectionStatusObserver.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Line has trailing spaces. 18
Error Line has trailing spaces. 22
Error Line has trailing spaces. 26
Error Line has trailing spaces. 30

ca/spaz/cron/datasource/sql/SQLDatasource.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.io.*. 14
Error Using the '.*' form of import should be avoided - java.sql.*. 17
Error Using the '.*' form of import should be avoided - java.util.*. 18
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 22
Error Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. 23
Error Using the '.*' form of import should be avoided - ca.spaz.sql.*. 24
Error Line has trailing spaces. 28
Error First sentence should end with a period. 32
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 35
Error Missing a Javadoc comment. 37
Error Variable 'conn' must be private and have accessor methods. 37
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 41
Error Missing a Javadoc comment. 43
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 47
Error Parameter connectionID should be final. 47
Error Line is longer than 80 characters. 52
Error Missing a Javadoc comment. 57
Error Line has trailing spaces. 60
Error Line is longer than 80 characters. 61
Error Missing a Javadoc comment. 61
Error Parameter connectionId should be final. 61
Error Line is longer than 80 characters. 72
Error Missing a Javadoc comment. 72
Error Parameter name should be final. 72
Error Parameter id should be final. 72
Error 'id' hides a field. 72
Error Parameter conn should be final. 72
Error 'conn' hides a field. 72
Error Parameter allowLocal should be final. 72
Error 'allowLocal' hides a field. 72
Error Line has trailing spaces. 81
Error Line is longer than 80 characters. 82
Error Method 'doConsumeFood' is not designed for extension - needs to be abstract, final or empty. 85
Error Missing a Javadoc comment. 85
Error Parameter serving should be final. 85
Error Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 102
Error Comment matches to-do format 'TODO:'. 114
Error Line has trailing spaces. 125
Error Line has trailing spaces. 135
Error Line is longer than 80 characters. 136
Error Method 'doChangeServingAmount' is not designed for extension - needs to be abstract, final or empty. 139
Error Missing a Javadoc comment. 139
Error Parameter serving should be final. 139
Error Name 'MID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 147
Error Line is longer than 80 characters. 151
Error Line has trailing spaces. 167
Error Line is longer than 80 characters. 168
Error Method 'doUnConsumeFood' is not designed for extension - needs to be abstract, final or empty. 170
Error Missing a Javadoc comment. 170
Error Parameter serving should be final. 170
Error Expected an @return tag. 197
Error Method 'doChangeMeasure' is not designed for extension - needs to be abstract, final or empty. 197
Error Parameter food should be final. 197
Error Expected @param tag for 'food'. 197
Error Parameter measures should be final. 197
Error Expected @param tag for 'measures'. 197
Error Line has trailing spaces. 221
Error Line has trailing spaces. 239
Error Method 'doRemoveMeasure' is not designed for extension - needs to be abstract, final or empty. 247
Error Parameter food should be final. 247
Error Expected @param tag for 'food'. 247
Error Parameter m should be final. 247
Error Line has trailing spaces. 257
Error Line has trailing spaces. 275
Error Line is longer than 80 characters. 276
Error Method 'doAddMeasure' is not designed for extension - needs to be abstract, final or empty. 279
Error Missing a Javadoc comment. 279
Error Parameter food should be final. 279
Error Parameter measure should be final. 279
Error Line has trailing spaces. 306
Error Line has trailing spaces. 309
Error Line is longer than 80 characters. 310
Error Method 'doSaveMeasure' is not designed for extension - needs to be abstract, final or empty. 313
Error Missing a Javadoc comment. 313
Error Parameter measure should be final. 313
Error 'assert' is not followed by whitespace. 314
Error Line has trailing spaces. 323
Error Line has trailing spaces. 337
Error Line is longer than 80 characters. 338
Error Method 'doGetTimesConsumed' is not designed for extension - needs to be abstract, final or empty. 340
Error Missing a Javadoc comment. 340
Error Parameter food should be final. 340
Error Line is longer than 80 characters. 355
Error Line has trailing spaces. 363
Error Line is longer than 80 characters. 364
Error Method 'doGetTimesConsumed' is not designed for extension - needs to be abstract, final or empty. 367
Error Missing a Javadoc comment. 367
Error Parameter food should be final. 367
Error Parameter startDate should be final. 367
Error Parameter endDate should be final. 367
Error Line is longer than 80 characters. 384
Error Line has trailing spaces. 392
Error Line is longer than 80 characters. 393
Error Method 'getConsumedOn' is not designed for extension - needs to be abstract, final or empty. 395
Error Missing a Javadoc comment. 395
Error Parameter date should be final. 395
Error Line is longer than 80 characters. 402
Error Missing a Javadoc comment. 422
Error Parameter FID should be final. 422
Error Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 422
Error Line has trailing spaces. 442
Error Line is longer than 80 characters. 443
Error Method 'doAddFood' is not designed for extension - needs to be abstract, final or empty. 445
Error Missing a Javadoc comment. 445
Error Parameter food should be final. 445
Error '=' is not preceded with whitespace. 492
Error '=' is not followed by whitespace. 492
Error '<' is not preceded with whitespace. 492
Error '<' is not followed by whitespace. 492
Error 'cast' is not followed by whitespace. 493
Error Line has trailing spaces. 511
Error Line is longer than 80 characters. 512
Error Method 'doSaveFood' is not designed for extension - needs to be abstract, final or empty. 515
Error Missing a Javadoc comment. 515
Error Parameter food should be final. 515
Error Missing a Javadoc comment. 553
Error Parameter food should be final. 553
Error Parameter table should be final. 553
Error Line is longer than 80 characters. 559
Error Line is longer than 80 characters. 561
Error Line has trailing spaces. 568
Error First sentence should end with a period. 569
Error Line is longer than 80 characters. 575
Error Parameter food should be final. 575
Error Parameter table should be final. 575
Error Expected @throws tag for 'SQLException'. 575
Error Line is longer than 80 characters. 580
Error Line is longer than 80 characters. 582
Error Line has trailing spaces. 589
Error Missing a Javadoc comment. 590
Error Parameter f should be final. 590
Error Line is longer than 80 characters. 592
Error Line has trailing spaces. 598
Error Line is longer than 80 characters. 599
Error Method 'doRemoveFood' is not designed for extension - needs to be abstract, final or empty. 601
Error Missing a Javadoc comment. 601
Error Parameter food should be final. 601
Error Comment matches to-do format 'TODO:'. 607
Error Line has trailing spaces. 624
Error Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. 627
Error Missing a Javadoc comment. 627
Error Parameter parts should be final. 627
Error Line has trailing spaces. 633
Error Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. 637
Error Missing a Javadoc comment. 637
Error Parameter keys should be final. 637
Error Parameter foodGroup should be final. 637
Error Parameter source should be final. 637
Error Line is longer than 80 characters. 646
Error Line is longer than 80 characters. 662
Error Parameter result should be final. 681
Error Expected @param tag for 'result'. 681
Error Parameter res should be final. 681
Error Expected @param tag for 'res'. 681
Error Expected @throws tag for 'SQLException'. 681
Error Line has trailing spaces. 697
Error Method 'doFindAllFoods' is not designed for extension - needs to be abstract, final or empty. 700
Error Missing a Javadoc comment. 700
Error Line has trailing spaces. 716
Error Line is longer than 80 characters. 717
Error Method 'doGetMeasuresFor' is not designed for extension - needs to be abstract, final or empty. 719
Error Missing a Javadoc comment. 719
Error Parameter food should be final. 719
Error Line has trailing spaces. 747
Error Line is longer than 80 characters. 748
Error Method 'doGetNutrientsFor' is not designed for extension - needs to be abstract, final or empty. 750
Error Missing a Javadoc comment. 750
Error Parameter food should be final. 750
Error Parameter nutrients should be final. 750
Error Line is longer than 80 characters. 766
Error Line has trailing spaces. 775
Error Method 'getSources' is not designed for extension - needs to be abstract, final or empty. 778
Error Missing a Javadoc comment. 778
Error Line has trailing spaces. 796
Error Method 'getFoodGroups' is not designed for extension - needs to be abstract, final or empty. 799
Error Missing a Javadoc comment. 799
Error Line has trailing spaces. 818
Error Method 'isSearchable' is not designed for extension - needs to be abstract, final or empty. 821
Error Missing a Javadoc comment. 821
Error Line has trailing spaces. 824
Error Line has trailing spaces. 827
Error Method 'isAvailable' is not designed for extension - needs to be abstract, final or empty. 830
Error Missing a Javadoc comment. 830
Error Line has trailing spaces. 836
Error Line has trailing spaces. 847
Error Method 'isListable' is not designed for extension - needs to be abstract, final or empty. 850
Error Missing a Javadoc comment. 850
Error Line is longer than 80 characters. 855
Error Method 'doCreateNewFood' is not designed for extension - needs to be abstract, final or empty. 857
Error Missing a Javadoc comment. 857
Error Line has trailing spaces. 861
Error Missing a Javadoc comment. 862
Error Method 'close' is not designed for extension - needs to be abstract, final or empty. 869
Error Missing a Javadoc comment. 869
Error '||' should be on a new line. 872
Error Method 'initialize' is not designed for extension - needs to be abstract, final or empty. 889
Error Missing a Javadoc comment. 889
Error Line is longer than 80 characters. 890
Error Line is longer than 80 characters. 891
Error Line is longer than 80 characters. 892
Error Line is longer than 80 characters. 893
Error Line has trailing spaces. 894
Error Line is longer than 80 characters. 901
Error Line is longer than 80 characters. 905
Error Line is longer than 80 characters. 920
Error Line is longer than 80 characters. 923
Error Line is longer than 80 characters. 926
Error Line is longer than 80 characters. 931
Error Method 'doAddFoodGroup' is not designed for extension - needs to be abstract, final or empty. 933
Error Missing a Javadoc comment. 933
Error Parameter foodGroup should be final. 933
Error Line is longer than 80 characters. 944
Error Line is longer than 80 characters. 951
Error Method 'setId' is not designed for extension - needs to be abstract, final or empty. 959
Error Parameter id should be final. 959
Error 'id' hides a field. 959
Error Line has trailing spaces. 964
Error Line is longer than 80 characters. 964
Error Line has trailing spaces. 966
Error Method 'getId' is not designed for extension - needs to be abstract, final or empty. 969
Error Method 'findFoodBySourceUID' is not designed for extension - needs to be abstract, final or empty. 973
Error Missing a Javadoc comment. 973
Error Parameter sourceUID should be final. 973
Error Method 'containsFood' is not designed for extension - needs to be abstract, final or empty. 994
Error Missing a Javadoc comment. 994
Error Parameter food should be final. 994
Error Name 'return_value' must match pattern '^[a-z][a-zA-Z0-9]*$'. 997

ca/spaz/cron/datasource/sql/SQLFood.java

Error Line
Error File does not end with a newline. 0

ca/spaz/cron/datasource/sql/SQLFood.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error First sentence should end with a period. 18
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 26
Error Name 'getNDB_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 26
Error Line has trailing spaces. 30
Error Expected @param tag for 'ID'. 39
Error Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 39

ca/spaz/cron/datasource/sql/SQLFoodGroup.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error First sentence should end with a period. 16
Error Line has trailing spaces. 17

ca/spaz/cron/datasource/sql/SQLFoodGroupImpl.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 14
Error First sentence should end with a period. 16
Error Line has trailing spaces. 17
Error Missing a Javadoc comment. 22
Error Missing a Javadoc comment. 23
Error Line has trailing spaces. 26
Error Parameter name should be final. 28
Error 'name' hides a field. 28
Error Expected @param tag for 'name'. 28
Error Missing a Javadoc comment. 35

ca/spaz/cron/datasource/sql/SQLFoodImpl.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Using the '.*' form of import should be avoided - java.util.*. 7
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 11
Error Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. 12
Error Line has trailing spaces. 16
Error Line has trailing spaces. 19
Error First sentence should end with a period. 23
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 26
Error Missing a Javadoc comment. 28
Error Line has trailing spaces. 29
Error Missing a Javadoc comment. 31
Error Name 'FID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 31
Error Variable 'FID' must be private and have accessor methods. 31
Error Missing a Javadoc comment. 34
Error Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 34
Error Variable 'ndb_id' must be private and have accessor methods. 34
Error Missing a Javadoc comment. 37
Error Variable 'description' must be private and have accessor methods. 37
Error Missing a Javadoc comment. 39
Error Variable 'source' must be private and have accessor methods. 39
Error Missing a Javadoc comment. 41
Error Variable 'foodGroup' must be private and have accessor methods. 41
Error Missing a Javadoc comment. 43
Error Variable 'measures' must be private and have accessor methods. 43
Error Missing a Javadoc comment. 45
Error Variable 'minerals' must be private and have accessor methods. 45
Error Missing a Javadoc comment. 47
Error Variable 'vitamins' must be private and have accessor methods. 47
Error Missing a Javadoc comment. 49
Error Variable 'aminoAcids' must be private and have accessor methods. 49
Error Missing a Javadoc comment. 51
Error Variable 'macroNutrients' must be private and have accessor methods. 51
Error Line has trailing spaces. 52
Error Missing a Javadoc comment. 53
Error Variable 'lipids' must be private and have accessor methods. 53
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 57
Error Parameter source should be final. 57
Error 'source' hides a field. 57
Error Missing a Javadoc comment. 68
Error Missing a Javadoc comment. 75
Error Name 'getNDB_ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 89
Error Missing a Javadoc comment. 96
Error Missing a Javadoc comment. 106
Error Missing a Javadoc comment. 113
Error Missing a Javadoc comment. 124
Error Missing a Javadoc comment. 132
Error Missing a Javadoc comment. 139
Error Missing a Javadoc comment. 146
Error Missing a Javadoc comment. 157
Error Missing a Javadoc comment. 168
Error Line is longer than 80 characters. 177
Error Missing a Javadoc comment. 179
Error Parameter ni should be final. 179
Error 'if' construct must use '{}'s. 180
Error Line is longer than 80 characters. 200
Error Missing a Javadoc comment. 202
Error Parameter ni should be final. 202
Error Parameter val should be final. 202
Error Missing a Javadoc comment. 223
Error Parameter out should be final. 223
Error '+' is not preceded with whitespace. 225
Error '+' is not followed by whitespace. 225
Error '+' is not preceded with whitespace. 225
Error '+' is not followed by whitespace. 225
Error '+' is not preceded with whitespace. 226
Error '+' is not followed by whitespace. 226
Error '+' is not preceded with whitespace. 226
Error '+' is not followed by whitespace. 226
Error '+' is not preceded with whitespace. 227
Error '+' is not followed by whitespace. 227
Error '+' is not preceded with whitespace. 227
Error '+' is not followed by whitespace. 227
Error Line has trailing spaces. 229
Error 'measures' hides a field. 230
Error 'cast' is not followed by whitespace. 233
Error '+' is not preceded with whitespace. 236
Error '+' is not followed by whitespace. 236
Error '+' is not preceded with whitespace. 236
Error '+' is not followed by whitespace. 236
Error '+' is not preceded with whitespace. 237
Error '+' is not followed by whitespace. 237
Error '+' is not preceded with whitespace. 237
Error '+' is not followed by whitespace. 237
Error '+' is not preceded with whitespace. 238
Error '+' is not followed by whitespace. 238
Error '+' is not preceded with whitespace. 238
Error '+' is not followed by whitespace. 238
Error Line has trailing spaces. 242
Error 'cast' is not followed by whitespace. 246
Error '+' is not preceded with whitespace. 250
Error '+' is not followed by whitespace. 250
Error '+' is not preceded with whitespace. 250
Error '+' is not followed by whitespace. 250
Error '+' is not preceded with whitespace. 251
Error '+' is not followed by whitespace. 251
Error '+' is not preceded with whitespace. 251
Error '+' is not followed by whitespace. 251
Error Line has trailing spaces. 255
Error Missing a Javadoc comment. 262
Error Parameter text should be final. 262
Error Line has trailing spaces. 264
Error Line is longer than 80 characters. 268
Error Missing a Javadoc comment. 270
Error Parameter fg should be final. 270
Error Missing a Javadoc comment. 284
Error Missing a Javadoc comment. 296
Error Parameter string should be final. 296
Error Missing a Javadoc comment. 303
Error Line has trailing spaces. 306
Error Definition of 'equals()' without corresponding definition of 'hashCode()'. 307
Error Missing a Javadoc comment. 307
Error Parameter o should be final. 307
Error '&&' should be on a new line. 310
Error '&&' should be on a new line. 311
Error '&&' should be on a new line. 312
Error Missing a Javadoc comment. 322
Error Parameter ID should be final. 322
Error Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 322
Error Missing a Javadoc comment. 329
Error Parameter measures should be final. 329
Error 'measures' hides a field. 329
Error Line has trailing spaces. 330
Error Missing a Javadoc comment. 336
Error Missing a Javadoc comment. 343
Error Missing a Javadoc comment. 347
Error Parameter uid should be final. 347
Error Line has trailing spaces. 350
Error Line has trailing spaces. 355
Error Line has trailing spaces. 359
Error Line is longer than 80 characters. 360
Error Line has trailing spaces. 361

ca/spaz/cron/datasource/sql/USDAsr17/USDAFood.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.sql.*. 6
Error Missing a Javadoc comment. 13
Error First sentence should end with a period. 14
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 17
Error Line has trailing spaces. 18
Error Missing a Javadoc comment. 19
Error Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. 19
Error Variable 'ID' must be private and have accessor methods. 19
Error Missing a Javadoc comment. 20
Error Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 20
Error Variable 'ndb_id' must be private and have accessor methods. 20
Error Missing a Javadoc comment. 21
Error Variable 'description' must be private and have accessor methods. 21
Error Missing a Javadoc comment. 22
Error Variable 'foodgroup' must be private and have accessor methods. 22
Error Line has trailing spaces. 23
Error First sentence should end with a period. 24
Error Parameter str should be final. 29
Error Parameter groups should be final. 29
Error Line has trailing spaces. 39
Error Line has trailing spaces. 40
Error Method 'addToDB' is not designed for extension - needs to be abstract, final or empty. 41
Error Missing a Javadoc comment. 41
Error Parameter c should be final. 41
Error Line has trailing spaces. 51
Error Line has trailing spaces. 55

ca/spaz/cron/datasource/sql/USDAsr17/USDAImporter.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Using the '.*' form of import should be avoided - java.io.*. 6
Error Using the '.*' form of import should be avoided - java.net.*. 7
Error Using the '.*' form of import should be avoided - java.sql.*. 8
Error Using the '.*' form of import should be avoided - java.util.*. 9
Error Using the '.*' form of import should be avoided - java.util.zip.*. 10
Error Using the '.*' form of import should be avoided - ca.spaz.util.*. 15
Error Missing a Javadoc comment. 17
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 23
Error Line has trailing spaces. 24
Error Line has trailing spaces. 26
Error Line has trailing spaces. 31
Error Line has trailing spaces. 36
Error Line has trailing spaces. 41
Error Line has trailing spaces. 46
Error Line has trailing spaces. 51
Error First sentence should end with a period. 55
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 58
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 63
Error Missing a Javadoc comment. 65
Error Missing a Javadoc comment. 67
Error Missing a Javadoc comment. 69
Error Missing a Javadoc comment. 71
Error Missing a Javadoc comment. 73
Error Missing a Javadoc comment. 75
Error Missing a Javadoc comment. 77
Error Name 'added_foods' must match pattern '^[a-z][a-zA-Z0-9]*$'. 77
Error Line has trailing spaces. 78
Error Missing a Javadoc comment. 79
Error Parameter conn should be final. 79
Error Parameter out should be final. 79
Error 'out' hides a field. 79
Error Method 'getSourceStream' is not designed for extension - needs to be abstract, final or empty. 89
Error Missing a Javadoc comment. 89
Error Method 'setSourceStream' is not designed for extension - needs to be abstract, final or empty. 93
Error Missing a Javadoc comment. 93
Error Parameter sourceStream should be final. 93
Error 'sourceStream' hides a field. 93
Error Method 'getSourceURL' is not designed for extension - needs to be abstract, final or empty. 97
Error Missing a Javadoc comment. 97
Error Method 'setSourceURL' is not designed for extension - needs to be abstract, final or empty. 101
Error Missing a Javadoc comment. 101
Error Parameter sourceURL should be final. 101
Error 'sourceURL' hides a field. 101
Error Method 'run' is not designed for extension - needs to be abstract, final or empty. 108
Error Missing a Javadoc comment. 108
Error Line has trailing spaces. 111
Error 'if' construct must use '{}'s. 136
Error Line is longer than 80 characters. 139
Error Line is longer than 80 characters. 148
Error Line is longer than 80 characters. 152
Error Line is longer than 80 characters. 159
Error Line is longer than 80 characters. 165
Error Line is longer than 80 characters. 171
Error Line is longer than 80 characters. 177
Error Line is longer than 80 characters. 184
Error '100' is a magic number. 198
Error Line has trailing spaces. 201
Error Line is longer than 80 characters. 202
Error Missing a Javadoc comment. 202
Error Parameter ins should be final. 202
Error Parameter streamName should be final. 202
Error Parameter streamSize should be final. 202
Error Parameter totalSize should be final. 202
Error Parameter baseProgress should be final. 202
Error Parameter parseType should be final. 202
Error Line is longer than 80 characters. 203
Error 'if' construct must use '{}'s. 211
Error Line has trailing spaces. 224
Error Line has trailing spaces. 227
Error Line is longer than 80 characters. 238
Error Line is longer than 80 characters. 243
Error Line is longer than 80 characters. 249
Error Line is longer than 80 characters. 264
Error Line is longer than 80 characters. 266
Error Line has trailing spaces. 273
Error Missing a Javadoc comment. 274
Error Parameter table should be final. 274
Error Line is longer than 80 characters. 281
Error Line is longer than 80 characters. 283
Error Line has trailing spaces. 292
Error Missing a Javadoc comment. 293
Error Parameter table should be final. 293
Error Parameter tag should be final. 293
Error Line is longer than 80 characters. 297
Error Line is longer than 80 characters. 300
Error Line is longer than 80 characters. 302
Error Line has trailing spaces. 311
Error Missing a Javadoc comment. 312
Error 'if' construct must use '{}'s. 313
Error Line is longer than 80 characters. 315
Error Line is longer than 80 characters. 325
Error Parameter line should be final. 339
Error Expected @param tag for 'line'. 339
Error Expected an @return tag. 352
Error Parameter relevantEntries should be final. 352
Error Expected @param tag for 'relevantEntries'. 352
Error Expected an @return tag. 367
Error Parameter zif should be final. 367
Error Expected @param tag for 'zif'. 367
Error '4' is a magic number. 368
Error 'for' is not followed by whitespace. 369
Error Must have at least one statement. 379
Error Line is longer than 80 characters. 387
Error Line is longer than 80 characters. 390
Error Expected an @return tag. 394
Error Line is longer than 80 characters. 394
Error Parameter url should be final. 394
Error Parameter tempFile should be final. 394
Error Parameter progressPortion should be final. 394
Error Redundant throws: 'FileNotFoundException' is subclass of 'IOException'. 394
Error 'cast' is not followed by whitespace. 413
Error '/' is not preceded with whitespace. 413
Error '/' is not followed by whitespace. 413
Error 'cast' is not followed by whitespace. 413
Error Missing a Javadoc comment. 430
Error Missing a Javadoc comment. 431
Error Missing a Javadoc comment. 432
Error Line has trailing spaces. 433
Error Method 'getTaskProgress' is not designed for extension - needs to be abstract, final or empty. 434
Error Missing a Javadoc comment. 434
Error Method 'abortTask' is not designed for extension - needs to be abstract, final or empty. 438
Error Missing a Javadoc comment. 438
Error Method 'canAbortTask' is not designed for extension - needs to be abstract, final or empty. 442
Error Missing a Javadoc comment. 442
Error Method 'getTaskDescription' is not designed for extension - needs to be abstract, final or empty. 446
Error Missing a Javadoc comment. 446

ca/spaz/cron/datasource/sql/USDAsr17/USDANutrientInfo.java

Error Line
Error File does not end with a newline. 0

ca/spaz/cron/datasource/sql/USDAsr17/USDANutrientInfo.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Missing a Javadoc comment. 16
Error Utility classes should not have a public or default constructor. 16
Error Line has trailing spaces. 17
Error Missing a Javadoc comment. 18
Error Line has trailing spaces. 19
Error Missing a Javadoc comment. 20
Error '{' is not followed by whitespace. 20
Error '}' is not preceded with whitespace. 20
Error Missing a Javadoc comment. 22
Error Variable 'table' must be private and have accessor methods. 22
Error Missing a Javadoc comment. 24
Error Variable 'tag' must be private and have accessor methods. 24
Error Line has trailing spaces. 25
Error Missing a Javadoc comment. 26
Error Line has trailing spaces. 46
Error Line has trailing spaces. 57
Error Line has trailing spaces. 68
Error Line has trailing spaces. 90
Error Line has trailing spaces. 97
Error Line has trailing spaces. 102
Error Line has trailing spaces. 107
Error Missing a Javadoc comment. 108
Error Parameter table should be final. 108
Error Parameter tag should be final. 108
Error Parameter nid should be final. 108
Error Line has trailing spaces. 114
Error Missing a Javadoc comment. 115

ca/spaz/cron/datasource/sql/USDAsr17/USDAWeight.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.sql.*. 6
Error Missing a Javadoc comment. 13
Error First sentence should end with a period. 14
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 17
Error Line has trailing spaces. 18
Error Missing a Javadoc comment. 19
Error Name 'ndb_id' must match pattern '^[a-z][a-zA-Z0-9]*$'. 19
Error Variable 'ndb_id' must be private and have accessor methods. 19
Error Missing a Javadoc comment. 20
Error Variable 'amount' must be private and have accessor methods. 20
Error Missing a Javadoc comment. 21
Error Variable 'grams' must be private and have accessor methods. 21
Error Missing a Javadoc comment. 22
Error Variable 'description' must be private and have accessor methods. 22
Error Line has trailing spaces. 23
Error Line has trailing spaces. 24
Error Missing a Javadoc comment. 25
Error Parameter str should be final. 25
Error Line has trailing spaces. 32
Error Line has trailing spaces. 33
Error '3' is a magic number. 33
Error Line has trailing spaces. 34
Error '4' is a magic number. 34
Error Line has trailing spaces. 36
Error Method 'addToDB' is not designed for extension - needs to be abstract, final or empty. 37
Error Missing a Javadoc comment. 37
Error Parameter c should be final. 37
Error Parameter foods should be final. 37
Error 'cast' is not followed by whitespace. 39
Error 'assert' is not followed by whitespace. 40
Error Line has trailing spaces. 49

ca/spaz/cron/datasource/sql/USDAsr17/package.html

Error Line
Error Missing package documentation file. 0

ca/spaz/cron/datasource/sql/package.html

Error Line
Error Missing package documentation file. 0

ca/spaz/cron/datasource/www/AbstractWWWDatasource.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.io.*. 14
Error Using the '.*' form of import should be avoided - java.util.*. 16
Error Using the '.*' form of import should be avoided - java.util.regex.*. 17
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 22
Error Line has trailing spaces. 28
Error First sentence should end with a period. 32
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 35
Error Parameter name should be final. 41
Error Missing a Javadoc comment. 48
Error Missing a Javadoc comment. 53
Error Line has trailing spaces. 59
Error Line has trailing spaces. 60
Error Missing a Javadoc comment. 67
Error Line has trailing spaces. 73
Error Method 'isSearchable' is not designed for extension - needs to be abstract, final or empty. 82
Error Missing a Javadoc comment. 82
Error Method 'isListable' is not designed for extension - needs to be abstract, final or empty. 89
Error Missing a Javadoc comment. 89
Error Missing a Javadoc comment. 96
Error Line has trailing spaces. 101
Error Line is longer than 80 characters. 106
Error Line is longer than 80 characters. 107
Error Line has trailing spaces. 108
Error Line is longer than 80 characters. 110
Error Line is longer than 80 characters. 111
Error Line has trailing spaces. 112
Error Line is longer than 80 characters. 112
Error Line is longer than 80 characters. 113
Error Line is longer than 80 characters. 115
Error Line is longer than 80 characters. 117
Error Line has trailing spaces. 118
Error Line is longer than 80 characters. 119
Error Method 'getFoodGroups' is not designed for extension - needs to be abstract, final or empty. 123
Error Parameter sourceUrl should be final. 123
Error Parameter startGroups should be final. 123
Error Parameter endGroups should be final. 124
Error Parameter groupID should be final. 124
Error Parameter keyGroup should be final. 124
Error Parameter nameGroup should be final. 124
Error Line has trailing spaces. 126
Error Line has trailing spaces. 128
Error Line has trailing spaces. 130
Error Line is longer than 80 characters. 151
Error Line has trailing spaces. 161
Error Missing a Javadoc comment. 162
Error Parameter source should be final. 162
Error Line has trailing spaces. 164
Error Line is longer than 80 characters. 166
Error Line has trailing spaces. 176
Error Line is longer than 80 characters. 181
Error Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. 183
Error Missing a Javadoc comment. 183
Error Parameter keys should be final. 183
Error Parameter foodGroup should be final. 183
Error Parameter source should be final. 183
Error Line is longer than 80 characters. 189
Error Method 'doFindFoods' is not designed for extension - needs to be abstract, final or empty. 191
Error Missing a Javadoc comment. 191
Error Parameter keys should be final. 191
Error Line is longer than 80 characters. 197
Error Method 'doGetMeasuresFor' is not designed for extension - needs to be abstract, final or empty. 199
Error Missing a Javadoc comment. 199
Error Parameter food should be final. 199
Error Line is longer than 80 characters. 205
Error Missing a Javadoc comment. 207
Error Parameter food should be final. 207
Error Parameter nutrients should be final. 207
Error Line has trailing spaces. 209
Error Missing a Javadoc comment. 212
Error Line has trailing spaces. 215

ca/spaz/cron/datasource/www/NutritionDataDatasource.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line is longer than 80 characters. 2
Error Using the '.*' form of import should be avoided - java.net.*. 12
Error Using the '.*' form of import should be avoided - java.util.*. 13
Error Using the '.*' form of import should be avoided - java.util.regex.*. 14
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 20
Error Using the '.*' form of import should be avoided - com.meterware.httpunit.*. 23
Error First sentence should end with a period. 25
Error Line has trailing spaces. 27
Error Class NutritionDataDatasource should be declared as final. 30
Error First sentence should end with a period. 31
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 42
Error Line is longer than 80 characters. 45
Error Missing a Javadoc comment. 45
Error Missing a Javadoc comment. 47
Error Line is longer than 80 characters. 50
Error Missing a Javadoc comment. 50
Error Line is longer than 80 characters. 51
Error Missing a Javadoc comment. 51
Error Missing a Javadoc comment. 53
Error Missing a Javadoc comment. 55
Error Parameter name should be final. 62
Error Expected @param tag for 'name'. 62
Error Line is longer than 80 characters. 67
Error Line has trailing spaces. 73
Error Missing a Javadoc comment. 76
Error Line has trailing spaces. 82
Error Missing a Javadoc comment. 85
Error Line has trailing spaces. 93
Error Missing a Javadoc comment. 96
Error Line has trailing spaces. 113
Error Missing a Javadoc comment. 116
Error Line has trailing spaces. 122
Error Line is longer than 80 characters. 123
Error Missing a Javadoc comment. 125
Error Parameter keys should be final. 125
Error Line has trailing spaces. 131
Error Line is longer than 80 characters. 132
Error Missing a Javadoc comment. 135
Error Parameter keys should be final. 135
Error Parameter foodGroup should be final. 135
Error Parameter source should be final. 135
Error Must have at least one statement. 136
Error Must have at least one statement. 139
Error Line has trailing spaces. 157
Error Line has trailing spaces. 164
Error Line has trailing spaces. 189
Error Missing a Javadoc comment. 201
Error Parameter conv should be final. 201
Error Parameter loader should be final. 201
Error Line has trailing spaces. 220
Error Line is longer than 80 characters. 221
Error Missing a Javadoc comment. 223
Error Parameter food should be final. 223
Error Line has trailing spaces. 229
Error Line is longer than 80 characters. 230
Error Missing a Javadoc comment. 233
Error Parameter food should be final. 233
Error Parameter nutrients should be final. 233
Error Line has trailing spaces. 239
Error Missing a Javadoc comment. 242
Error Missing a Javadoc comment. 246
Error Parameter args should be final. 246
Error '{' is followed by whitespace. 250
Error Missing a Javadoc comment. 253
Error Parameter food should be final. 253

ca/spaz/cron/datasource/www/NutritionDataFood.java

Error Line
Error Line does not match expected header line of 'Common Public License - v 1.0'. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error Using the '.*' form of import should be avoided - java.util.*. 15
Error Using the '.*' form of import should be avoided - java.util.regex.*. 16
Error Using the '.*' form of import should be avoided - ca.spaz.cron.database.*. 23
Error Using the '.*' form of import should be avoided - ca.spaz.cron.datasource.*. 24
Error Using the '.*' form of import should be avoided - com.meterware.httpunit.*. 26
Error First sentence should end with a period. 28
Error Line has trailing spaces. 29
Error First sentence should end with a period. 33
Error Name 'logger' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
Error Line has trailing spaces. 38
Error Line is longer than 80 characters. 39
Error Missing a Javadoc comment. 39
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 42
Error Missing a Javadoc comment. 44
Error Line is longer than 80 characters. 46
Error Missing a Javadoc comment. 46
Error Parameter source should be final. 46
Error 'source' hides a field. 46
Error Parameter response should be final. 46
Error Line is longer than 80 characters. 52
Error Line is longer than 80 characters. 54
Error Line is longer than 80 characters. 56
Error Line is longer than 80 characters. 65
Error Line is longer than 80 characters. 71
Error Parameter response should be final. 71
Error Expected @param tag for 'response'. 71
Error Expected @throws tag for 'IOException'. 71
Error Expected @throws tag for 'BadLocationException'. 71
Error Expected @throws tag for 'SAXException'. 71
Error Line is longer than 80 characters. 74
Error Line has trailing spaces. 80
Error Missing a Javadoc comment. 81
Error Parameter mainTable should be final. 81
Error Line has trailing spaces. 82
Error Line has trailing spaces. 84
Error ',' is not followed by whitespace. 85
Error ',' is not followed by whitespace. 87
Error ',' is not followed by whitespace. 89
Error Line is longer than 80 characters. 90
Error Missing a Javadoc comment. 104
Error Parameter mainTable should be final. 104
Error Line is longer than 80 characters. 105
Error ',' is not followed by whitespace. 105
Error ',' is not followed by whitespace. 107
Error Missing a Javadoc comment. 111
Error Parameter response should be final. 111
Error Line is longer than 80 characters. 112
Error Line is longer than 80 characters. 113
Error Line is longer than 80 characters. 116
Error ',' is not followed by whitespace. 116
Error ',' is not followed by whitespace. 116
Error Method 'getFoodGroup' is not designed for extension - needs to be abstract, final or empty. 130
Error Missing a Javadoc comment. 130
Error Method 'getSource' is not designed for extension - needs to be abstract, final or empty. 137
Error Missing a Javadoc comment. 137
Error Method 'getMeasures' is not designed for extension - needs to be abstract, final or empty. 144
Error Missing a Javadoc comment. 144
Error Method 'setMeasures' is not designed for extension - needs to be abstract, final or empty. 151
Error Missing a Javadoc comment. 151
Error Parameter measures should be final. 151
Error 'measures' hides a field. 151
Error Method 'getCalories' is not designed for extension - needs to be abstract, final or empty. 159
Error Missing a Javadoc comment. 159
Error Method 'getMacroNutrients' is not designed for extension - needs to be abstract, final or empty. 166
Error Missing a Javadoc comment. 166
Error Method 'getDescription' is not designed for extension - needs to be abstract, final or empty. 173
Error Missing a Javadoc comment. 173
Error Method 'getMinerals' is not designed for extension - needs to be abstract, final or empty. 180
Error Missing a Javadoc comment. 180
Error Method 'getVitamins' is not designed for extension - needs to be abstract, final or empty. 187
Error Missing a Javadoc comment. 187
Error Method 'getAminoAcids' is not designed for extension - needs to be abstract, final or empty. 194
Error Missing a Javadoc comment. 194
Error Method 'getLipids' is not designed for extension - needs to be abstract, final or empty. 201
Error Missing a Javadoc comment. 201
Error Line is longer than 80 characters. 206
Error Method 'getNutrientAmount' is not designed for extension - needs to be abstract, final or empty. 208
Error Missing a Javadoc comment. 208
Error Parameter ni should be final. 208
Error Line is longer than 80 characters. 213
Error Missing a Javadoc comment. 215
Error Parameter ni should be final. 215
Error Parameter val should be final. 215
Error Method 'setDescription' is not designed for extension - needs to be abstract, final or empty. 222
Error Missing a Javadoc comment. 222
Error Parameter text should be final. 222
Error Line is longer than 80 characters. 227
Error Missing a Javadoc comment. 229
Error Parameter foodGroup should be final. 229
Error Method 'getNumTimesConsumed' is not designed for extension - needs to be abstract, final or empty. 236
Error Missing a Javadoc comment. 236
Error Missing a Javadoc comment. 243
Error Parameter string should be final. 243
Error Method 'getDataSource' is not designed for extension - needs to be abstract, final or empty. 250
Error Missing a Javadoc comment. 250
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 257
Error Missing a Javadoc comment. 257
Error Method 'getSourceUID' is not designed for extension - needs to be abstract, final or empty. 264
Error Missing a Javadoc comment. 264
Error Missing a Javadoc comment. 268
Error Line has trailing spaces. 270
Error Missing a Javadoc comment. 273
Error Parameter uid should be final. 273
Error Line has trailing spaces. 275

ca/spaz/cron/datasource/www/WWWFoodGroup.java

Error Line
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 8
Error Line is longer than 80 characters. 11
Error First sentence should end with a period. 16
Error Line has trailing spaces.