mirror of https://github.com/apache/maven.git
Dedup interpolator property in list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@713505 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c46e4fd97c
commit
f870fa638d
|
@ -120,7 +120,14 @@ public final class ModelTransformerContext
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return interpolatorProperties;
|
|
||||||
|
List<InterpolatorProperty> ips = new ArrayList<InterpolatorProperty>();
|
||||||
|
for(InterpolatorProperty ip : interpolatorProperties) {
|
||||||
|
if(!ips.contains(ip)) {
|
||||||
|
ips.add(ip);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ips;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void interpolateModelProperties(List<ModelProperty> modelProperties,
|
public static void interpolateModelProperties(List<ModelProperty> modelProperties,
|
||||||
|
|
Loading…
Reference in New Issue