Fixing for JDK5.
This commit is contained in:
parent
61a0d48df4
commit
7c0f7cc8f4
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue