commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider AbstractFileName.java
Date Mon, 24 Feb 2003 07:15:54 GMT
adammurdoch    2003/02/23 23:15:54

  Modified:    vfs/src/java/org/apache/commons/vfs/provider
                        AbstractFileName.java
  Log:
  Fixed getExtension().
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileName.java
  
  Index: AbstractFileName.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/vfs/src/java/org/apache/commons/vfs/provider/AbstractFileName.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractFileName.java	17 Feb 2003 09:22:14 -0000	1.1
  +++ AbstractFileName.java	24 Feb 2003 07:15:53 -0000	1.2
  @@ -357,7 +357,7 @@
               }
               else
               {
  -                extension = baseName.substring( 0, pos );
  +                extension = baseName.substring( pos+1 );
               }
           }
           return extension;
  
  
  

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