You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2011/11/02 23:03:52 UTC

svn commit: r1196825 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Author: kkolinko
Date: Wed Nov  2 22:03:51 2011
New Revision: 1196825

URL: http://svn.apache.org/viewvc?rev=1196825&view=rev
Log:
Wrap and format a long line. No functional change.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1196825&r1=1196824&r2=1196825&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Wed Nov  2 22:03:51 2011
@@ -1055,7 +1055,14 @@ public class NioEndpoint extends Abstrac
                                 "endpoint.debug.socketCloseFail"), e);
                     }
                 }
-                try {if (ka!=null && ka.getSendfileData()!=null && ka.getSendfileData().fchannel!=null && ka.getSendfileData().fchannel.isOpen()) ka.getSendfileData().fchannel.close();}catch (Exception ignore){}
+                try {
+                    if (ka != null && ka.getSendfileData() != null
+                            && ka.getSendfileData().fchannel != null
+                            && ka.getSendfileData().fchannel.isOpen()) {
+                        ka.getSendfileData().fchannel.close();
+                    }
+                } catch (Exception ignore) {
+                }
                 if (ka!=null) {
                     ka.reset();
                     countDownConnection();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org