tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1196825 - /tomcat/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java
Date Wed, 02 Nov 2011 22:03:52 GMT
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


Mime
View raw message