From 0975240ce6b505db32a87233f31c8d1377b14c54 Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 17 Nov 2009 16:33:28 +0100 Subject: Cleanup --- .../java/org/apache/maven/plugin/nar/NarManager.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/main/java/org/apache/maven/plugin/nar/NarManager.java') diff --git a/src/main/java/org/apache/maven/plugin/nar/NarManager.java b/src/main/java/org/apache/maven/plugin/nar/NarManager.java index e0b4ccb..21b0060 100644 --- a/src/main/java/org/apache/maven/plugin/nar/NarManager.java +++ b/src/main/java/org/apache/maven/plugin/nar/NarManager.java @@ -77,7 +77,7 @@ public class NarManager /** * Returns dependencies which are dependent on NAR files (i.e. contain NarInfo) */ - public List/* */getNarDependencies( String scope ) + public final List/* */getNarDependencies( String scope ) throws MojoExecutionException { List narDependencies = new LinkedList(); @@ -101,7 +101,7 @@ public class NarManager * * @throws MojoFailureException */ - public Map/* > */getAttachedNarDependencyMap( String scope ) + public final Map/* > */getAttachedNarDependencyMap( String scope ) throws MojoExecutionException, MojoFailureException { Map attachedNarDependencies = new HashMap(); @@ -120,13 +120,13 @@ public class NarManager return attachedNarDependencies; } - public List/* */getAttachedNarDependencies( List/* */narArtifacts ) + public final List/* */getAttachedNarDependencies( List/* */narArtifacts ) throws MojoExecutionException, MojoFailureException { return getAttachedNarDependencies( narArtifacts, null ); } - public List/* */getAttachedNarDependencies( List/* */narArtifacts, + public final List/* */getAttachedNarDependencies( List/* */narArtifacts, String classifier ) throws MojoExecutionException, MojoFailureException { @@ -161,7 +161,7 @@ public class NarManager * @throws MojoExecutionException * @throws MojoFailureException */ - public List/* */getAttachedNarDependencies( List/* */narArtifacts, AOL aol, + public final List/* */getAttachedNarDependencies( List/* */narArtifacts, AOL aol, String type ) throws MojoExecutionException, MojoFailureException { @@ -251,7 +251,7 @@ public class NarManager return artifactList; } - public NarInfo getNarInfo( Artifact dependency ) + public final NarInfo getNarInfo( Artifact dependency ) throws MojoExecutionException { // FIXME reported to maven developer list, isSnapshot changes behaviour @@ -297,7 +297,7 @@ public class NarManager } } - public File getNarFile( Artifact dependency ) + public final File getNarFile( Artifact dependency ) throws MojoFailureException { // FIXME reported to maven developer list, isSnapshot changes behaviour @@ -320,7 +320,7 @@ public class NarManager return project.getCompileArtifacts(); } - public void downloadAttachedNars( List/* */narArtifacts, List remoteRepositories, + public final void downloadAttachedNars( List/* */narArtifacts, List remoteRepositories, ArtifactResolver resolver, String classifier ) throws MojoExecutionException, MojoFailureException { @@ -356,7 +356,7 @@ public class NarManager } } - public void unpackAttachedNars( List/* */narArtifacts, ArchiverManager manager, String classifier, + public final void unpackAttachedNars( List/* */narArtifacts, ArchiverManager manager, String classifier, String os ) throws MojoExecutionException, MojoFailureException { -- cgit v1.2.3