Fixed empty console! Oops!

This commit is contained in:
Dinnerbone 2011-02-26 11:51:31 +00:00
parent 07b86b1230
commit d7114a4f62

View File

@ -25,13 +25,13 @@ public class ShortConsoleLogFormatter extends Formatter {
}
} catch (OptionException ex) {
System.err.println("Given date format is not valid. Falling back to default.");
} finally {
if (date == null) {
date = new SimpleDateFormat("HH:mm:ss");
}
}
}
if (date == null) {
date = new SimpleDateFormat("HH:mm:ss");
}
this.date = date;
}