MCPcopy Create free account
hub / github.com/ReadyTalk/avian / refresh

Method refresh

classpath/java/io/RandomAccessFile.java:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 throws FileNotFoundException;
49
50 private void refresh() throws IOException {
51 if (file.length() != length) {
52 close();
53 open();
54 }
55 }
56
57 public long length() throws IOException {
58 refresh();

Callers 1

lengthMethod · 0.95

Calls 3

closeMethod · 0.95
openMethod · 0.95
lengthMethod · 0.65

Tested by

no test coverage detected