db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r165585 [37/42] - in /incubator/derby/code/trunk/java/client/org/apache/derby: client/ client/am/ client/net/ client/resources/ jdbc/
Date Mon, 02 May 2005 06:26:03 GMT
Modified: incubator/derby/code/trunk/java/client/org/apache/derby/client/net/OpenSocketAction.java
URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/client/org/apache/derby/client/net/OpenSocketAction.java?rev=165585&r1=165584&r2=165585&view=diff
==============================================================================
--- incubator/derby/code/trunk/java/client/org/apache/derby/client/net/OpenSocketAction.java
(original)
+++ incubator/derby/code/trunk/java/client/org/apache/derby/client/net/OpenSocketAction.java
Sun May  1 23:25:59 2005
@@ -20,19 +20,16 @@
 
 package org.apache.derby.client.net;
 
-public class OpenSocketAction implements java.security.PrivilegedExceptionAction
-{
-  private String server_;
-  private int port_;
-  
-  public OpenSocketAction (String server, int port)
-  {
-    server_ = server;
-    port_ = port;
-  }
+public class OpenSocketAction implements java.security.PrivilegedExceptionAction {
+    private String server_;
+    private int port_;
 
-  public Object run () throws java.net.UnknownHostException, java.io.IOException
-  {
-    return new java.net.Socket (server_, port_);
-  }
+    public OpenSocketAction(String server, int port) {
+        server_ = server;
+        port_ = port;
+    }
+
+    public Object run() throws java.net.UnknownHostException, java.io.IOException {
+        return new java.net.Socket(server_, port_);
+    }
 }



Mime
View raw message