Skip to content

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

with strict compiler settings, IndexFederated_p does not compile without @SuppressWarnings("deprecation")

Michael Peter Christen76e1e91b1168
diff --git a/htroot/IndexFederated_p.java b/htroot/IndexFederated_p.java
index 6da71b3cd..a0a585a8e 100644
--- a/htroot/IndexFederated_p.java
+++ b/htroot/IndexFederated_p.java
@@ -45,6 +45,7 @@ import net.yacy.server.serverSwitch;
public class IndexFederated_p {
+ @SuppressWarnings("deprecation")
public static serverObjects respond(@SuppressWarnings("unused") final RequestHeader header, final serverObjects post, final serverSwitch env) {
// return variable that accumulates replacements
final serverObjects prop = new serverObjects();