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 SimpleTypeBindAction.java
Date Sat, 21 Feb 2004 14:22:16 GMT
rdonkin     2004/02/21 06:22:15

  Modified:    betwixt/src/java/org/apache/commons/betwixt/io/read Tag:
                        REFACTORING-BRANCH_2004-01-13
                        SimpleTypeBindAction.java
  Log:
  Removed some redundent code.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +3 -21     jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java
  
  Index: SimpleTypeBindAction.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/betwixt/src/java/org/apache/commons/betwixt/io/read/Attic/SimpleTypeBindAction.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- SimpleTypeBindAction.java	21 Feb 2004 13:39:36 -0000	1.1.2.1
  +++ SimpleTypeBindAction.java	21 Feb 2004 14:22:15 -0000	1.1.2.2
  @@ -93,24 +93,6 @@
                   Updater updater = childDescriptor.getUpdater();
                   if (updater != null) {
                       updater.update(context, text);
  -                } else {
  -                    // this is a workaround to make the tests run
  -                    // it will be replaced when proper support for maps is added
  -                    List list =
  -                        IteratorUtils.toList(
  -                            context.getRelativeElementPathIterator());
  -                    if (list.size() > 0) {
  -                        list.remove(list.size() - 1);
  -                        childDescriptor =
  -                            lastMappedClazzInfo
  -                                .getElementDescriptor()
  -                                .getElementDescriptor(
  -                                list.iterator());
  -                        updater = childDescriptor.getUpdater();
  -                        if (updater != null) {
  -                            updater.update(context, text);
  -                        }
  -                    }
                   }
               }
           }
  
  
  

---------------------------------------------------------------------
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