You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by od...@apache.org on 2009/10/12 14:01:53 UTC
svn commit: r824311 -
/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/SSLRecordProtocol.java
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;
}