Changeset 269 in josm for src


Ignore:
Timestamp:
2007-07-03T18:29:14+02:00 (17 years ago)
Author:
imi
Message:
  • added some tests and provided better testing framework
Location:
src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/gui/preferences/ColorPreference.java

    r260 r269  
    8787        }
    8888       
    89         /**
    90          * Updates the table model with the colors in the color map.
    91          */
    92         private void updateTableModel() {
    93         }
    94        
    95 
    9689        public void addGui(final PreferenceDialog gui) {
    9790                // initial fill with colors from preferences:
  • src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r247 r269  
    6767                        activeConnection = null;
    6868                }
    69 
    70                 data.add(list);
     69                if (!list.isEmpty())
     70                        data.add(list);
    7171                return data;
    7272        } catch (IllegalArgumentException e) {
Note: See TracChangeset for help on using the changeset viewer.