new NextableInputStreamStep('\n'));
try {
- if (in == null || stream.eof()) {
- if (in == null) {
- throw new NullPointerException("InputStream is null");
- }
+ if (in == null) {
+ throw new NullPointerException("InputStream is null");
+ }
+ if (stream.eof()) {
throw new NullPointerException("InputStream is empty");
}
boolean b64 = stream.startsWiths("B64:");
if (zip || b64) {
+ stream.skip("XXX:".length());
InputStream decoded = StringUtils.unbase64(stream.open(),
zip);
try {