From 59a81bc23a42a82dca675b8c7cd661a3c0fa40db Mon Sep 17 00:00:00 2001 From: Mark Donszelmann Date: Tue, 17 Nov 2009 22:09:43 +0100 Subject: More cleanup --- src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java') diff --git a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java index 658b951..fad2193 100644 --- a/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java +++ b/src/main/java/org/apache/maven/plugin/nar/AbstractGnuMojo.java @@ -59,7 +59,7 @@ public abstract class AbstractGnuMojo * @return * @throws MojoFailureException */ - protected File getGnuAOLSourceDirectory() + protected final File getGnuAOLSourceDirectory() throws MojoFailureException { return new File( getGnuAOLDirectory(), "src" ); @@ -69,13 +69,13 @@ public abstract class AbstractGnuMojo * @return * @throws MojoFailureException */ - protected File getGnuAOLTargetDirectory() + protected final File getGnuAOLTargetDirectory() throws MojoFailureException { return new File( getGnuAOLDirectory(), "target" ); } - protected File getGnuSourceDirectory() { + protected final File getGnuSourceDirectory() { return gnuSourceDirectory; } @@ -94,7 +94,7 @@ public abstract class AbstractGnuMojo * * @return */ - protected boolean useGnu() { + protected final boolean useGnu() { return gnuUseOnWindows || !OS.WINDOWS.equals(NarUtil.getOS( null )); } } -- cgit v1.2.3