Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

removed warnings and superfluous logging

Michael Peter Christend9858e1b8ad1
diff --git a/htroot/SettingsAck_p.java b/htroot/SettingsAck_p.java
index f2373b1ff..749e8c749 100644
--- a/htroot/SettingsAck_p.java
+++ b/htroot/SettingsAck_p.java
@@ -49,7 +49,6 @@ import net.yacy.search.SwitchboardConstants;
import net.yacy.server.serverCore;
import net.yacy.server.serverObjects;
import net.yacy.server.serverSwitch;
-import net.yacy.server.http.HTTPDProxyHandler;
import net.yacy.server.http.HTTPDemon;
public class SettingsAck_p {
diff --git a/source/net/yacy/cora/document/feed/RSSFeed.java b/source/net/yacy/cora/document/feed/RSSFeed.java
index d0ab89f56..45a33514f 100644
--- a/source/net/yacy/cora/document/feed/RSSFeed.java
+++ b/source/net/yacy/cora/document/feed/RSSFeed.java
@@ -30,7 +30,6 @@ import java.util.Map;
import java.util.Set;
import net.yacy.cora.document.id.MultiProtocolURL;
-import net.yacy.cora.util.ConcurrentLog;
public class RSSFeed implements Iterable<RSSMessage> {
@@ -149,8 +148,8 @@ public class RSSFeed implements Iterable<RSSMessage> {
try {
this.lastGUID = this.GUIDiterator.next();
} catch (final ConcurrentModificationException e) {
- ConcurrentLog.logException(e);
- return null;
+ //ConcurrentLog.logException(e);
+ this.lastGUID = null;
}
if (this.lastGUID == null) return null;
return RSSFeed.this.messages.get(this.lastGUID);
diff --git a/source/net/yacy/cora/util/ConcurrentLog.java b/source/net/yacy/cora/util/ConcurrentLog.java
index dae312cfa..3c0953c52 100644
--- a/source/net/yacy/cora/util/ConcurrentLog.java
+++ b/source/net/yacy/cora/util/ConcurrentLog.java
@@ -59,7 +59,7 @@ public final class ConcurrentLog {
if (logRunnerThread == null || !logRunnerThread.isAlive()) {
logRunnerThread = new Worker();
logRunnerThread.start();
- ConcurrentLogLogger.log(Level.INFO, "started ConcurrentLog.Worker.");
+ //ConcurrentLogLogger.log(Level.INFO, "started ConcurrentLog.Worker.");
}
}
diff --git a/source/net/yacy/peers/graphics/NetworkGraph.java b/source/net/yacy/peers/graphics/NetworkGraph.java
index ef9e2f495..25bece3f9 100644
--- a/source/net/yacy/peers/graphics/NetworkGraph.java
+++ b/source/net/yacy/peers/graphics/NetworkGraph.java
@@ -283,7 +283,8 @@ public class NetworkGraph {
if (communicationTimeout >= 0) {
final Date horizon = new Date(System.currentTimeMillis() - communicationTimeout);
for (final Hit event: EventChannel.channels(EventChannel.DHTRECEIVE)) {
- if (event == null || event.getPubDate() == null) continue;
+ if (event == null) break;
+ if (event.getPubDate() == null) continue;
if (event.getPubDate().after(horizon)) {
//System.out.println("*** NETWORK-DHTRECEIVE: " + event.getLink());
drawNetworkPictureDHT(networkPicture, width / 2, height / 2, innerradius, seedDB.mySeed(), seedDB.get(event.getLink()), COL_DHTIN, coronaangle, false, cyc);