decodeText implementation is reformatted
This commit is contained in:
parent
750aab063e
commit
da1ac659fb
|
@ -40,9 +40,6 @@ public class CharacterEncodingExamples {
|
||||||
charsetDecoder.onMalformedInput(codingErrorAction);
|
charsetDecoder.onMalformedInput(codingErrorAction);
|
||||||
return new BufferedReader(
|
return new BufferedReader(
|
||||||
new InputStreamReader(
|
new InputStreamReader(
|
||||||
new ByteArrayInputStream(input.getBytes()),
|
new ByteArrayInputStream(input.getBytes()), charsetDecoder)).readLine();
|
||||||
charsetDecoder))
|
|
||||||
.readLine();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue