|
|
|
@ -68,6 +68,7 @@ import de.anomic.kelondro.kelondroBase64Order;
|
|
|
|
|
import de.anomic.kelondro.kelondroDyn;
|
|
|
|
|
import de.anomic.kelondro.kelondroMapObjects;
|
|
|
|
|
import de.anomic.kelondro.kelondroNaturalOrder;
|
|
|
|
|
import de.anomic.server.logging.serverLog;
|
|
|
|
|
|
|
|
|
|
public class blogBoardComments {
|
|
|
|
|
|
|
|
|
@ -172,7 +173,8 @@ public class blogBoardComments {
|
|
|
|
|
try {
|
|
|
|
|
String c = (String) record.get("date");
|
|
|
|
|
if (c == null) {
|
|
|
|
|
System.out.println("DEBUG - ERROR: date field missing in blogBoard");
|
|
|
|
|
serverLog.logFinest("Blog", "ERROR: date field missing in blogBoard");
|
|
|
|
|
//System.out.println("DEBUG - ERROR: date field missing in blogBoard");
|
|
|
|
|
return new Date();
|
|
|
|
|
}
|
|
|
|
|
synchronized (SimpleFormatter) {
|
|
|
|
@ -186,7 +188,8 @@ public class blogBoardComments {
|
|
|
|
|
public String timestamp() {
|
|
|
|
|
String c = (String) record.get("date");
|
|
|
|
|
if (c == null) {
|
|
|
|
|
System.out.println("DEBUG - ERROR: date field missing in blogBoard");
|
|
|
|
|
serverLog.logFinest("Blog", "ERROR: date field missing in blogBoard");
|
|
|
|
|
//System.out.println("DEBUG - ERROR: date field missing in blogBoard");
|
|
|
|
|
return dateString(new Date());
|
|
|
|
|
}
|
|
|
|
|
return c;
|
|
|
|
|