Trivial code clean up
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@960698
13f79535-47bb-0310-9956-
ffa450edef68
*
* @param type The new content type
*/
+ @SuppressWarnings("deprecation") // isSpace (deprecated) cannot be replaced by isWhiteSpace
public void setContentType(String type) {
if (isCommitted())
if (index != -1) {
int len = type.length();
index++;
+ // N.B. isSpace (deprecated) cannot be replaced by isWhiteSpace
while (index < len && Character.isSpace(type.charAt(index))) {
index++;
}
Additional debug logging in StandardContext to provide information on
Manager selection. (markt)
</add>
+ <fix>
+ <bug>49550</bug>: Supress deprecation warning where deprecated code is
+ required to be used. No functional change. Patch provided by Sebb.
+ (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Jasper">