harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r381436 - /incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java
Date Mon, 27 Feb 2006 20:52:09 GMT
Author: tellison
Date: Mon Feb 27 12:52:07 2006
New Revision: 381436

URL: http://svn.apache.org/viewcvs?rev=381436&view=rev
Log:
Added impl for default unconnected socket creation.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java?rev=381436&r1=381435&r2=381436&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/javax/net/DefaultSocketFactory.java
Mon Feb 27 12:52:07 2006
@@ -32,6 +32,10 @@
  */
 class DefaultSocketFactory extends SocketFactory {
 
+	public Socket createSocket() throws IOException {
+		return new Socket();
+	}
+
     public Socket createSocket(String host, int port) throws IOException,
             UnknownHostException {
         return new Socket(host, port);



Mime
View raw message