Changeset 6283 in josm for trunk/src


Ignore:
Timestamp:
2013-10-02T00:41:04+02:00 (11 years ago)
Author:
Don-vip
Message:

Sonar/Findbugs - Bad practice - Method might ignore exception

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/display/LafPreference.java

    r6246 r6283  
    6262            );
    6363        } catch (Exception ex) {
    64             // just ignore, Quaqua may not even be installed...
     64            // just debug, Quaqua may not even be installed...
     65            Main.debug(ex.getMessage());
    6566        }
    6667
  • trunk/src/org/openstreetmap/josm/tools/ImageProvider.java

    r6248 r6283  
    630630            try {
    631631                img = ImageIO.read(path);
    632             } catch (IOException e) {}
     632            } catch (IOException e) {
     633                Main.warn(e);
     634            }
    633635            return img == null ? null : new ImageResource(img);
    634636        default:
Note: See TracChangeset for help on using the changeset viewer.