Changeset 188 in josm
- Timestamp:
- 2007-01-04T23:56:44+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/ConflictResolver.java
r113 r188 12 12 import java.awt.event.MouseEvent; 13 13 import java.util.ArrayList; 14 import java.util.Arrays;15 14 import java.util.Collection; 16 15 import java.util.Iterator; … … 23 22 import javax.swing.JButton; 24 23 import javax.swing.JLabel; 24 import javax.swing.JOptionPane; 25 25 import javax.swing.JPanel; 26 26 import javax.swing.JScrollPane; … … 34 34 import javax.swing.table.TableModel; 35 35 36 import org.openstreetmap.josm.Main; 36 37 import org.openstreetmap.josm.data.conflict.ConflictItem; 37 38 import org.openstreetmap.josm.data.conflict.DeleteConflict; … … 160 161 } 161 162 162 if (this.conflicts.isEmpty()) 163 throw new RuntimeException("No conflicts but in conflict list:\n"+Arrays.toString(conflicts.entrySet().toArray())); 163 if (this.conflicts.isEmpty()) { 164 JOptionPane.showMessageDialog(Main.parent, 165 "The ConflictResolver and the Merger disagree about conflicts in your dataset.\n"+ 166 "Of course, this is a bug.\n"+ 167 "The bug is very old, but unfortunatly, Imi (programmer) was not able to catch it.\n"+ 168 "If you know exactly what bounding boxes you downloaded (bookmarks?) and/or what\n"+ 169 "files you opened (have them ready?) to display this message again, pretty please\n"+ 170 "inform Imi at josm@eigenheimstrasse.de about the details.\n"+ 171 "Thanks."); 172 //throw new RuntimeException("No conflicts but in conflict list:\n"+Arrays.toString(conflicts.entrySet().toArray())); 173 } 164 174 165 175 // have to initialize the JTables here and not in the declaration, because its constructor
Note:
See TracChangeset
for help on using the changeset viewer.