[MRM-1304] fix group ID handling for branch

git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910396 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2010-02-16 05:07:20 +00:00
parent b0bf4f1689
commit 199a251293
1 changed files with 3 additions and 2 deletions

View File

@ -194,13 +194,14 @@ public class ViewAuditLogReportAction
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;
}
}