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/Javah.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/org/apache/maven/plugin/nar/Javah.java') diff --git a/src/main/java/org/apache/maven/plugin/nar/Javah.java b/src/main/java/org/apache/maven/plugin/nar/Javah.java index eeba43a..eba13e2 100644 --- a/src/main/java/org/apache/maven/plugin/nar/Javah.java +++ b/src/main/java/org/apache/maven/plugin/nar/Javah.java @@ -130,12 +130,12 @@ public class Javah { } - public void setAbstractCompileMojo( AbstractCompileMojo mojo ) + public final void setAbstractCompileMojo( AbstractCompileMojo mojo ) { this.mojo = mojo; } - protected List getClassPaths() + protected final List getClassPaths() throws MojoExecutionException { if ( classPaths.isEmpty() ) @@ -152,7 +152,7 @@ public class Javah return classPaths; } - protected File getJniDirectory() + protected final File getJniDirectory() { if ( jniDirectory == null ) { @@ -161,7 +161,7 @@ public class Javah return jniDirectory; } - protected File getClassDirectory() + protected final File getClassDirectory() { if ( classDirectory == null ) { @@ -170,7 +170,7 @@ public class Javah return classDirectory; } - protected Set getIncludes() + protected final Set getIncludes() { if ( includes.isEmpty() ) { @@ -179,7 +179,7 @@ public class Javah return includes; } - protected File getTimestampDirectory() + protected final File getTimestampDirectory() { if ( timestampDirectory == null ) { @@ -188,7 +188,7 @@ public class Javah return timestampDirectory; } - protected File getTimestampFile() + protected final File getTimestampFile() { if ( timestampFile == null ) { @@ -197,7 +197,7 @@ public class Javah return timestampFile; } - public void execute() + public final void execute() throws MojoExecutionException, MojoFailureException { getClassDirectory().mkdirs(); -- cgit v1.2.3