Skip to content

Commit

Permalink
Commit changelist "try to fix missing method"
Browse files Browse the repository at this point in the history
  • Loading branch information
Willem Borgesius authored and Willem Borgesius committed Sep 17, 2020
1 parent 47ddc85 commit c74addd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ abstract class GenericPipelineDeclaration {
static <T> T createComponent(Class<T> componentType, @DelegatesTo(strategy = DELEGATE_FIRST) Closure<T> closure) {
// declare componentInstance as final to prevent any multithreaded issues, since it is used inside closure
final def componentInstance = componentType.newInstance()
def rehydrate = closure.rehydrate(componentInstance, owner ? owner : componentInstance, this)
def rehydrate = closure.rehydrate(componentInstance, closure, componentInstance)
if (binding && componentInstance.hasProperty('binding') && componentInstance.binding != binding) {
componentInstance.binding = binding
}
Expand Down

0 comments on commit c74addd

Please sign in to comment.