added debug message

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2120 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent 74a78ebd78
commit 634543121b

@ -174,7 +174,10 @@ public class blogBoard {
public Date date() {
try {
String c = (String) record.get("date");
if(c == null) return new Date();
if (c == null) {
System.out.println("DEBUG - ERROR: date field missing in blogBoard");
return new Date();
}
return SimpleFormatter.parse(c);
} catch (ParseException e) {
return new Date();

@ -197,7 +197,10 @@ public class wikiBoard {
public Date date() {
try {
String c = (String) record.get("date");
if(c == null) return new Date();
if (c == null) {
System.out.println("DEBUG - ERROR: date field missing in wikiBoard");
return new Date();
}
return SimpleFormatter.parse(c);
} catch (ParseException e) {
return new Date();

Loading…
Cancel
Save