Skip to content

Commit bf441e4

Browse files
committed
first makan test work
1 parent e3f8877 commit bf441e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/net/sharksystem/aasp/AASPChunkCache.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ CharSequence getMessage(int position, boolean chronologically)
6464
*/
6565
void sync() throws IOException;
6666

67-
int size();
67+
int size() throws IOException;
6868

6969
}

src/net/sharksystem/aasp/AASPInMemoChunkCache.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ public CharSequence next() {
284284
}
285285
}
286286

287-
public int size() {
287+
public int size() throws IOException {
288+
this.initialize();
288289
return this.numberOfMessages;
289290
}
290291
}

0 commit comments

Comments
 (0)