commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r501913 - in /jakarta/commons/proper/jxpath/trunk/src: java/org/apache/commons/jxpath/ java/org/apache/commons/jxpath/ri/ java/org/apache/commons/jxpath/ri/axes/ java/org/apache/commons/jxpath/ri/compiler/ java/org/apache/commons/jxpath/ri/...
Date Wed, 31 Jan 2007 17:24:45 GMT
Author: mbenson
Date: Wed Jan 31 09:24:42 2007
New Revision: 501913

URL: http://svn.apache.org/viewvc?view=rev&rev=501913
Log:
unused fields and imports

Modified:
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/EvalContext.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/InitialContext.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
    jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java
    jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/JXPathTestSuite.java
    jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java
    jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/MapDynamicPropertyHandler.java
Wed Jan 31 09:24:42 2007
@@ -28,8 +28,6 @@
  */
 public class MapDynamicPropertyHandler implements DynamicPropertyHandler {
 
-    private static final String[] STRING_ARRAY = new String[0];
-
     /**
      * Returns string representations of all keys in the map.
      */

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/XMLDocumentContainer.java
Wed Jan 31 09:24:42 2007
@@ -47,7 +47,6 @@
     private Object document;
     private URL xmlURL;
     private Source source;
-    private String parser;
 
     /**
      * @param  URL is a URL for an XML file. Use getClass().getResource

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/EvalContext.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/EvalContext.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/EvalContext.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/EvalContext.java
Wed Jan 31 09:24:42 2007
@@ -18,7 +18,6 @@
 
 import java.util.ArrayList;
 import java.util.Collections;
-import java.util.Comparator;
 import java.util.HashSet;
 import java.util.Iterator;
 import java.util.List;

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/InitialContext.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/InitialContext.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/InitialContext.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/InitialContext.java
Wed Jan 31 09:24:42 2007
@@ -29,7 +29,6 @@
  * @version $Revision$ $Date$
  */
 public class InitialContext extends EvalContext {
-    private boolean startedSet = false;
     private boolean started = false;
     private boolean collection;
     private NodePointer nodePointer;

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/axes/PrecedingOrFollowingContext.java
Wed Jan 31 09:24:42 2007
@@ -33,9 +33,7 @@
 public class PrecedingOrFollowingContext extends EvalContext {
     private NodeTest nodeTest;
     private boolean setStarted = false;
-    private boolean started = false;
     private Stack stack;
-    private Stack nameStack;
     private NodePointer currentNodePointer;
     private NodePointer currentRootLocation;
     private boolean reverse;

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/compiler/ExpressionPath.java
Wed Jan 31 09:24:42 2007
@@ -16,7 +16,6 @@
  */
 package org.apache.commons.jxpath.ri.compiler;
 
-import org.apache.commons.jxpath.BasicNodeSet;
 import org.apache.commons.jxpath.ri.EvalContext;
 import org.apache.commons.jxpath.ri.axes.InitialContext;
 import org.apache.commons.jxpath.ri.axes.NodeSetContext;

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/PropertyIterator.java
Wed Jan 31 09:24:42 2007
@@ -37,7 +37,6 @@
     private PropertyPointer propertyNodePointer;
     private int startPropertyIndex;
 
-    private boolean ready = false;
     private boolean includeStart = false;
 
     public PropertyIterator(

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
Wed Jan 31 09:24:42 2007
@@ -39,7 +39,6 @@
     private QName name;
     private Object bean;
     private DynamicPropertyHandler handler;
-    private String[] names;
 
     public DynamicPointer(QName name, Object bean,
             DynamicPropertyHandler handler, Locale locale)

Modified: jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributeIterator.java
Wed Jan 31 09:24:42 2007
@@ -35,13 +35,13 @@
  */
 public class JDOMAttributeIterator implements NodeIterator {
     private NodePointer parent;
-    private QName name;
+//    private QName name;
     private List attributes;
     private int position = 0;
 
     public JDOMAttributeIterator(NodePointer parent, QName name) {
         this.parent = parent;
-        this.name = name;
+//        this.name = name;
         if (parent.getNode() instanceof Element) {
             Element element = (Element) parent.getNode();
             String prefix = name.getPrefix();

Modified: jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/JXPathTestSuite.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/JXPathTestSuite.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/JXPathTestSuite.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/JXPathTestSuite.java
Wed Jan 31 09:24:42 2007
@@ -56,7 +56,6 @@
  */
 
 public class JXPathTestSuite extends TestCase {
-    private static boolean enabled = true;
 
     /**
      * Exercise the whole suite

Modified: jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/container/ContainerModelTest.java
Wed Jan 31 09:24:42 2007
@@ -37,7 +37,6 @@
  */
 
 public class ContainerModelTest extends JXPathTestCase {
-    private JXPathContext context;
 
     /**
      * Construct a new instance of this test case.

Modified: jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java
URL: http://svn.apache.org/viewvc/jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java?view=diff&rev=501913&r1=501912&r2=501913
==============================================================================
--- jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java
(original)
+++ jakarta/commons/proper/jxpath/trunk/src/test/org/apache/commons/jxpath/ri/model/dynamic/DynamicPropertiesModelTest.java
Wed Jan 31 09:24:42 2007
@@ -33,7 +33,6 @@
  */
 
 public class DynamicPropertiesModelTest extends JXPathTestCase {
-    private static boolean enabled = true;
     private JXPathContext context;
 
     /**



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