[io] use non-short-circuit operator
This should have identical semantics but is less confusing to read.
@@ -510,7 +510,7 @@ String calculateHttpEncoding(final String cTMime, final String cTEnc,
final String bomEnc, final String xmlGuessEnc, final String xmlEnc, final InputStream is,
final boolean lenient) throws IOException {
String encoding;
- if (lenient & xmlEnc != null) {
+ if (lenient && (xmlEnc != null)) {
encoding = xmlEnc;
} else {
final boolean appXml = isAppXml(cTMime);
