File tree Expand file tree Collapse file tree
exercises/practice/paasio/.meta/src/reference/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class Paasio implements Closeable {
1010 private final InputStream inputStream ;
1111 private final OutputStream outputStream ;
1212
13- public Paasio (InputStream inputStream , OutputStream outputStream ) throws FileNotFoundException {
13+ public Paasio (InputStream inputStream , OutputStream outputStream ) {
1414 this .inputStream = inputStream ;
1515 this .outputStream = outputStream ;
1616 }
@@ -61,7 +61,6 @@ public byte[] readAllBytes() throws IOException {
6161 }
6262
6363 public byte [] readNBytes (int len ) throws IOException {
64- // return new byte[0];
6564
6665 byte [] allData = this .inputStream .readNBytes (len );
6766 if (allData .length > 0 ) {
@@ -135,3 +134,7 @@ public void close() throws IOException {
135134 }
136135
137136}
137+
138+
139+
140+
You can’t perform that action at this time.
0 commit comments