Fixed compile warnings

This commit is contained in:
Endolf 2018-05-30 17:42:06 +01:00
parent 5ba05aff65
commit 4b8183ead9

View file

@ -360,6 +360,7 @@ final class LinuxEventDevice implements LinuxDevice {
throw new IOException("Device is closed");
}
@SuppressWarnings("deprecation")
protected void finalize() throws IOException {
close();
}