Ignore:
Timestamp:
2009-06-16T10:40:40+02:00 (15 years ago)
Author:
stoecker
Message:

add memory size to bug report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java

    r1415 r1674  
    2121import org.openstreetmap.josm.Main;
    2222import org.openstreetmap.josm.actions.AboutAction;
     23import org.openstreetmap.josm.actions.ShowStatusReportAction;
    2324import org.openstreetmap.josm.plugins.PluginHandler;
    2425
     
    5960                    e.printStackTrace(new PrintWriter(stack));
    6061
    61                     String text = AboutAction.getTextBlock();
    62                     text += "Java version: " + System.getProperty("java.version")+"\n";
    63                     text += PluginHandler.getBugReportText();
    64                     text += "\n" + stack.getBuffer().toString();
     62                    String text = ShowStatusReportAction.getReportHeader()
     63                    + stack.getBuffer().toString();
    6564
    6665                    JPanel p = new JPanel(new GridBagLayout());
Note: See TracChangeset for help on using the changeset viewer.