Commit 162917fc authored by Christian MOMON's avatar Christian MOMON
Browse files

Fixed Sonar review.

parent b9848206
......@@ -19,6 +19,7 @@
package org.tip.flatdb4geonames.model;
import java.util.HashMap;
import java.util.Map;
/**
*
......@@ -27,7 +28,7 @@ import java.util.HashMap;
public class WordSearchCache
{
private int capacity;
private HashMap<String, GeoNamesLine> data;
private Map<String, GeoNamesLine> data;
/**
*
......
......@@ -24,6 +24,7 @@ import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
......@@ -41,7 +42,7 @@ public class IndexOfAdministrativePaths
public static final String DEFAULT_CHARSET_NAME = "UTF-8";
private AdministrativePaths administrativePaths;
private HashMap<String, AdministrativePath> index;
private Map<String, AdministrativePath> index;
/**
* @throws IOException
......
......@@ -24,6 +24,7 @@ import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.io.IOUtils;
......@@ -38,7 +39,7 @@ public class IndexOfFeatures
public static final String DEFAULT_CHARSET_NAME = "UTF-8";
private Features features;
private HashMap<String, Feature> index;
private Map<String, Feature> index;
/**
* @throws IOException
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment