Changeset 13656 in josm for trunk/src


Ignore:
Timestamp:
2018-04-22T02:28:33+02:00 (7 years ago)
Author:
Don-vip
Message:

see #16204 - make the missing icon detector script happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MainFrame.java

    r13647 r13656  
    8383        geometry.applySafe(this);
    8484        List<Image> l = new LinkedList<>();
    85         for (String file : new String[] {
    86                 "logo_16x16x32", "logo_16x16x8", "logo_32x32x32", "logo_32x32x8", "logo_48x48x32", "logo_48x48x8", "logo"}) {
    87             ImageIcon img = ImageProvider.getIfAvailable(file);
     85        for (ImageIcon img : new ImageIcon[] {
     86                ImageProvider.getIfAvailable("logo_16x16x32"),
     87                ImageProvider.getIfAvailable("logo_16x16x8"),
     88                ImageProvider.getIfAvailable("logo_32x32x32"),
     89                ImageProvider.getIfAvailable("logo_32x32x8"),
     90                ImageProvider.getIfAvailable("logo_48x48x32"),
     91                ImageProvider.getIfAvailable("logo_48x48x8"),
     92                ImageProvider.getIfAvailable("logo")}) {
    8893            if (img != null) {
    8994                l.add(img.getImage());
Note: See TracChangeset for help on using the changeset viewer.