You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2012/05/16 20:50:31 UTC

[21/44] git commit: Reformat code

Reformat code


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/43223ad6
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/43223ad6
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/43223ad6

Branch: refs/heads/master
Commit: 43223ad659c3c237a2cd6830f43769518b9df9c9
Parents: 6329fbf
Author: Howard M. Lewis Ship <hl...@gmail.com>
Authored: Wed May 2 10:08:52 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed May 16 11:50:13 2012 -0700

----------------------------------------------------------------------
 .../ioc/AbstractRegistrySpecification.groovy       |   19 +++++++--------
 1 files changed, 9 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/43223ad6/tapestry-ioc/src/test/groovy/org/apache/tapestry5/ioc/AbstractRegistrySpecification.groovy
----------------------------------------------------------------------
diff --git a/tapestry-ioc/src/test/groovy/org/apache/tapestry5/ioc/AbstractRegistrySpecification.groovy b/tapestry-ioc/src/test/groovy/org/apache/tapestry5/ioc/AbstractRegistrySpecification.groovy
index cff3db7..10bbe0e 100644
--- a/tapestry-ioc/src/test/groovy/org/apache/tapestry5/ioc/AbstractRegistrySpecification.groovy
+++ b/tapestry-ioc/src/test/groovy/org/apache/tapestry5/ioc/AbstractRegistrySpecification.groovy
@@ -8,19 +8,18 @@ import spock.lang.Specification
  */
 abstract class AbstractRegistrySpecification extends Specification {
 
-    @AutoCleanup("shutdown")
-    protected Registry registry;
+  @AutoCleanup("shutdown")
+  protected Registry registry;
 
-    protected final void buildRegistry(Class... moduleClasses) {
+  protected final void buildRegistry(Class... moduleClasses) {
 
-        registry =
-            new RegistryBuilder().add(moduleClasses).build()
-    }
+    registry = new RegistryBuilder().add(moduleClasses).build()
+  }
 
-    /** Any unrecognized methods are evaluated against the registry. */
-    def methodMissing(String name, args) {
-        registry."$name"(* args)
-    }
+  /** Any unrecognized methods are evaluated against the registry. */
+  def methodMissing(String name, args) {
+    registry."$name"(* args)
+  }
 
 
 }