diff options
author | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-11-17 16:33:28 +0100 |
---|---|---|
committer | Mark Donszelmann <Mark.Donszelmann@gmail.com> | 2009-11-17 16:33:28 +0100 |
commit | 0975240ce6b505db32a87233f31c8d1377b14c54 (patch) | |
tree | edf3933a3bd151673c3ab1bb9338c4411bab89c2 /src/main/java/org/apache/maven/plugin/nar/Compiler.java | |
parent | bb9f382d1024e60f672b9c484031f40772a54a4b (diff) | |
download | maven-nar-plugin-0975240ce6b505db32a87233f31c8d1377b14c54.tar.gz maven-nar-plugin-0975240ce6b505db32a87233f31c8d1377b14c54.tar.bz2 maven-nar-plugin-0975240ce6b505db32a87233f31c8d1377b14c54.tar.xz maven-nar-plugin-0975240ce6b505db32a87233f31c8d1377b14c54.zip |
Cleanup
Diffstat (limited to 'src/main/java/org/apache/maven/plugin/nar/Compiler.java')
-rw-r--r-- | src/main/java/org/apache/maven/plugin/nar/Compiler.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/org/apache/maven/plugin/nar/Compiler.java b/src/main/java/org/apache/maven/plugin/nar/Compiler.java index 4a79440..2f340fc 100644 --- a/src/main/java/org/apache/maven/plugin/nar/Compiler.java +++ b/src/main/java/org/apache/maven/plugin/nar/Compiler.java @@ -224,12 +224,12 @@ public abstract class Compiler { } - public void setAbstractCompileMojo( AbstractCompileMojo mojo ) + public final void setAbstractCompileMojo( AbstractCompileMojo mojo ) { this.mojo = mojo; } - public List/* <File> */getSourceDirectories() + public final List/* <File> */getSourceDirectories() { return getSourceDirectories( "dummy" ); } @@ -289,7 +289,7 @@ public abstract class Compiler return sourceDirectories; } - protected List/* <String> */getIncludePaths( String type ) + protected final List/* <String> */getIncludePaths( String type ) { return createIncludePaths( type, type.equals( "test" ) ? testIncludePaths : includePaths ); } @@ -307,13 +307,13 @@ public abstract class Compiler return paths; } - public Set getIncludes() + public final Set getIncludes() throws MojoFailureException { return getIncludes( "main" ); } - protected Set getIncludes( String type ) + protected final Set getIncludes( String type ) throws MojoFailureException { Set result = new HashSet(); @@ -340,7 +340,7 @@ public abstract class Compiler return result; } - protected Set getExcludes() + protected final Set getExcludes() throws MojoFailureException { Set result = new HashSet(); @@ -366,13 +366,13 @@ public abstract class Compiler return result; } - protected String getPrefix() + protected final String getPrefix() throws MojoFailureException { return mojo.getAOL().getKey() + "." + getName() + "."; } - public CompilerDef getCompiler( String type, String output ) + public final CompilerDef getCompiler( String type, String output ) throws MojoFailureException { @@ -609,7 +609,7 @@ public abstract class Compiler protected abstract String getName(); - public void copyIncludeFiles( MavenProject mavenProject, File targetDirectory ) + public final void copyIncludeFiles( MavenProject mavenProject, File targetDirectory ) throws IOException { for ( Iterator i = getIncludePaths( "dummy" ).iterator(); i.hasNext(); ) |