[ntcore] Remove deprecated delete function (#6552)

This commit is contained in:
Isaac Turner
2024-04-28 21:15:19 +08:00
committed by GitHub
parent fd363fdf5a
commit 890185acee
4 changed files with 0 additions and 31 deletions

View File

@@ -580,16 +580,6 @@ public final class NetworkTableEntry implements Publisher, Subscriber {
NetworkTablesJNI.unpublish(m_handle);
}
/**
* Deletes the entry.
*
* @deprecated Use unpublish() instead.
*/
@Deprecated(since = "2022", forRemoval = true)
public void delete() {
unpublish();
}
@Override
public boolean equals(Object other) {
if (other == this) {

View File

@@ -981,16 +981,6 @@ public final class NetworkTableEntry implements Publisher, Subscriber {
NetworkTablesJNI.unpublish(m_handle);
}
/**
* Deletes the entry.
*
* @deprecated Use unpublish() instead.
*/
@Deprecated(since = "2022", forRemoval = true)
public void delete() {
unpublish();
}
@Override
public boolean equals(Object other) {
if (other == this) {

View File

@@ -500,13 +500,6 @@ class NetworkTableEntry final {
*/
void Unpublish();
/**
* Deletes the entry.
* @deprecated Use Unpublish() instead.
*/
[[deprecated("Use Unpublish() instead")]]
void Delete();
/**
* Gets the entry's topic.
*

View File

@@ -240,8 +240,4 @@ inline void NetworkTableEntry::Unpublish() {
return nt::Unpublish(m_handle);
}
inline void NetworkTableEntry::Delete() {
Unpublish();
}
} // namespace nt