Skip to content

Commit

Permalink
SDK-175 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGrzybkowski committed Nov 14, 2016
1 parent d9bb3bf commit fd9b6f8
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@ public void removeModuleProperties(Artifact artifact) {
newProperties.putAll(properties);
for(Object keyObject: properties.keySet()){
String key = keyObject.toString();
if(key.startsWith(TYPE_OMOD+"."+artifact.getArtifactId())){
if(key.equals(TYPE_OMOD+"."+artifact.getArtifactId())){
newProperties.remove(key);
} else if(key.equals(TYPE_OMOD+"."+artifact.getArtifactId()+"."+TYPE)){
newProperties.remove(key);
} else if(key.equals(TYPE_OMOD+"."+artifact.getArtifactId()+"."+GROUP_ID)){
newProperties.remove(key);
}
}
Expand Down

0 comments on commit fd9b6f8

Please sign in to comment.