Correct several typos
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 1 Mar 2011 23:24:33 +0000 (23:24 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 1 Mar 2011 23:24:33 +0000 (23:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1076047 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/tomcat/util/net/SecureNioChannel.java
res/findbugs/filter-false-positives.xml
webapps/docs/changelog.xml

index eea9640..4a68854 100644 (file)
@@ -222,8 +222,8 @@ public class SecureNioChannel extends NioChannel  {
         //validate the network buffers are empty
         if (netInBuffer.position() > 0 && netInBuffer.position()<netInBuffer.limit()) throw new IOException("Network input buffer still contains data. Handshake will fail.");
         if (netOutBuffer.position() > 0 && netOutBuffer.position()<netOutBuffer.limit()) throw new IOException("Network output buffer still contains data. Handshake will fail.");
-        if (getBufHandler().getReadBuffer().position()>0 && getBufHandler().getReadBuffer().position()<getBufHandler().getReadBuffer().limit()) throw new IOException("Aplication input buffer still contains data. Data would have been lost.");
-        if (getBufHandler().getWriteBuffer().position()>0 && getBufHandler().getWriteBuffer().position()<getBufHandler().getWriteBuffer().limit()) throw new IOException("Aplication output buffer still contains data. Data would have been lost.");
+        if (getBufHandler().getReadBuffer().position()>0 && getBufHandler().getReadBuffer().position()<getBufHandler().getReadBuffer().limit()) throw new IOException("Application input buffer still contains data. Data would have been lost.");
+        if (getBufHandler().getWriteBuffer().position()>0 && getBufHandler().getWriteBuffer().position()<getBufHandler().getWriteBuffer().limit()) throw new IOException("Application output buffer still contains data. Data would have been lost.");
         reset();
         boolean isReadable = true;
         boolean isWriteable = true;
index 92b4e41..0ccee63 100644 (file)
@@ -17,7 +17,7 @@
 <FindBugsFilter>
   <!--  Considered to be false positives -->
   <Match>
-    <!--  Can do anything about this. API is fixed by the specification. -->
+    <!--  Cannot do anything about this. API is fixed by the specification. -->
     <Class name="javax.servlet.jsp.tagext.TagData"/>
     <Bug code="CN" />
   </Match>
index 4cb3d0e..f94287e 100644 (file)
         attributes as well. (timw)
       </fix>
       <fix>
-        Correctly handle the setting of primitve bean values via expression
+        Correctly handle the setting of primitive bean values via expression
         language. (markt)
       </fix>
       <fix>