package aQute.lib.io;

import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;

public class NonClosingInputStream extends FilterInputStream {
	public NonClosingInputStream(InputStream in) {
		super(in);
	}

	@Override
	public void close() throws IOException {
		// leave the underlying InputStream open
	}
}

@@ -105,16 +105,42 @@
 tStream;
+%0Aimport java.util.Objects;
 %0A%0Apublic
@@ -252,19 +252,43 @@
 %09%09super(
+Objects.requireNonNull(
 in)
+)
 ;%0A%09%7D%0A%0A%09@

Check for non-null input