Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
java.ItemListener doesn't require a parameter class to be provided
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Apr 19, 2013
1 parent 6c1476d commit 1bde2a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ruby-runtime/lib/jenkins/listeners.rb
@@ -1,4 +1,6 @@
module Jenkins::Listeners
require 'jenkins/listeners/item_listener'
require 'jenkins/listeners/item_listener_proxy'
require 'jenkins/listeners/run_listener'
require 'jenkins/listeners/run_listener_proxy'
end
2 changes: 1 addition & 1 deletion ruby-runtime/lib/jenkins/listeners/item_listener_proxy.rb
Expand Up @@ -3,7 +3,7 @@ class ItemListenerProxy < Java.hudson.model.listeners.ItemListener
include Jenkins::Plugin::Proxy

def initialize(plugin, object)
super(plugin, object, Java.hudson.model.AbstractBuild.java_class)
super(plugin, object)
end

# Called after a new job is created and added to@link jenkins.model.Jenkinsend,
Expand Down

0 comments on commit 1bde2a3

Please sign in to comment.