geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r502460 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system: ProjectController.groovy commands/CommandSupport.groovy
Date Fri, 02 Feb 2007 03:06:15 GMT
Author: jdillon
Date: Thu Feb  1 19:06:14 2007
New Revision: 502460

URL: http://svn.apache.org/viewvc?view=rev&rev=502460
Log:
Protect some members for sanity

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/ProjectController.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/CommandSupport.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/ProjectController.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/ProjectController.groovy?view=diff&rev=502460&r1=502459&r2=502460
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/ProjectController.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/ProjectController.groovy
Thu Feb  1 19:06:14 2007
@@ -28,11 +28,11 @@
  */
 class ProjectController extends LogSupport
 {
-    BuildContext context
+    protected BuildContext context
     
-    Parameters params
+    protected Parameters params
     
-    AntBuilder ant
+    protected AntBuilder ant
     
     def init(BuildContext context) {
         assert context != null
@@ -54,11 +54,11 @@
         action()
     }
     
-    def fail(reason) {
+    protected def fail(reason) {
         throw new ActionFailure(reason)
     }
     
-    def separator() {
+    protected def separator() {
         println ''
         println '=' * 80
         println ''

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/CommandSupport.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/CommandSupport.groovy?view=diff&rev=502460&r1=502459&r2=502460
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/CommandSupport.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/CommandSupport.groovy
Thu Feb  1 19:06:14 2007
@@ -37,11 +37,11 @@
  */
 abstract class CommandSupport extends LogSupport
 {
-    BuildContext context
+    protected BuildContext context
     
-    Parameters params
+    protected Parameters params
     
-    AntBuilder ant
+    protected AntBuilder ant
     
     def CommandSupport(context) {
         assert context
@@ -53,13 +53,13 @@
         ant = context.ant
     }
     
-    def separator() {
+    protected def separator() {
         println ''
         println '=' * 80
         println ''
     }
     
-    def fail(reason) {
+    protected def fail(reason) {
         throw new ActionFailure(reason)
     }
 }



Mime
View raw message