method could be static

This commit is contained in:
Anthony Restaino 2015-08-25 21:02:37 -04:00
parent 367c62bd39
commit 98f0daceaa

View File

@ -181,8 +181,8 @@ public class Converter {
* *
* @throws IOException * @throws IOException
*/ */
protected String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in, protected static String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in,
String enc) throws IOException { String enc) throws IOException {
// Grab better encoding from stream // Grab better encoding from stream
byte[] arr = new byte[K2]; byte[] arr = new byte[K2];