package ge.ifg.crypto.frequency;

import ge.ifg.crypto.security.TestCases;

import java.util.HashMap;

public class Frequency extends TestCases {

	private static HashMap<String, Integer> frequency;

	public double getFrequency(String str) {
		Integer freq = frequency.get(str);
		if (freq == null)
			return 0.01;
		return freq;
	}

	protected Frequency() {
		frequency = new HashMap<>();
	}

}

@@ -161,15 +161,8 @@
 ate 
-static 
 Hash

Change static field to unstatic