Skip to content
Snippets Groups Projects
Commit 10e2485e authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

use a empty hashmap instead of a constant empty map

parent 92b05be3
No related branches found
No related tags found
1 merge request!6add feature to load criteria file from resource and place all criteria files...
......@@ -13,10 +13,7 @@ import de.uni_hamburg.corpora.Report;
import java.io.IOException;
import java.net.URISyntaxException;
import java.security.NoSuchAlgorithmException;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
import java.util.Properties;
import java.util.*;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.transform.TransformerException;
import javax.xml.xpath.XPathExpressionException;
......@@ -166,6 +163,6 @@ public abstract class Checker implements CorpusFunction {
* @return The map of all parameters and their description
*/
public Map<String, String> getParameters() {
return Collections.EMPTY_MAP;
return new HashMap<>();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment