}
private static void copyright() {
- int inceptionYear = Integer.parseInt(
- ChessHogScannerProperties.get("scanner.inception.year")
- );
+ int inceptionYear = ChessHogScannerProperties.getInt("scanner.inception.year");
int currentYear = Calendar.getInstance().get(Calendar.YEAR);
String copyright = currentYear > inceptionYear
? String.format("%s-%s %s", inceptionYear, currentYear, COPYRIGHT)