Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
patch for negative time in case that the time of the computer is changed
orbiter01d1ae66768c
diff --git a/source/de/anomic/yacy/yacyCore.java b/source/de/anomic/yacy/yacyCore.javaindex 9da0e64a1..b4999e592 100644--- a/source/de/anomic/yacy/yacyCore.java+++ b/source/de/anomic/yacy/yacyCore.java@@ -105,7 +105,7 @@ public class yacyCore {public static int yacyTime() {// the time since startup of yacy in seconds- return (int) ((System.currentTimeMillis() - serverCore.startupTime) / 1000);+ return Math.max(0, (int) ((System.currentTimeMillis() - serverCore.startupTime) / 1000));}public yacyCore(plasmaSwitchboard sb) {