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
*/
protected String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in,
String enc) throws IOException {
protected static String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in,
String enc) throws IOException {
// Grab better encoding from stream
byte[] arr = new byte[K2];