https://bz.apache.org/bugzilla/show_bug.cgi?id=58542

            Bug ID: 58542
           Summary: Improve McastService property management
           Product: Tomcat 8
           Version: trunk
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: anth...@whitford.com

Created attachment 33214
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33214&action=edit
Patch avoids new Number instances.

Noticed some opportunities to avoid instantiating unnecessary Number objects:

'Integer.parseInt(p)' is more efficient than 'new Integer(p).intValue()'
'Long.parseLong(p)' is more efficient than 'new Long(p).longValue()'

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

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

Reply via email to