summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Christen <mc@yacy.net>2022-10-04 22:28:15 +0200
committerMichael Christen <mc@yacy.net>2022-10-04 22:28:15 +0200
commit51cf17d252f33de5167e56f03ac052d0aa982b04 (patch)
tree3dbb9edbfd77b04730dab64dfb7e3cc3f2b91d1a
parent867f96a32b77d6e652fe33c880b62c3f36d31b9b (diff)
removed warnings
-rw-r--r--build.xml1
-rw-r--r--source/net/yacy/server/http/HTTPDProxyHandler.java2
-rw-r--r--source/net/yacy/visualization/DemoApplet.java1
3 files changed, 3 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 52b1e3572..631abd71f 100644
--- a/build.xml
+++ b/build.xml
@@ -174,6 +174,7 @@
source="${javacSource}" target="${javacTarget}" encoding="UTF-8">
<classpath refid="project.class.path" />
<compilerarg value="-Xlint"/>
+ <compilerarg value="-nowarn"/>
</javac>
<!-- prepare classpath for MANIFEST (manifest cp is relative to jar) -->
diff --git a/source/net/yacy/server/http/HTTPDProxyHandler.java b/source/net/yacy/server/http/HTTPDProxyHandler.java
index 493cd7a6f..744c4515c 100644
--- a/source/net/yacy/server/http/HTTPDProxyHandler.java
+++ b/source/net/yacy/server/http/HTTPDProxyHandler.java
@@ -178,7 +178,7 @@ public final class HTTPDProxyHandler {
final String redirectorPath = sb.getConfig("externalRedirector", "");
if (redirectorPath.length() > 0 && !redirectorEnabled) {
try {
- redirectorProcess=Runtime.getRuntime().exec(redirectorPath);
+ redirectorProcess=Runtime.getRuntime().exec(redirectorPath, null, null);
redirectorWriter = new PrintWriter(redirectorProcess.getOutputStream());
redirectorReader = new BufferedReader(new InputStreamReader(redirectorProcess.getInputStream()));
redirectorEnabled=true;
diff --git a/source/net/yacy/visualization/DemoApplet.java b/source/net/yacy/visualization/DemoApplet.java
index 10db0bd63..55ceb5430 100644
--- a/source/net/yacy/visualization/DemoApplet.java
+++ b/source/net/yacy/visualization/DemoApplet.java
@@ -6,6 +6,7 @@ import java.awt.Graphics;
+@SuppressWarnings("removal")
public class DemoApplet extends Applet implements Runnable {
// can be run in eclipse with
// Run -> Run As -> Java Applet