Ignore:
Timestamp:
2013-10-07T00:04:48+02:00 (13 years ago)
Author:
Don-vip
Message:

Sonar/FindBugs - Nested blocks of code should not be left empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/GaussKruegerProjectionChoice.java

    r6295 r6310  
    66import java.util.Collection;
    77import java.util.Collections;
     8
     9import org.openstreetmap.josm.Main;
    810
    911public class GaussKruegerProjectionChoice extends ListProjectionChoice {
     
    3234        try {
    3335            return Integer.parseInt(zone) - 2;
    34         } catch(NumberFormatException e) {}
     36        } catch(NumberFormatException e) {
     37            Main.warn(e);
     38        }
    3539        return defaultIndex;
    3640    }
     
    4650
    4751    @Override
    48     public Collection<String> getPreferencesFromCode(String code)
    49     {
     52    public Collection<String> getPreferencesFromCode(String code) {
    5053        //zone 2 = EPSG:31466 up to zone 5 = EPSG:31469
    5154        for (int zone = 2; zone <= 5; zone++) {
Note: See TracChangeset for help on using the changeset viewer.