harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r824311 - /harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java
Date Mon, 12 Oct 2009 12:01:53 GMT
Author: odeakin
Date: Mon Oct 12 12:01:52 2009
New Revision: 824311

URL: http://svn.apache.org/viewvc?rev=824311&view=rev
Log:
Fix typo causing us to shutdown activeReadState twice. Fix some spelling mistakes in the method
comment.

Modified:
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java?rev=824311&r1=824310&r2=824311&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java
Mon Oct 12 12:01:52 2009
@@ -456,8 +456,8 @@
     }
 
     /**
-     * Shutdownes the protocol. It will be impossiblke to use the instance
-     * after the calling of this method.
+     * Shutdown the protocol. It will be impossible to use the 
+     * instance after the calling of this method. 
      */
     protected void shutdown() {
         session = null;
@@ -474,8 +474,8 @@
             activeReadState.shutdown();
         }
         activeReadState = null;
-        if (activeReadState != null) {
-            activeReadState.shutdown();
+        if (activeWriteState != null) {
+            activeWriteState.shutdown();
         }
         activeWriteState = null;
     }



Mime
View raw message