[wpilib] Remove deprecated SetHandler function (#6556)

This commit is contained in:
Isaac Turner
2024-04-30 12:03:45 +08:00
committed by GitHub
parent 0f8aa8aedf
commit 9cae707065
3 changed files with 0 additions and 30 deletions

View File

@@ -155,22 +155,6 @@ public class Notifier implements AutoCloseable {
NotifierJNI.setNotifierName(m_notifier.get(), name);
}
/**
* Change the callback function.
*
* @param callback The callback function.
* @deprecated Use setCallback() instead.
*/
@Deprecated(forRemoval = true, since = "2024")
public void setHandler(Runnable callback) {
m_processLock.lock();
try {
m_callback = callback;
} finally {
m_processLock.unlock();
}
}
/**
* Change the callback function.
*