joerg       2003/10/27 13:28:39

  Modified:    src/java/org/apache/cocoon/transformation
                        SimpleFormTransformer.java
  Log:
  this was not a typo, only a strange naming - isn't there a beter one?
  
  Revision  Changes    Path
  1.8       +9 -9      
cocoon-2.1/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java
  
  Index: SimpleFormTransformer.java
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/transformation/SimpleFormTransformer.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SimpleFormTransformer.java        27 Oct 2003 21:18:32 -0000      1.7
  +++ SimpleFormTransformer.java        27 Oct 2003 21:28:39 -0000      1.8
  @@ -1101,7 +1101,7 @@
        */
       private Object[] getValues(String name) {
           Object[] values = null;
  -        ServiceSelector inputSelector = null;
  +        ServiceSelector iputSelector = null;
           InputModule iput = null;
           try {
               if (this.input != null) {
  @@ -1115,12 +1115,12 @@
               } else {
                   // input was not thread safe
                   // so acquire it again
  -                inputSelector = 
(ServiceSelector)this.manager.lookup(INPUT_MODULE_SELECTOR);
  +                iputSelector = 
(ServiceSelector)this.manager.lookup(INPUT_MODULE_SELECTOR);
                   if (this.inputName != null
  -                    && inputSelector != null
  -                    && inputSelector.isSelectable(this.inputName)) {
  +                    && iputSelector != null
  +                    && iputSelector.isSelectable(this.inputName)) {
   
  -                    iput = (InputModule) 
inputSelector.select(this.inputName);
  +                    iput = (InputModule) iputSelector.select(this.inputName);
                   }
                   if (iput != null) {
                       values = iput.getAttributeValues(name, this.inputConf, 
objectModel);
  @@ -1140,10 +1140,10 @@
                           + e.getMessage());
           } finally {
               // release components if necessary
  -            if (inputSelector != null) {
  +            if (iputSelector != null) {
                   if (iput != null)
  -                    inputSelector.release(iput);
  -                this.manager.release(inputSelector);
  +                    iputSelector.release(iput);
  +                this.manager.release(iputSelector);
               }
           }
   
  
  
  

Reply via email to