cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding AggregateJXPathBinding.java ContextJXPathBinding.java JXPathBindingManager.java ValueJXPathBinding.java
Date Tue, 18 Nov 2003 21:39:18 GMT
vgritsenko    2003/11/18 13:39:17

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/binding
                        AggregateJXPathBinding.java
                        ContextJXPathBinding.java JXPathBindingManager.java
                        ValueJXPathBinding.java
  Log:
  Comment out one verbose debug statement; Braces.
  
  Revision  Changes    Path
  1.3       +4 -2      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/AggregateJXPathBinding.java
  
  Index: AggregateJXPathBinding.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/AggregateJXPathBinding.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AggregateJXPathBinding.java	24 Jul 2003 12:39:17 -0000	1.2
  +++ AggregateJXPathBinding.java	18 Nov 2003 21:39:17 -0000	1.3
  @@ -90,8 +90,9 @@
           AggregateField aggregate = (AggregateField) frmModel.getWidget(this.widgetId);
           JXPathContext subContext = jxpc.getRelativeContext(jxpc.getPointer(this.xpath));
           super.loadFormFromModel(aggregate, subContext);
  -        if (getLogger().isDebugEnabled())
  +        if (getLogger().isDebugEnabled()) {
               getLogger().debug("done loading " + toString());
  +        }
       }
   
       /**
  @@ -103,8 +104,9 @@
           AggregateField aggregate = (AggregateField) frmModel.getWidget(this.widgetId);
           JXPathContext subContext = jxpc.getRelativeContext(jxpc.getPointer(this.xpath));
           super.saveFormToModel(aggregate, subContext);
  -        if (getLogger().isDebugEnabled())
  +        if (getLogger().isDebugEnabled()) {
               getLogger().debug("done saving " + toString());
  +        }
       }
   
       public String toString() {
  
  
  
  1.4       +2 -1      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/ContextJXPathBinding.java
  
  Index: ContextJXPathBinding.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/ContextJXPathBinding.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ContextJXPathBinding.java	8 Sep 2003 15:33:27 -0000	1.3
  +++ ContextJXPathBinding.java	18 Nov 2003 21:39:17 -0000	1.4
  @@ -105,8 +105,9 @@
           }
           JXPathContext subContext = jxpc.getRelativeContext(ptr);
           super.saveFormToModel(frmModel, subContext);
  -        if (getLogger().isDebugEnabled())
  +        if (getLogger().isDebugEnabled()) {
               getLogger().debug("done saving " + toString());
  +        }
       }
   
       public String toString() {
  
  
  
  1.11      +2 -2      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingManager.java
  
  Index: JXPathBindingManager.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JXPathBindingManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- JXPathBindingManager.java	31 Oct 2003 11:21:26 -0000	1.10
  +++ JXPathBindingManager.java	18 Nov 2003 21:39:17 -0000	1.11
  @@ -166,8 +166,8 @@
            */
           public JXPathBindingBase getBindingForConfigurationElement(Element configElm) throws
BindingException {
               String bindingType = configElm.getLocalName();
  -            if (JXPathBindingManager.this.getTheLogger().isDebugEnabled())
  -                JXPathBindingManager.this.getTheLogger().debug("build binding for config
elm " + bindingType);
  +            //if (JXPathBindingManager.this.getTheLogger().isDebugEnabled())
  +            //    JXPathBindingManager.this.getTheLogger().debug("build binding for config
elm " + bindingType);
               JXpathBindingBuilderBase bindingBuilder = getBindingBuilder(bindingType);
               JXPathBindingBase childBinding = bindingBuilder.buildBinding(configElm, this);
               return childBinding;
  
  
  
  1.6       +1 -2      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/ValueJXPathBinding.java
  
  Index: ValueJXPathBinding.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/ValueJXPathBinding.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ValueJXPathBinding.java	30 Oct 2003 02:31:13 -0000	1.5
  +++ ValueJXPathBinding.java	18 Nov 2003 21:39:17 -0000	1.6
  @@ -194,12 +194,11 @@
       }
   
       public String toString() {
  -        return "FieldJXPathBinding [widget=" + this.fieldId + ", xpath=" + this.xpath +
"]";
  +        return "ValueJXPathBinding [widget=" + this.fieldId + ", xpath=" + this.xpath +
"]";
       }
   
       public void enableLogging(Logger logger) {
           super.enableLogging(logger);
           this.updateBinding.enableLogging(logger);
       }
  -
   }
  
  
  

Mime
View raw message