/**
 * Copyright 2010 - 2016 JetBrains s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package jetbrains.exodus.util;

import jetbrains.exodus.core.dataStructures.hash.HashMap;

public class StringHashMap<T> extends HashMap<String, T> {

    public StringHashMap() {
        super(6, 2);
    }

    @Override
    public T put(final String key, final T value) {
        return super.put(StringInterner.intern(key), value);
    }
}

@@ -789,18 +789,120 @@
     
-super(6, 2
+this(9, 3);%0A    %7D%0A%0A    public StringHashMap(int capacity, float loadFactor) %7B%0A        super(capacity, loadFactor
 );%0A 

StringHashMap's default load factor is 3