commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read BeanBindAction.java
Date Sun, 18 Apr 2004 19:31:39 GMT
rdonkin     2004/04/18 12:31:39

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
                        REFACTORING-BRANCH_2004-01-13 BeanBindAction.java
  Log:
  Removed redundent code
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.10  +7 -11     jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java
  
  Index: BeanBindAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/BeanBindAction.java,v
  retrieving revision 1.1.2.9
  retrieving revision 1.1.2.10
  diff -u -r1.1.2.9 -r1.1.2.10
  --- BeanBindAction.java	18 Apr 2004 16:43:10 -0000	1.1.2.9
  +++ BeanBindAction.java	18 Apr 2004 19:31:39 -0000	1.1.2.10
  @@ -201,7 +201,7 @@
   
       private void update(ReadContext context, Object value) throws Exception {
           Log log = context.getLog();
  -        boolean popped = false;
  +
           //TODO: add dyna-bean support!
           // probably refactoring needed
           
  @@ -212,8 +212,6 @@
               if (parentDescriptor != null) {
                   updater = parentDescriptor.getUpdater();         
               }
  -            String poppedElement = context.popElement();
  -            popped = true;
           }
           
           if ( updater == null ) {
  @@ -224,9 +222,7 @@
               updater.update(context, value);
           }
   
  -        if (!popped) {
  -            String poppedElement = context.popElement();
  -        }
  +        String poppedElement = context.popElement();
       }
   
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message