checkstyle correction

This commit is contained in:
Jeremy Long
2016-12-03 16:23:53 -05:00
parent e513a79bd2
commit 8f2c755f21

View File

@@ -275,7 +275,7 @@ public class NvdCveUpdater extends BaseUpdater implements CachedWebDataSource {
final int endYear = Calendar.getInstance().get(Calendar.YEAR);
boolean needsFullUpdate = false;
for (int y = startYear; y <= endYear; y++) {
long val = Long.parseLong(getProperties().getProperty(DatabaseProperties.LAST_UPDATED_BASE + y, "0"));
final long val = Long.parseLong(getProperties().getProperty(DatabaseProperties.LAST_UPDATED_BASE + y, "0"));
if (val == 0) {
needsFullUpdate = true;
}