Changeset 23387 in osm
- Timestamp:
- 2010-09-28T17:48:32+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/smed/plugs/oseam/src/oseam/dialogs/OSeaMAction.java
r23382 r23387 762 762 763 763 case SeaMark.UNKNOWN_TYPE: 764 if (!(buoy instanceof BuoyUkn)) 764 if (!(buoy instanceof BuoyUkn)) { 765 buoy = null; 765 766 buoy = new BuoyUkn(dia, Messages.getString("SmpDialogAction.150")); //$NON-NLS-1$ 767 } 766 768 buoy.setBuoyIndex(0); 767 769 break; … … 769 771 case SeaMark.LATERAL: 770 772 if (!(buoy instanceof BuoyLat)) { 773 buoy = null; 771 774 buoy = new BuoyLat(dia, n); 772 775 buoy.setBuoyIndex(0); … … 776 779 case SeaMark.CARDINAL: 777 780 if (!(buoy instanceof BuoyCard)) { 781 buoy = null; 778 782 buoy = new BuoyCard(dia, n); 779 783 buoy.setBuoyIndex(0); … … 783 787 case SeaMark.SAFE_WATER: 784 788 if (!(buoy instanceof BuoySaw)) { 789 buoy = null; 785 790 buoy = new BuoySaw(dia, n); 786 791 } … … 790 795 case SeaMark.ISOLATED_DANGER: 791 796 if (!(buoy instanceof BuoyIsol)) { 797 buoy = null; 792 798 buoy = new BuoyIsol(dia, n); 793 799 } … … 797 803 case SeaMark.SPECIAL_PURPOSE: 798 804 if (!(buoy instanceof BuoySpec)) { 805 buoy = null; 799 806 buoy = new BuoySpec(dia, n); 800 807 } … … 804 811 case SeaMark.LIGHT: 805 812 if (!(buoy instanceof BuoyNota)) { 813 buoy = null; 806 814 buoy = new BuoyNota(dia, n); 807 815 buoy.setBuoyIndex(0);
Note:
See TracChangeset
for help on using the changeset viewer.