Allon Mureinik has uploaded a new change for review.

Change subject: packaging: Remove Module.resourcePath
......................................................................

packaging: Remove Module.resourcePath

The resourcePath member in Module is never initialized, and in fact,
there is no way to initialize it - i.e., it is always null.

This patch removes it and all references to it.

Change-Id: I1ca9f1a35ffc461311e61e649fdf1a1375ffd0a7
Signed-off-by: Allon Mureinik <amure...@redhat.com>
---
M 
build-tools-root/jboss-modules-maven-plugin/src/main/java/org/ovirt/engine/build/Module.java
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/37/12337/1

diff --git 
a/build-tools-root/jboss-modules-maven-plugin/src/main/java/org/ovirt/engine/build/Module.java
 
b/build-tools-root/jboss-modules-maven-plugin/src/main/java/org/ovirt/engine/build/Module.java
index 4eb0325..811c5d6 100644
--- 
a/build-tools-root/jboss-modules-maven-plugin/src/main/java/org/ovirt/engine/build/Module.java
+++ 
b/build-tools-root/jboss-modules-maven-plugin/src/main/java/org/ovirt/engine/build/Module.java
@@ -7,7 +7,6 @@
     private String groupId;
     private String moduleName;
     private String moduleSlot;
-    private String resourcePath;
 
     public Module() {
         // Nothing.
@@ -52,9 +51,6 @@
     }
 
     public String getResourcePath() {
-        if (resourcePath != null) {
-            return resourcePath;
-        }
         return artifactId + ".jar";
     }
 


--
To view, visit http://gerrit.ovirt.org/12337
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ca9f1a35ffc461311e61e649fdf1a1375ffd0a7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amure...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to