db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r602204 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java
Date Fri, 07 Dec 2007 20:15:09 GMT
Author: djd
Date: Fri Dec  7 12:15:09 2007
New Revision: 602204

URL: http://svn.apache.org/viewvc?rev=602204&view=rev
Log:
Remove some dead code in DerbyNetNewServer.java

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java?rev=602204&r1=602203&r2=602204&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/derbynet/DerbyNetNewServer.java
Fri Dec  7 12:15:09 2007
@@ -21,28 +21,18 @@
 
 package org.apache.derbyTesting.functionTests.tests.derbynet;
 
-import org.apache.derby.drda.NetworkServerControl;
-
-import org.apache.derbyTesting.functionTests.harness.jvm;
-import org.apache.derbyTesting.junit.TestConfiguration;
-
-import org.apache.derby.tools.ij;
-
-import java.util.Properties;
-
 import java.io.ByteArrayOutputStream;
-import java.io.OutputStream;
 import java.io.PrintWriter;
-
 import java.net.InetAddress;
-
-import java.sql.DriverManager;
 import java.sql.Connection;
-import java.sql.DatabaseMetaData;
-import java.sql.ResultSet;
+import java.sql.DriverManager;
 import java.sql.SQLException;
-import java.sql.Statement;
+import java.util.Properties;
+
+import org.apache.derby.drda.NetworkServerControl;
+import org.apache.derby.tools.ij;
 import org.apache.derbyTesting.functionTests.util.TestUtil;
+import org.apache.derbyTesting.junit.TestConfiguration;
 
 /**
  * Test NetworkServerControl.start(PrintWriter) writes to the print Writer
@@ -54,7 +44,7 @@
  *</ul>
  */
 
-public class DerbyNetNewServer extends Thread
+public class DerbyNetNewServer
 {
 
     private static final String DATABASE_NAME = "wombat";
@@ -66,8 +56,6 @@
         authenticationProperties.put ("user", "admin");
         authenticationProperties.put ("password", "admin");
     }
-
-    private NetworkServerControl server;
     
     public static void main( String[] args)
     {
@@ -183,10 +171,4 @@
             }
         }
     } // end of testServer
-
-    private DerbyNetNewServer( NetworkServerControl server)
-    {
-        this.server = server;
-    }
-
 }



Mime
View raw message