maven-wagon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r365862 - /maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
Date Wed, 04 Jan 2006 08:22:15 GMT
Author: brett
Date: Wed Jan  4 00:22:12 2006
New Revision: 365862

URL: http://svn.apache.org/viewcvs?rev=365862&view=rev
Log:
fix regex

Modified:
    maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java

Modified: maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
URL: http://svn.apache.org/viewcvs/maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java?rev=365862&r1=365861&r2=365862&view=diff
==============================================================================
--- maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
(original)
+++ maven/wagon/trunk/wagon-providers/wagon-ssh/src/main/java/org/apache/maven/wagon/providers/ssh/ScpWagon.java
Wed Jan  4 00:22:12 2006
@@ -130,7 +130,7 @@
             String mode = "644";
             if ( permissions != null && permissions.getFileMode() != null )
             {
-                if ( permissions.getFileMode().matches( "/[0-9]{3}/" ) )
+                if ( permissions.getFileMode().matches( "[0-9]{3}" ) )
                 {
                     mode = permissions.getFileMode();
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-commits-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-commits-help@maven.apache.org


Mime
View raw message