Remove deprecated free() calls (#1925)

Replaced with the standard close()
This commit is contained in:
Thad House
2019-10-08 21:30:33 -07:00
committed by Peter Johnson
parent 7f839b87ce
commit 0e3b0f3da7
9 changed files with 4 additions and 49 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -60,11 +60,6 @@ public final class NetworkTableInstance implements AutoCloseable {
m_handle = handle;
}
@Deprecated
public void free() {
close();
}
/**
* Destroys the instance (if created by {@link #create()}).
*/

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
@@ -22,11 +22,6 @@ public final class RpcCall implements AutoCloseable {
m_call = call;
}
@Deprecated
public void free() {
close();
}
/**
* Cancels the result if no other action taken.
*/