Commit 5af3f609 authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Simplify method call.

parent a18c70b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ public class KeyValueMap<T> extends TreeMap<String, T> {

  private void putPair(String key, T value, String line, String listElement,
      int keyLength) throws DescriptorParseException {
    if (this.keySet().contains(key)) {
    if (this.containsKey(key)) {
      throw new DescriptorParseException("Line '" + line + "' contains "
          + "duplicate key '" + key + "'.");
    }