Not quite, in the case of "application/xml", we don't want to explicitly set a charset, by not explicitly setting it, we let the InputStreamReader detect it.  The code could be changed to instantiate a InputStreamReader, but it's more readable I think to use the setter.