No need to nest in else clause.
@@ -670,9 +670,8 @@ public class RollingFileManager extends FileManager {
FileTime fileTime = attrs.creationTime();
if (fileTime.compareTo(EPOCH) > 0) {
return fileTime.toMillis();
- } else {
- LOGGER.info("Unable to obtain file creation time for " + file.getAbsolutePath());
}
+ LOGGER.info("Unable to obtain file creation time for " + file.getAbsolutePath());
} catch (Exception ex) {
LOGGER.info("Unable to calculate file creation time for " + file.getAbsolutePath() + ": " + ex.getMessage());
}
