cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding UnionJXPathBinding.java
Date Tue, 06 Jan 2004 13:43:49 GMT
joerg       2004/01/06 05:43:49

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/binding
                        UnionJXPathBinding.java
  Log:
  removed unread local variables (relative contexts)
  
  Revision  Changes    Path
  1.2       +1 -3      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/UnionJXPathBinding.java
  
  Index: UnionJXPathBinding.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/UnionJXPathBinding.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- UnionJXPathBinding.java	29 Dec 2003 06:14:48 -0000	1.1
  +++ UnionJXPathBinding.java	6 Jan 2004 13:43:49 -0000	1.2
  @@ -96,7 +96,6 @@
               throw new RuntimeException("Binding: Expected Union widget, but received class:
\"" +
                       widget.getClass().getName() + "\".");
           Union unionWidget = (Union)widget;
  -        JXPathContext subContext = jxpc.getRelativeContext(jxpc.getPointer(this.xpath));
           Binding[] subBindings = getChildBindings();
           if (subBindings != null) {
               int size = subBindings.length;
  @@ -116,7 +115,6 @@
        */
       public void doSave(Widget frmModel, JXPathContext jxpc) throws BindingException {
           Union unionWidget = (Union)frmModel.getWidget(this.widgetId);
  -        JXPathContext subContext = jxpc.getRelativeContext(jxpc.getPointer(this.xpath));
           Binding[] subBindings = getChildBindings();
           if (subBindings != null) {
               int size = subBindings.length;
  
  
  

Mime
View raw message