Commit b9848206 authored by Christian MOMON's avatar Christian MOMON
Browse files

Fixed Sonar review.

parent 83b2db97
......@@ -263,7 +263,7 @@ public class BuildIndexesDialog extends JDialog
BuildIndexesDialog.this.buildWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground()
{
Boolean result;
......@@ -327,7 +327,7 @@ public class BuildIndexesDialog extends JDialog
BuildIndexesDialog.this.progressWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground() throws InterruptedException
{
boolean ended = false;
while (!ended)
......
......@@ -304,7 +304,7 @@ public class DownloadGeoNamesFilesDialog extends JDialog
DownloadGeoNamesFilesDialog.this.downloadWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground()
{
Boolean result;
......@@ -374,7 +374,7 @@ public class DownloadGeoNamesFilesDialog extends JDialog
DownloadGeoNamesFilesDialog.this.progressWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground() throws InterruptedException
{
boolean ended = false;
while (!ended)
......
......@@ -102,8 +102,6 @@ public class DownloadTargetSelector extends JFileChooser
{
//
super.setSelectedFile(file);
logger.debug("==== SET SELECTED FILE=================");
logger.debug("SELECED FILE {}", file);
}
......
......@@ -269,7 +269,7 @@ public class DownloadDatabaseDialog extends JDialog
DownloadDatabaseDialog.this.downloadWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground()
{
Boolean result;
......@@ -348,7 +348,7 @@ public class DownloadDatabaseDialog extends JDialog
DownloadDatabaseDialog.this.progressWorker = new SwingWorker<Boolean, Integer>()
{
@Override
protected Boolean doInBackground() throws Exception
protected Boolean doInBackground() throws InterruptedException
{
boolean ended = false;
while (!ended)
......
......@@ -49,7 +49,6 @@ public class DownloadTargetSelector extends JFileChooser
if ((targetFile == null) || (StringUtils.isBlank(targetFile.getAbsolutePath())))
{
file = null;
}
else if (targetFile.isFile())
{
......@@ -104,8 +103,7 @@ public class DownloadTargetSelector extends JFileChooser
//
super.setSelectedFile(file);
System.out.println("==== SET SELECTED FILE=================");
System.out.println("SELECED FILE " + file);
logger.info("SELECED FILE {}", file);
}
/**
......
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