continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r384859 - /maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java
Date Fri, 10 Mar 2006 17:26:08 GMT
Author: evenisse
Date: Fri Mar 10 09:26:05 2006
New Revision: 384859

URL: http://svn.apache.org/viewcvs?rev=384859&view=rev
Log: (empty)

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java?rev=384859&r1=384858&r2=384859&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/WorkingCopyContentGenerator.java
Fri Mar 10 09:26:05 2006
@@ -124,11 +124,9 @@
 
     private String getFileUrl( String directory, String fileName )
     {
-        String dir = directory;
-
         String filePath;
 
-        if ( StringUtils.isEmpty( dir ) || "/".equals( dir ) )
+        if ( StringUtils.isEmpty( directory ) || "/".equals( directory ) )
         {
             filePath = basedir.getName() + "/" + fileName;
         }



Mime
View raw message