mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
reimplemented
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15695 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
954fce956c
commit
c1afe8eb6a
1 file changed
+2
-2
@@ -96,14 +96,14 @@ public abstract class RunListener<R extends Run> implements ExtensionPoint {
|
||||
* Put {@link Extension} on your class to get it auto-registered.
|
||||
*/
|
||||
public void register() {
|
||||
LISTENERS.add(this);
|
||||
all().add(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse operation of {@link #register()}.
|
||||
*/
|
||||
public void unregister() {
|
||||
LISTENERS.remove(this);
|
||||
all().remove(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user