Changeset 24575 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-12-04T14:36:03+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery/src/org/openstreetmap/josm/plugins/imagery/ImageryPreferenceEditor.java
r24572 r24575 439 439 return (info.imageryType == ImageryType.WMS) ? (info.pixelPerDegree == 0.0 ? "" : info.pixelPerDegree) 440 440 : (info.maxZoom == 0 ? "" : info.maxZoom); 441 } 442 return null; 441 default: 442 throw new ArrayIndexOutOfBoundsException(); 443 } 443 444 } 444 445 … … 449 450 case 0: 450 451 info.name = (String) o; 452 break; 451 453 case 1: 452 454 info.setURL((String)o); 455 break; 453 456 case 2: 454 457 info.pixelPerDegree = 0; … … 461 464 } catch (NumberFormatException e) { 462 465 } 466 break; 467 default: 468 throw new ArrayIndexOutOfBoundsException(); 463 469 } 464 470 } -
applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSPreferenceEditor.java
r23358 r24575 306 306 case 0: 307 307 info.name = (String) o; 308 break; 308 309 case 1: 309 310 info.setURL((String)o); 311 break; 310 312 } 311 313 }
Note:
See TracChangeset
for help on using the changeset viewer.