Skip to content

Commit

Permalink
replace contains by containsKey
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1769417 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pmouawad committed Nov 12, 2016
1 parent 325968d commit e1a2707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/org/apache/jmeter/util/NameUpdater.java
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public final class NameUpdater {
Enumeration<String> propertyNames = (Enumeration<String>) prop.propertyNames();
while (propertyNames.hasMoreElements()) {
String key = propertyNames.nextElement();
if (!nameMap.contains(key)) {
if (!nameMap.containsKey(key)) {
nameMap.put(key, prop.get(key));
log.info("Added additional nameMap entry: " + key);
} else {
Expand Down

0 comments on commit e1a2707

Please sign in to comment.