You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2008/07/17 13:52:14 UTC
svn commit: r677564 -
/mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java
Author: elecharny
Date: Thu Jul 17 04:52:14 2008
New Revision: 677564
URL: http://svn.apache.org/viewvc?rev=677564&view=rev
Log:
Small updates on Javadoc
Modified:
mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java
Modified: mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java?rev=677564&r1=677563&r2=677564&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java (original)
+++ mina/trunk/core/src/main/java/org/apache/mina/core/session/IoSession.java Thu Jul 17 04:52:14 2008
@@ -50,7 +50,6 @@
* <p/>
* <h3>Thread Safety</h3>
* <p/>
- * TODO : The following paragraph does not make any sense.
* {@link IoSession} is thread-safe. But please note that performing
* more than one {@link #write(Object)} calls at the same time will
* cause the {@link IoFilter#filterWrite(IoFilter.NextFilter,IoSession,WriteRequest)}
@@ -59,7 +58,7 @@
* </p>
* <p/>
* <h3>Equality of Sessions</h3>
- * TODO : this is BS. The getId() method is totally worng. We can't base
+ * TODO : The getId() method is totally wrong. We can't base
* a method which is designed to create a unique ID on the hashCode method.
* {@link #equals(Object)} and {@link #hashCode()} shall not be overriden
* to the default behavior that is defined in {@link Object}.
@@ -105,6 +104,7 @@
/**
* TODO This javadoc is wrong. The return tag should be short.
+ *
* @return a {@link ReadFuture} which is notified when a new message is
* received, the connection is closed or an exception is caught. This
* operation is especially useful when you implement a client application.