Changeset 188 in josm


Ignore:
Timestamp:
2007-01-04T23:56:44+01:00 (17 years ago)
Author:
imi
Message:
  • changed the merge conflict bug report to some message about the special problem.
File:
1 edited

Legend:

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

    r113 r188  
    1212import java.awt.event.MouseEvent;
    1313import java.util.ArrayList;
    14 import java.util.Arrays;
    1514import java.util.Collection;
    1615import java.util.Iterator;
     
    2322import javax.swing.JButton;
    2423import javax.swing.JLabel;
     24import javax.swing.JOptionPane;
    2525import javax.swing.JPanel;
    2626import javax.swing.JScrollPane;
     
    3434import javax.swing.table.TableModel;
    3535
     36import org.openstreetmap.josm.Main;
    3637import org.openstreetmap.josm.data.conflict.ConflictItem;
    3738import org.openstreetmap.josm.data.conflict.DeleteConflict;
     
    160161                }
    161162               
    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                }
    164174
    165175                // have to initialize the JTables here and not in the declaration, because its constructor
Note: See TracChangeset for help on using the changeset viewer.