This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch refine-groovydoc
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit da2aabb4a24afb65dfa4fca87ce1275389edfc69
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']

Reply via email to