Changeset 1674 in josm for trunk/src/org
- Timestamp:
- 2009-06-16T10:40:40+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java
r1484 r1674 41 41 } 42 42 43 public void actionPerformed(ActionEvent e) { 43 public static String getReportHeader() 44 { 44 45 StringBuilder text = new StringBuilder(); 45 46 text.append(AboutAction.getTextBlock()); … … 57 58 text.append(PluginHandler.getBugReportText()); 58 59 text.append("\n\n"); 60 return text.toString(); 61 } 62 63 public void actionPerformed(ActionEvent e) { 64 StringBuilder text = new StringBuilder(); 65 text.append(getReportHeader()); 59 66 try { 60 67 BufferedReader input = new BufferedReader(new FileReader(Main.pref -
trunk/src/org/openstreetmap/josm/tools/BugReportExceptionHandler.java
r1415 r1674 21 21 import org.openstreetmap.josm.Main; 22 22 import org.openstreetmap.josm.actions.AboutAction; 23 import org.openstreetmap.josm.actions.ShowStatusReportAction; 23 24 import org.openstreetmap.josm.plugins.PluginHandler; 24 25 … … 59 60 e.printStackTrace(new PrintWriter(stack)); 60 61 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(); 65 64 66 65 JPanel p = new JPanel(new GridBagLayout());
Note:
See TracChangeset
for help on using the changeset viewer.