archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r910396 - /archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java
Date Tue, 16 Feb 2010 05:07:20 GMT
Author: brett
Date: Tue Feb 16 05:07:20 2010
New Revision: 910396

URL: http://svn.apache.org/viewvc?rev=910396&view=rev
Log:
[MRM-1304] fix group ID handling for branch

Modified:
    archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java

Modified: archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java
URL: http://svn.apache.org/viewvc/archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java?rev=910396&r1=910395&r2=910396&view=diff
==============================================================================
--- archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java
(original)
+++ archiva/branches/MRM-1025/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/reports/ViewAuditLogReportAction.java
Tue Feb 16 05:07:20 2010
@@ -194,13 +194,14 @@
         String resource = null;
         if ( !StringUtils.isEmpty( groupId ) )
         {
+            String groupIdAsPath = groupId.replace( '.', '/' );
             if ( StringUtils.isEmpty( artifactId ) )
             {
-                resource = groupId;
+                resource = groupIdAsPath;
             }
             else
             {
-                resource = groupId + "/" + artifactId;
+                resource = groupIdAsPath + "/" + artifactId;
             }
         }
 



Mime
View raw message