sebb        2003/10/04 17:48:37

  Modified:    src/jorphan/org/apache/jorphan/util JOrphanUtils.java
               src/jorphan/org/apache/jorphan/gui/layout
                        VerticalLayout.java
               src/jorphan/org/apache/jorphan/reflect ClassFinder.java
               src/jorphan/org/apache/jorphan/collections Data.java
  Log:
  Removing unused items
  
  Revision  Changes    Path
  1.4       +1 -4      
jakarta-jmeter/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
  
  Index: JOrphanUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JOrphanUtils.java 18 Aug 2003 19:42:02 -0000      1.3
  +++ JOrphanUtils.java 5 Oct 2003 00:48:36 -0000       1.4
  @@ -54,7 +54,6 @@
    */
   package org.apache.jorphan.util;
   
  -import java.util.StringTokenizer;
   import java.util.Vector;
   
   /**
  @@ -90,8 +89,6 @@
           {
               return new String[0];
           }
  -        StringTokenizer tokens;
  -        String temp;
           int spot;
           while ((spot = splittee.indexOf(splitChar + splitChar)) != -1)
           {
  
  
  
  1.3       +2 -5      
jakarta-jmeter/src/jorphan/org/apache/jorphan/gui/layout/VerticalLayout.java
  
  Index: VerticalLayout.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/gui/layout/VerticalLayout.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- VerticalLayout.java       16 Aug 2003 22:06:21 -0000      1.2
  +++ VerticalLayout.java       5 Oct 2003 00:48:36 -0000       1.3
  @@ -60,7 +60,6 @@
   import java.awt.Insets;
   import java.awt.LayoutManager;
   import java.io.Serializable;
  -import java.util.Hashtable;
   
   /**
    * A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout
  @@ -124,8 +123,6 @@
        */
       private int anchor;
       
  -    private Hashtable comps;
  -
       //Constructors
       /**
        * Constructs an instance of VerticalLayout with a vertical vgap of 5
  @@ -188,7 +185,7 @@
       public void layoutContainer(Container parent)
       {
           Insets insets = parent.getInsets();
  -        Dimension dim = layoutSize(parent, false);
  +        //NOTUSED Dimension dim = layoutSize(parent, false);
           synchronized (parent.getTreeLock())
           {
               int n = parent.getComponentCount();
  
  
  
  1.6       +14 -14    
jakarta-jmeter/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java
  
  Index: ClassFinder.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/reflect/ClassFinder.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ClassFinder.java  18 Aug 2003 19:42:02 -0000      1.5
  +++ ClassFinder.java  5 Oct 2003 00:48:36 -0000       1.6
  @@ -60,14 +60,11 @@
   import java.lang.reflect.Modifier;
   import java.util.ArrayList;
   import java.util.Enumeration;
  -import java.util.HashMap;
   import java.util.HashSet;
   import java.util.Iterator;
   import java.util.List;
  -import java.util.Map;
   import java.util.Set;
   import java.util.StringTokenizer;
  -import java.util.zip.ZipEntry;
   import java.util.zip.ZipFile;
   
   import org.apache.jorphan.logging.LoggingManager;
  @@ -243,7 +240,8 @@
        *
        * @param  theClass     the class to get interfaces for
        * @param  hInterfaces  a Map to store the discovered interfaces in
  -     */
  +     *
  +     * NOTUSED
       private static void getAllInterfaces(Class theClass, Map hInterfaces)
       {
           Class[] interfaces = theClass.getInterfaces();
  @@ -253,6 +251,7 @@
               getAllInterfaces(interfaces[i], hInterfaces);
           }
       }
  +    */
       private static String[] fixDotDirs(String[] paths)
       {
           for (int i = 0; i < paths.length; i++)
  @@ -340,12 +339,13 @@
       }
       
       /**
  -     * Determine if the class implements the interface.
  +     *   NOTUSED
  +     *  * Determine if the class implements the interface.
        *
        * @param  theClass      the class to check
        * @param  theInterface  the interface to look for
        * @return               boolean true if it implements
  -     */
  +     *
       private static boolean classImplementsInterface(
           Class theClass,
           Class theInterface)
  @@ -365,6 +365,7 @@
           }
           return false;
       }
  +    */
       
       /**
        * Convenience method for <code>findAllSubclasses(List, List,
  @@ -374,13 +375,15 @@
        * @param  listSuperClasses  the base classes to find subclasses for
        * @param  listAllClasses    the collection of classes to search in
        * @return                   ArrayList of the subclasses
  -     */
  +     *
  +     * NOTUSED
       private static ArrayList findAllSubclasses(
           List listSuperClasses,
           List listAllClasses)
       {
           return findAllSubclasses(listSuperClasses, listAllClasses, false);
       }
  +    */
       
       /**
        * Finds all classes that extend the classes in the listSuperClasses
  @@ -441,7 +444,8 @@
        * @param  theClass        the parent class
        * @param  listAllClasses  the collection of classes to search in
        * @param  listSubClasses  the collection of discovered subclasses
  -     */
  +     *
  +     *   NOTUSED
       private static void findAllSubclassesOneClass(
           Class theClass,
           List listAllClasses,
  @@ -453,6 +457,7 @@
               listSubClasses,
               false);
       }
  +    */
       
       /**
        * Finds all classes that extend the class, searching in the listAllClasses
  @@ -472,11 +477,8 @@
       {
           Iterator iterClasses = null;
           String strClassName = null;
  -        String strSuperClassName = null;
           Class c = null;
  -        Class cParent = null;
           boolean bIsSubclass = false;
  -        strSuperClassName = theClass.getName();
           iterClasses = listAllClasses.iterator();
           while (iterClasses.hasNext())
           {
  @@ -540,9 +542,7 @@
           throws IOException
       {
           File file = null;
  -        String strPathName = null;
           ZipFile zipFile = null;
  -        ZipEntry zipEntry = null;
           Enumeration entries = null;
           String strEntry = null;
           file = new File(strPath);
  
  
  
  1.6       +1 -3      
jakarta-jmeter/src/jorphan/org/apache/jorphan/collections/Data.java
  
  Index: Data.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/collections/Data.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Data.java 18 Aug 2003 19:42:02 -0000      1.5
  +++ Data.java 5 Oct 2003 00:48:37 -0000       1.6
  @@ -261,7 +261,6 @@
           int x = start, y = end - 1;
           String basis =
               ((List) data.get(column)).get((int) ((x + y) / 2)).toString();
  -        Object temp;
           if (x == y)
           {
               return;
  @@ -722,7 +721,6 @@
        */
       public String[] getDataAsText()
       {
  -        List tempList;
           StringBuffer temp = new StringBuffer("");
           String[] line = new String[size + 1];
           String[] elements = getHeaders();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to