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:35:23 UTC

[groovy] branch master 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 master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new beb614e  cleanup/remove @author tags as per Apache recommended practices for groovy-swing (typo)
beb614e is described below

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