From f70c29e3cefbb1964daa030d79778a1c03bcf547 Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 24 Nov 2006 19:57:53 +0000 Subject: [PATCH] Changing 'Dependend on by' to 'Used by' as per #MRM-186. Code isn't changed yet as it's the word 'dependees' and I don't have a good replacement for that git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@478968 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/archiva/web/mapper/RepositoryActionMapper.java | 4 ++-- archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/mapper/RepositoryActionMapper.java b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/mapper/RepositoryActionMapper.java index 60aa8ada9..6d05a09ac 100644 --- a/archiva-webapp/src/main/java/org/apache/maven/archiva/web/mapper/RepositoryActionMapper.java +++ b/archiva-webapp/src/main/java/org/apache/maven/archiva/web/mapper/RepositoryActionMapper.java @@ -59,7 +59,7 @@ public class RepositoryActionMapper else if ( "showArtifactDependees".equals( actionMapping.getName() ) ) { return BROWSE_PREFIX + params.remove( "groupId" ) + "/" + params.remove( "artifactId" ) + "/" + - params.remove( "version" ) + "/dependedonby"; + params.remove( "version" ) + "/usedby"; } else if ( "showArtifactDependencyTree".equals( actionMapping.getName() ) ) { @@ -119,7 +119,7 @@ public class RepositoryActionMapper { return new ActionMapping( "showArtifactDependencies", "/", "", params ); } - else if ( "dependedonby".equals( parts[3] ) ) + else if ( "usedby".equals( parts[3] ) ) { return new ActionMapping( "showArtifactDependees", "/", "", params ); } diff --git a/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp b/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp index 2747ab0b7..7c1993d7f 100644 --- a/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp +++ b/archiva-webapp/src/main/webapp/WEB-INF/jsp/showArtifact.jsp @@ -117,7 +117,7 @@ - Depended On By + Used By <%-- TODO: Mailing Lists --%> -- 2.39.5