From 1ebb83e0f2414de7f264e217931facd0415998db Mon Sep 17 00:00:00 2001 From: Thad House Date: Mon, 11 Jun 2018 15:02:50 -0700 Subject: [PATCH] Remove explicit close() from Gyro interface (#1152) It's not needed, as extending AutoClosable is enough. --- .../main/java/edu/wpi/first/wpilibj/interfaces/Gyro.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/interfaces/Gyro.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/interfaces/Gyro.java index a8b2ab63d8..4a5b2de47d 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/interfaces/Gyro.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/interfaces/Gyro.java @@ -62,10 +62,4 @@ public interface Gyro extends AutoCloseable { */ @Deprecated void free(); - - /** - * Free the resources used by the gyro. - */ - @Override - void close(); }