[maven-debian-helper] 02/04: Minor simplification to org.debian.maven.Wrapper

Emmanuel Bourg ebourg-guest at alioth.debian.org
Mon Sep 2 14:54:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository maven-debian-helper.

commit f3717abd5c7a1adf6a2f165e8b0421d5dad4a98c
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 2 12:18:46 2013 +0200

    Minor simplification to org.debian.maven.Wrapper
---
 maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java b/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
index a12a56a..e2458fb 100644
--- a/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
+++ b/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
@@ -31,9 +31,6 @@ import org.codehaus.classworlds.ClassWorld;
  */
 public class Wrapper {
 
-    /** Holds system properties */
-    private static Properties systemProperties = System.getProperties();
-
     /** Holds extra properties that are read from property files */
     private static Properties extraProperties = new Properties();
 
@@ -45,7 +42,7 @@ public class Wrapper {
      * properties into extraProperties
      */
     public static void updateProperties(String key) throws IOException {
-        String filename = systemProperties.getProperty(key);
+        String filename = System.getProperty(key);
         if (filename == null) {
             return;
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-debian-helper.git



More information about the pkg-java-commits mailing list