Skip to content

Commit

Permalink
Cleanup exception handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Aug 3, 2023
1 parent 707f2ad commit 5f415e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/org/openstreetmap/josm/plugins/indoorequal/Action.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
import javax.swing.JOptionPane;

import java.io.File;
import java.util.ServiceConfigurationError;
import java.io.IOException;
import java.net.SocketTimeoutException;
import org.openstreetmap.josm.actions.JosmAction;
import org.openstreetmap.josm.gui.MainApplication;
import org.openstreetmap.josm.gui.layer.Layer;
Expand Down Expand Up @@ -51,12 +49,8 @@ else if (MainApplication.getMap().mapView == null)
if (result != null) {
Logging.warn(result);
}
} catch(SocketTimeoutException e) {
Logging.error(e);
} catch (IOException e) {
Logging.error(e);
} catch (ServiceConfigurationError e) {
Logging.error(e);
}
}
}
Expand Down

0 comments on commit 5f415e0

Please sign in to comment.