Fixing for JDK5.

This commit is contained in:
Joakim Erdfelt 2012-12-03 12:55:37 -07:00
parent 61a0d48df4
commit 7c0f7cc8f4
1 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public class ReadLineInputStream extends BufferedInputStream
_skipLF=true; _skipLF=true;
int m=markpos; int m=markpos;
markpos=-1; markpos=-1;
return new String(buf,m,p-m-1,StringUtil.__UTF8_CHARSET); return new String(buf,m,p-m-1,StringUtil.__UTF8);
} }
if (b=='\n') if (b=='\n')
@ -83,7 +83,7 @@ public class ReadLineInputStream extends BufferedInputStream
} }
int m=markpos; int m=markpos;
markpos=-1; markpos=-1;
return new String(buf,m,pos-m-1,StringUtil.__UTF8_CHARSET); return new String(buf,m,pos-m-1,StringUtil.__UTF8);
} }
} }
} }