removed warnings

pull/533/head
Michael Christen 2 years ago
parent 867f96a32b
commit 51cf17d252

@ -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) -->

@ -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;

@ -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

Loading…
Cancel
Save