[SCM] UNNAMED PROJECT branch, master, updated. debian/1.6.2-14-g814c033

Emmanuel Bourg ebourg at apache.org
Tue Jun 11 13:00:22 UTC 2013


The following commit has been merged in the master branch:
commit d977e7c6c1079572cb03f604cef5a4381e73bb4e
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Jun 11 13:28:41 2013 +0200

    Added @Override annotations

diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallDocMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallDocMojo.java
index 6178c17..247ee8a 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallDocMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallDocMojo.java
@@ -51,6 +51,7 @@ public class InstallDocMojo extends SysInstallDocMojo {
     /**
      * Returns e.g. $CURDIR/debian/libfoobar-java
      */
+    @Override
     protected String packagePath() {
         if (useMavenRepoLocal) {
             return mavenRepoLocal.getAbsolutePath();
diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java
index bb3f29c..a51f695 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java
@@ -66,7 +66,7 @@ public class InstallMojo extends SysInstallMojo {
     /**
      * Returns e.g. $CURDIR/debian/libfoobar-java
      */
-
+    @Override
     protected String packagePath() {
         return getDebianDir() + "/" + getDestPackage();
     }
@@ -74,6 +74,7 @@ public class InstallMojo extends SysInstallMojo {
     /**
      * absolute path to destination dir
      */
+    @Override
     protected String fullRepoPath() {
         if (useMavenRepoLocal) {
             return mavenRepoLocal.getAbsolutePath() + "/" + destRepoPath();
@@ -85,6 +86,7 @@ public class InstallMojo extends SysInstallMojo {
     /**
      * absolute path to destination dir
      */
+    @Override
     protected String debianFullRepoPath() {
         if (useMavenRepoLocal) {
             return mavenRepoLocal.getAbsolutePath() + "/" + debianRepoPath();
diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallDocMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallDocMojo.java
index 8239139..af0f0ab 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallDocMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysInstallDocMojo.java
@@ -37,6 +37,7 @@ public class SysInstallDocMojo extends SysInstallMojo {
     /**
      * do the actual work
      */
+    @Override
     protected void runMojo() throws IOException {
         copyJar();
     }
diff --git a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysUninstallMojo.java b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysUninstallMojo.java
index bcd7141..f9d3378 100644
--- a/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysUninstallMojo.java
+++ b/debian-maven-plugin/src/main/java/org/debian/maven/plugin/SysUninstallMojo.java
@@ -38,6 +38,7 @@ public class SysUninstallMojo extends SysInstallMojo {
     // Private methods
     // ----------------------------------------------------------------------
 
+    @Override
     protected void runMojo() throws IOException {
         FileUtils.forceDelete(fullRepoPath());
         FileUtils.fileDelete(fullCompatPath());

-- 
UNNAMED PROJECT



More information about the pkg-java-commits mailing list