ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject svn commit: r1511495 - /ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java
Date Wed, 07 Aug 2013 21:10:11 GMT
Author: jlboudart
Date: Wed Aug  7 21:10:10 2013
New Revision: 1511495

URL: http://svn.apache.org/r1511495
Log:
Introduce a method returning a real ModuleRevisionId in pluginDescriptor

Modified:
    ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java

Modified: ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java
URL: http://svn.apache.org/viewvc/ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java?rev=1511495&r1=1511494&r2=1511495&view=diff
==============================================================================
--- ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java
(original)
+++ ant/easyant/core/trunk/src/main/java/org/apache/easyant/core/descriptor/PluginDescriptor.java
Wed Aug  7 21:10:10 2013
@@ -146,6 +146,10 @@ public class PluginDescriptor implements
         this.mrid = mrid;
     }
 
+    public ModuleRevisionId getModuleRevisionId() {
+        return ModuleRevisionId.parse(getMrid());
+    }
+
     /**
      * Get the import mode of a plugin
      * 



Mime
View raw message