diff options
| author | Michael Christen <mc@yacy.net> | 2022-10-04 22:28:15 +0200 |
|---|---|---|
| committer | Michael Christen <mc@yacy.net> | 2022-10-04 22:28:15 +0200 |
| commit | 51cf17d252f33de5167e56f03ac052d0aa982b04 (patch) | |
| tree | 3dbb9edbfd77b04730dab64dfb7e3cc3f2b91d1a | |
| parent | 867f96a32b77d6e652fe33c880b62c3f36d31b9b (diff) | |
removed warnings
| -rw-r--r-- | build.xml | 1 | ||||
| -rw-r--r-- | source/net/yacy/server/http/HTTPDProxyHandler.java | 2 | ||||
| -rw-r--r-- | source/net/yacy/visualization/DemoApplet.java | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -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 |
