Implements AutoCloseable for types, replacing free() (#1048)

This commit is contained in:
Thad House
2018-05-22 23:33:17 -07:00
committed by Peter Johnson
parent a2ecb1027a
commit cbaff52850
58 changed files with 242 additions and 171 deletions

View File

@@ -7,9 +7,7 @@
package edu.wpi.first.wpilibj.sim;
import java.io.Closeable;
public class CallbackStore implements Closeable {
public class CallbackStore implements AutoCloseable {
interface CancelCallbackFunc {
void cancel(int index, int uid);
}