Commit 83b2db97 authored by Christian MOMON's avatar Christian MOMON
Browse files

Made Sonar review on logger.

parent e31b2b13
......@@ -35,7 +35,7 @@ import org.tip.flatdb4geonames.model.FlatDB4GeoNamesException;
*/
public class FlatDB4GeoNamesLauncher
{
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesLauncher.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesLauncher.class);
/**
*
......
......@@ -35,7 +35,7 @@ import org.tip.flatdb4geonames.model.GeoNamesLines;
*/
public class FlatDB4GeoNamesCLI
{
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesCLI.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesCLI.class);
/**
*
......
......@@ -45,7 +45,7 @@ public class FlatDB4GeoNamesGUI
private static final FlatDB4GeoNamesGUI instance = new FlatDB4GeoNamesGUI();
}
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesGUI.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesGUI.class);
private File homeDirectory;
......
......@@ -33,7 +33,7 @@ import org.slf4j.LoggerFactory;
*/
public class GUIToolBox
{
private static final Logger logger = LoggerFactory.getLogger(GUIToolBox.class);
private static Logger logger = LoggerFactory.getLogger(GUIToolBox.class);
/**
*
......
......@@ -35,7 +35,7 @@ public class DatabaseDirectorySelector extends JFileChooser
{
private static final long serialVersionUID = 3782597353602048214L;
private static final Logger logger = LoggerFactory.getLogger(DatabaseDirectorySelector.class);
private static Logger logger = LoggerFactory.getLogger(DatabaseDirectorySelector.class);
/**
*
......
......@@ -59,7 +59,7 @@ import fr.devinsy.util.StringList;
public class FlatDB4GeoNamesWindow extends JFrame
{
private static final long serialVersionUID = 5041543095300009538L;
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesWindow.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesWindow.class);
private JPanel contentPane;
private FlatDB4GeoNamesGeneralPanel generalTab;
......
......@@ -59,7 +59,7 @@ public class BuildIndexesDialog extends JDialog
{
private static final long serialVersionUID = 2320545249835089493L;
private static final Logger logger = LoggerFactory.getLogger(BuildIndexesDialog.class);
private static Logger logger = LoggerFactory.getLogger(BuildIndexesDialog.class);
private final JPanel contentPanel = new JPanel();
private JTextField txtfldSourceDirectory;
......
......@@ -35,7 +35,7 @@ public class BuildIndexesSourceSelector extends JFileChooser
{
private static final long serialVersionUID = 6910915335171754463L;
private static final Logger logger = LoggerFactory.getLogger(BuildIndexesSourceSelector.class);
private static Logger logger = LoggerFactory.getLogger(BuildIndexesSourceSelector.class);
/**
*
......
......@@ -63,7 +63,7 @@ public class DownloadGeoNamesFilesDialog extends JDialog
{
private static final long serialVersionUID = 2320545249835089493L;
private static final Logger logger = LoggerFactory.getLogger(DownloadGeoNamesFilesDialog.class);
private static Logger logger = LoggerFactory.getLogger(DownloadGeoNamesFilesDialog.class);
private final JPanel contentPanel = new JPanel();
private JTextField txtfldTargetDirectory;
......
......@@ -35,7 +35,7 @@ public class DownloadTargetSelector extends JFileChooser
{
private static final long serialVersionUID = 6910915335171754463L;
private static final Logger logger = LoggerFactory.getLogger(DownloadTargetSelector.class);
private static Logger logger = LoggerFactory.getLogger(DownloadTargetSelector.class);
/**
*
......
......@@ -30,7 +30,7 @@ import org.slf4j.LoggerFactory;
*/
public class FlatDB4GeoNames
{
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNames.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNames.class);
private static GeoNamesFlatDatabase instance = null;
......
......@@ -37,7 +37,7 @@ import org.tip.flatdb4geonames.util.Unzipper;
*/
public class FlatDB4GeoNamesFactory
{
private static final Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesFactory.class);
private static Logger logger = LoggerFactory.getLogger(FlatDB4GeoNamesFactory.class);
public static final String GEONAMES_DUMP_REPOSITORY = "http://download.geonames.org/export/dump/";
......
......@@ -47,7 +47,7 @@ import fr.devinsy.util.StringSet;
*/
public class GeoNamesFlatDatabase
{
private static final Logger logger = LoggerFactory.getLogger(GeoNamesFlatDatabase.class);
private static Logger logger = LoggerFactory.getLogger(GeoNamesFlatDatabase.class);
public static final String GEONAMES_DUMP_REPOSITORY = "http://download.geonames.org/export/dump/";
......
......@@ -56,7 +56,7 @@ import fr.devinsy.util.StringSet;
*/
public class GeoNamesLine
{
private static final Logger logger = LoggerFactory.getLogger(GeoNamesLine.class);
private static Logger logger = LoggerFactory.getLogger(GeoNamesLine.class);
private long geoNameId;
private String name;
......
......@@ -32,7 +32,7 @@ import fr.devinsy.util.StringList;
*/
public class GeoNamesLineParser
{
private static final Logger logger = LoggerFactory.getLogger(GeoNamesLineParser.class);
private static Logger logger = LoggerFactory.getLogger(GeoNamesLineParser.class);
/**
*
......
......@@ -34,7 +34,7 @@ public class GeoNamesLines extends ArrayList<GeoNamesLine>
{
private static final long serialVersionUID = 8370145125552994190L;
private static final Logger logger = LoggerFactory.getLogger(GeoNamesLines.class);
private static Logger logger = LoggerFactory.getLogger(GeoNamesLines.class);
/**
*
......
......@@ -32,7 +32,7 @@ public class AdministrativePaths extends ArrayList<AdministrativePath>
{
private static final long serialVersionUID = 3632860054662286444L;
private static final Logger logger = LoggerFactory.getLogger(AdministrativePaths.class);
private static Logger logger = LoggerFactory.getLogger(AdministrativePaths.class);
/**
*
......
......@@ -32,7 +32,7 @@ public class FeatureClasses extends ArrayList<FeatureClass>
{
private static final long serialVersionUID = -970464658404416401L;
private static final Logger logger = LoggerFactory.getLogger(FeatureClasses.class);
private static Logger logger = LoggerFactory.getLogger(FeatureClasses.class);
/**
*
......
......@@ -34,7 +34,7 @@ public class Features extends ArrayList<Feature>
{
private static final long serialVersionUID = -8546831996283740924L;
private static final Logger logger = LoggerFactory.getLogger(Features.class);
private static Logger logger = LoggerFactory.getLogger(Features.class);
/**
*
......
......@@ -35,7 +35,7 @@ import org.slf4j.LoggerFactory;
*/
public class IndexOfIdSeek
{
private static final Logger logger = LoggerFactory.getLogger(IndexOfIdSeek.class);
private static Logger logger = LoggerFactory.getLogger(IndexOfIdSeek.class);
public static final String DEFAULT_CHARSET_NAME = "UTF-8";
......
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