MCPcopy Create free account
hub / github.com/ForOhForError/Yet-Another-Magic-Card-Recognizer / storeOO

Method storeOO

src/Benchmark.java:94–104  ·  view source on GitHub ↗
(int[] ints)

Source from the content-addressed store, hash-verified

92 // ========================================================================
93
94 private static void storeOO(int[] ints) {
95 ObjectOutputStream out = null;
96 try {
97 out = new ObjectOutputStream(new FileOutputStream("object.out"));
98 out.writeObject(ints);
99 } catch (IOException e) {
100 throw new RuntimeException(e);
101 } finally {
102 safeClose(out);
103 }
104 }
105
106 private static void storeBDO(int[] ints) {
107 DataOutputStream out = null;

Callers 1

writeMethod · 0.95

Calls 1

safeCloseMethod · 0.95

Tested by

no test coverage detected