From: Maria Odea B. Ching Date: Wed, 15 Jun 2011 09:25:15 +0000 (+0000) Subject: added missing @Inject X-Git-Tag: archiva-1.4-M1~632 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90df2242acd0eb69d7fcc31e0513cef0e42b1a25;p=archiva.git added missing @Inject git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135973 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java index 30e134ff3..f34b37b24 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/ShowArtifactAction.java @@ -41,6 +41,7 @@ import org.apache.maven.artifact.versioning.DefaultArtifactVersion; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; +import javax.inject.Inject; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; import java.util.ArrayList; @@ -73,6 +74,7 @@ public class ShowArtifactAction /** * plexus.requirement */ + @Inject private RepositoryContentFactory repositoryFactory; /* .\ Exposed Output Objects \.__________________________________ */