tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 58546] New: SecureNio2Channel inner class GatherState should be static
Date Sun, 25 Oct 2015 22:52:35 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=58546

            Bug ID: 58546
           Summary: SecureNio2Channel inner class GatherState should be
                    static
           Product: Tomcat 8
           Version: trunk
          Hardware: Macintosh
                OS: Mac OS X 10.1
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: anthony@whitford.com

Created attachment 33218
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33218&action=edit
Makes GatherState a static inner class

Since GatherState does not need its parent SecureNio2Channel, the class can be
made static to be leaner.

See
http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message