mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
[ntcore] Remove deprecated delete function (#6552)
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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.
|
||||
*
|
||||
|
||||
@@ -240,8 +240,4 @@ inline void NetworkTableEntry::Unpublish() {
|
||||
return nt::Unpublish(m_handle);
|
||||
}
|
||||
|
||||
inline void NetworkTableEntry::Delete() {
|
||||
Unpublish();
|
||||
}
|
||||
|
||||
} // namespace nt
|
||||
|
||||
Reference in New Issue
Block a user