maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject cvs commit: maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager DefaultScmManager.java
Date Wed, 06 Apr 2005 15:55:13 GMT
evenisse    2005/04/06 08:55:13

  Modified:    maven-scm-api/src/main/java/org/apache/maven/scm/manager
                        DefaultScmManager.java
  Log:
  Little fix for windows. Windows use ":" in path.
  
  Revision  Changes    Path
  1.14      +3 -3      maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/DefaultScmManager.java
  
  Index: DefaultScmManager.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-api/src/main/java/org/apache/maven/scm/manager/DefaultScmManager.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- DefaultScmManager.java	6 Apr 2005 13:55:49 -0000	1.13
  +++ DefaultScmManager.java	6 Apr 2005 15:55:13 -0000	1.14
  @@ -308,11 +308,11 @@
       {
           scmUrl = scmUrl.substring( 4 );
   
  -        int index = scmUrl.indexOf( ':' );
  +        int index = scmUrl.indexOf( '|' );
   
           if ( index == -1 )
           {
  -            index = scmUrl.indexOf( '|' );
  +            index = scmUrl.indexOf( ':' );
   
               if ( index == -1 )
               {
  
  
  

Mime
View raw message