Skip to content

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

fix accidental use of Java 8 function in Translator_p thanks to luccioman

regere46245b8196c
diff --git a/htroot/Translator_p.java b/htroot/Translator_p.java
index a8aa5b9a0..3f7c18887 100644
--- a/htroot/Translator_p.java
+++ b/htroot/Translator_p.java
@@ -100,7 +100,7 @@ public class Translator_p {
if (sourcetext.endsWith("<") && !t.endsWith("<")) t=t+"<";
}
targettxt = t;
- origTextList.replace(sourcetext, targettxt);
+ origTextList.put(sourcetext, targettxt);
changed = true;
}
prop.putHTML("textlist_" + i + "_sourcetxt", sourcetext);