Created attachment 33213 [details] Code improvements to two Servlet classes Noticed some opportunities: 'String.indexOf(char)' is faster than 'String.indexOf(string)' 'Integer.parseInt(s)' is more efficient than 'new Integer(s).intValue()' 'Integer.valueOf(i)' may be more efficient than 'new Integer(i)' 'Integer.toString(i)' is more efficient than 'Integer.valueOf(i).toString()'
Issues fixed across the code base rather than just these 2 classes. Fixed in trunk, 8.0.x (for 8.0.29 onwards) and 7.0.x (for 7.0.66 onwards).