You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/12/28 04:29:09 UTC
[groovy] branch GROOVY_2_5_X updated: cleanup/remove @author tags
as per Apache recommended practices for groovy-swing (typo)
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
new 3e9f0fb cleanup/remove @author tags as per Apache recommended practices for groovy-swing (typo)
3e9f0fb is described below
commit 3e9f0fba533a4e5a8703e17ad3155f93408f2d90
Author: Paul King <pa...@asert.com.au>
AuthorDate: Fri Dec 28 14:29:02 2018 +1000
cleanup/remove @author tags as per Apache recommended practices for groovy-swing (typo)
---
.../src/main/groovy/groovy/swing/factory/BindFactory.groovy | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/subprojects/groovy-swing/src/main/groovy/groovy/swing/factory/BindFactory.groovy b/subprojects/groovy-swing/src/main/groovy/groovy/swing/factory/BindFactory.groovy
index 96137ef..55afe7f 100644
--- a/subprojects/groovy-swing/src/main/groovy/groovy/swing/factory/BindFactory.groovy
+++ b/subprojects/groovy-swing/src/main/groovy/groovy/swing/factory/BindFactory.groovy
@@ -111,7 +111,6 @@ class BindFactory extends AbstractFactory {
* source ((sourceProperty) | (sourceEvent sourceValue))
* (target targetProperty)? (? use default javabeans property if targetProperty is not present?)
*
- *
* @param builder
* @param name
* @param value
@@ -192,7 +191,7 @@ class BindFactory extends AbstractFactory {
trigger = getTriggerBinding(pb)
}
- SourceBinding sb;
+ SourceBinding sb
if (sva) {
// source value comes from a value closure
Closure queryValue = (Closure) attributes.remove("sourceValue")
@@ -303,7 +302,7 @@ class BindFactory extends AbstractFactory {
return psb
}
- bindingAttributeDelegate(FactoryBuilderSupport builder, def node, def attributes) {
+ def bindingAttributeDelegate(FactoryBuilderSupport builder, def node, def attributes) {
Iterator iter = attributes.entrySet().iterator()
Map bindContext = builder.context.get(CONTEXT_DATA_KEY) ?: [:]
@@ -339,7 +338,7 @@ class BindFactory extends AbstractFactory {
finishContextualBinding(fb, builder, bindAttrs, id)
} else if (value instanceof ClosureTriggerBinding) {
PropertyBinding psb = new PropertyBinding(node, property, update)
- fb = value.createBinding(value, psb);
+ fb = value.createBinding(value, psb)
finishContextualBinding(fb, builder, bindAttrs, id)
} else {
continue
@@ -359,7 +358,7 @@ class BindFactory extends AbstractFactory {
}
}
- private def finishContextualBinding(FullBinding fb, FactoryBuilderSupport builder, bindAttrs, id) {
+ private finishContextualBinding(FullBinding fb, FactoryBuilderSupport builder, bindAttrs, id) {
bindAttrs.remove('update')
Object bindValue = bindAttrs.remove("bind")
List propertiesToBeSkipped = ['group']