You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/06/22 02:39:00 UTC

cvs commit: avalon-sandbox/merlin/meta-spi/src/java/org/apache/avalon/meta/info InfoDescriptor.java

mcconnell    2003/06/21 17:39:00

  Modified:    merlin/meta-spi/src/java/org/apache/avalon/meta/info
                        InfoDescriptor.java
  Log:
  Make default type name lowercase.
  
  Revision  Changes    Path
  1.5       +3 -3      avalon-sandbox/merlin/meta-spi/src/java/org/apache/avalon/meta/info/InfoDescriptor.java
  
  Index: InfoDescriptor.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/meta-spi/src/java/org/apache/avalon/meta/info/InfoDescriptor.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InfoDescriptor.java	21 Jun 2003 17:10:02 -0000	1.4
  +++ InfoDescriptor.java	22 Jun 2003 00:39:00 -0000	1.5
  @@ -187,11 +187,11 @@
           int i = classname.lastIndexOf(".");
           if( i == -1 )
           {
  -            return classname;
  +            return classname.toLowerCase();
           }
           else
           {
  -            return classname.substring( i+1, classname.length() );
  +            return classname.substring( i+1, classname.length() ).toLowerCase();
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org