extensions.st
changeset 2816 4a028451bb6a
parent 2678 c865275e48a7
child 3028 3bc512cb6649
--- a/extensions.st	Fri Oct 11 19:27:45 2013 +0200
+++ b/extensions.st	Fri Oct 11 19:27:45 2013 +0200
@@ -1086,17 +1086,6 @@
     "Created: / 01-01-2012 / 17:25:52 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
-!Object methodsFor:'testing'!
-
-isSocket
-    "return true, if the receiver is some kind of socket;
-     false returned here - the method is only redefined in Socket."
-
-    ^ false
-
-    "Created: / 17-08-2012 / 15:32:06 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
 !Object methodsFor:'autoboxing support'!
 
 javaBox: anObject
@@ -1644,24 +1633,16 @@
     "Created: / 30-12-2011 / 15:22:52 / kursjan <kursjan@fit.cvut.cz>"
 ! !
 
-!Socket methodsFor:'testing'!
-
-isSocket
-    ^true
-
-    "Created: / 17-08-2012 / 15:32:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
-
-!Socket methodsFor:'special'!
+!Socket methodsFor:'specials'!
 
 reOpenIfPossible
     "If the socket was listening (server-sockets), try to reopen it"
 
     listening ifFalse:[ ^ self ].
     [
-        self domain:domain type:socketType protocol:protocol reuseAddress:true.
-        self bindTo:port address:nil.
-        self listenFor: 5
+        self domain:domain type:socketType protocol:protocol.
+        self bindTo:port address:nil reuseAddress:true.
+        self listenFor:5
     ] on: OpenError do:[
         "Nothing, socket could not be reopened"
     ].
@@ -1884,3 +1865,9 @@
 
     ^ '$Changeset: <not expanded> $'
 ! !
+
+!stx_libjava class methodsFor:'documentation'!
+
+extensionsVersion_CVS
+    ^ '$Header: /cvs/stx/stx/libjava/extensions.st,v 1.10 2013-10-11 17:27:45 stefan Exp $'
+! !