ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlboud...@apache.org
Subject git commit: Minor change in pomModuleDescriptor, we expect to set extraInfo if key doesn't exist
Date Mon, 18 Aug 2014 17:12:56 GMT
Repository: ant-ivy
Updated Branches:
  refs/heads/master db5101c23 -> a6b9ca3f7


Minor change in pomModuleDescriptor, we expect to set extraInfo if key doesn't exist


Project: http://git-wip-us.apache.org/repos/asf/ant-ivy/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-ivy/commit/a6b9ca3f
Tree: http://git-wip-us.apache.org/repos/asf/ant-ivy/tree/a6b9ca3f
Diff: http://git-wip-us.apache.org/repos/asf/ant-ivy/diff/a6b9ca3f

Branch: refs/heads/master
Commit: a6b9ca3f71d44dbe2562e13d63e4b30fcaccdf50
Parents: db5101c
Author: Jean-Louis Boudart <jeanlouis.boudart@gmail.com>
Authored: Mon Aug 18 19:12:44 2014 +0200
Committer: Jean-Louis Boudart <jeanlouis.boudart@gmail.com>
Committed: Mon Aug 18 19:12:44 2014 +0200

----------------------------------------------------------------------
 .../apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-ivy/blob/a6b9ca3f/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java b/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
index 896c533..40a007a 100644
--- a/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
+++ b/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
@@ -608,7 +608,7 @@ public class PomModuleDescriptorBuilder {
     }
 
     private void addExtraInfo(String key, String value) {
-        if (ivyModuleDescriptor.getExtraInfoContentByTagName(key) == null) {
+        if (ivyModuleDescriptor.getExtraInfoByTagName(key) == null) {
             ivyModuleDescriptor.getExtraInfos().add(new ExtraInfoHolder(key, value));
         }
     }


Mime
View raw message