commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ClassUtils.java
Date Thu, 19 Feb 2004 01:34:38 GMT
scolebourne    2004/02/18 17:34:38

  Modified:    lang/src/java/org/apache/commons/lang ClassUtils.java
  Log:
  Fix spelling and scope
  
  Revision  Changes    Path
  1.27      +7 -5      jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java
  
  Index: ClassUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ClassUtils.java	19 Feb 2004 01:24:50 -0000	1.26
  +++ ClassUtils.java	19 Feb 2004 01:34:38 -0000	1.27
  @@ -21,6 +21,7 @@
   import java.util.Iterator;
   import java.util.List;
   import java.util.Map;
  +
   /**
    * <p>Operates on classes without using reflection.</p>
    *
  @@ -527,10 +528,11 @@
           return (cls.getName().indexOf(INNER_CLASS_SEPARATOR_CHAR) >= 0);
       }
       
  +    //-----------------------------------------------------------------------
       /**
        * Compares two <code>Class</code>s by name.
        */
  -    public static class ClassNameCompartor implements Comparator {
  +    private static class ClassNameComparator implements Comparator {
           /**
            * Compares two <code>Class</code>s by name.
            * 
  @@ -554,12 +556,12 @@
       /**
        * Compares two <code>Class</code>s by name.
        */
  -    public static final Comparator CLASS_NAME_COMPARATOR = new ClassNameCompartor();
  +    public static final Comparator CLASS_NAME_COMPARATOR = new ClassNameComparator();
   
       /**
        * Compares two <code>Package</code>s by name.
        */
  -    public static class PackageNameCompartor implements Comparator {
  +    private static class PackageNameComparator implements Comparator {
   
           /**
            * Compares two <code>Package</code>s by name.
  @@ -584,6 +586,6 @@
       /**
        * Compares two <code>Package</code>s by name.
        */
  -    public static final Comparator PACKAGE_NAME_COMPARATOR = new PackageNameCompartor();
  +    public static final Comparator PACKAGE_NAME_COMPARATOR = new PackageNameComparator();
       
   }
  
  
  

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