Skip to content

Commit

Permalink
[ntcore] remove deprecated delete function
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Apr 28, 2024
1 parent fd363fd commit ec3f303
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 31 deletions.
10 changes: 0 additions & 10 deletions ntcore/src/generate/main/java/NetworkTableEntry.java.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,4 @@ inline void NetworkTableEntry::Unpublish() {
return nt::Unpublish(m_handle);
}

inline void NetworkTableEntry::Delete() {
Unpublish();
}

} // namespace nt

0 comments on commit ec3f303

Please sign in to comment.