summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 11:30:20 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:16 +0200
commite7a474b29ad87c03bdc3253cc62521b8af3a93e0 (patch)
tree653452cc25dbe5fb2a9cc36e59f7a95ceed8f17c /stoc
parent27459c71ef5f6f27749de36334e8a20fe4731e62 (diff)
java: remove unused variables
Change-Id: I1b04fbf4d4562ff8e74f6ccdb2fd989d79cc869b
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/javavm/testapplet/TestApplet.java4
-rw-r--r--stoc/test/javavm/testcomponent/TestComponent.java17
2 files changed, 5 insertions, 16 deletions
diff --git a/stoc/test/javavm/testapplet/TestApplet.java b/stoc/test/javavm/testapplet/TestApplet.java
index d5484e372c7f..6d6176076df9 100644
--- a/stoc/test/javavm/testapplet/TestApplet.java
+++ b/stoc/test/javavm/testapplet/TestApplet.java
@@ -45,10 +45,10 @@ public class TestApplet extends java.applet.Applet {
// local connection
URL url= new URL("http://localhost:8080/index.html");
- InputStream is= url.openStream();
+ url.openStream();
// remote connection
url= new URL("http://www.w3.org/index.html");
- is= url.openStream();
+ url.openStream();
}catch( MalformedURLException mue) {
}catch( IOException e) {
String s= e.getMessage();
diff --git a/stoc/test/javavm/testcomponent/TestComponent.java b/stoc/test/javavm/testcomponent/TestComponent.java
index 81361b27d538..958037eac0c9 100644
--- a/stoc/test/javavm/testcomponent/TestComponent.java
+++ b/stoc/test/javavm/testcomponent/TestComponent.java
@@ -62,18 +62,7 @@ public class TestComponent implements XServiceInfo, XTypeProvider
// XServiceName
public String getImplementationName( )
{
- String a= "the functions are for debugging";
- String prop= System.getProperty("ftp.proxyHost");
- prop= System.getProperty("ftp.proxyPort");
- prop= System.getProperty("http.proxyHost");
- prop= System.getProperty("http.proxyPort");
- prop= System.getProperty("ftp.nonProxyHosts");
- prop= System.getProperty("http.nonProxyHosts");
- prop= System.getProperty("socksProxyHost");
- prop= System.getProperty("socksProxyPort");
-
- prop= System.getProperty("stardiv.security.disableSecurity");
- prop= System.getProperty("appletviewer.security.mode");
+ // the functions are for debugging
// Test security settings
File f= new File("c:/temp/javasecurity.txt");
@@ -82,10 +71,10 @@ public class TestComponent implements XServiceInfo, XTypeProvider
// local connection
URL url= new URL("http://localhost:8080/index.html");
- InputStream is= url.openStream();
+ url.openStream();
// remote connection
url= new URL("http://www.w3.org/index.html");
- is= url.openStream();
+ url.openStream();
}catch( MalformedURLException mue) {
}catch( IOException e) {
String s= e.getMessage();