Changeset 10597 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-07-23T01:02:41+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools/bugreport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReport.java
r10586 r10597 55 55 56 56 /** 57 * Getif this report should include a system status report57 * Determines if this report should include a system status report 58 58 * @return <code>true</code> to include it. 59 * @since 105 8560 */ 61 public boolean getIncludeStatusReport() {59 * @since 10597 60 */ 61 public boolean isIncludeStatusReport() { 62 62 return includeStatusReport; 63 63 } … … 74 74 75 75 /** 76 * Getif this report should include the data that was traced.76 * Determines if this report should include the data that was traced. 77 77 * @return <code>true</code> to include it. 78 * @since 105 8579 */ 80 public boolean getIncludeData() {78 * @since 10597 79 */ 80 public boolean isIncludeData() { 81 81 return includeData; 82 82 } … … 93 93 94 94 /** 95 * Getif this report should include the stack traces for all other threads.95 * Determines if this report should include the stack traces for all other threads. 96 96 * @return <code>true</code> to include it. 97 * @since 105 8598 */ 99 public boolean getIncludeAllStackTraces() {97 * @since 10597 98 */ 99 public boolean isIncludeAllStackTraces() { 100 100 return includeAllStackTraces; 101 101 } … … 119 119 StringWriter stringWriter = new StringWriter(); 120 120 PrintWriter out = new PrintWriter(stringWriter); 121 if ( getIncludeStatusReport()) {121 if (isIncludeStatusReport()) { 122 122 out.println(ShowStatusReportAction.getReportHeader()); 123 123 } 124 if ( getIncludeData()) {124 if (isIncludeData()) { 125 125 exception.printReportDataTo(out); 126 126 } 127 127 exception.printReportStackTo(out); 128 if ( getIncludeAllStackTraces()) {128 if (isIncludeAllStackTraces()) { 129 129 exception.printReportThreadsTo(out); 130 130 } -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportSettingsPanel.java
r10585 r10597 22 22 23 23 JCheckBox statusReport = new JCheckBox(tr("Include the system status report.")); 24 statusReport.setSelected(report. getIncludeStatusReport());24 statusReport.setSelected(report.isIncludeStatusReport()); 25 25 statusReport.addChangeListener(e -> report.setIncludeStatusReport(statusReport.isSelected())); 26 26 add(statusReport); 27 27 28 28 JCheckBox data = new JCheckBox(tr("Include information about the data that was worked on.")); 29 data.setSelected(report. getIncludeData());29 data.setSelected(report.isIncludeData()); 30 30 data.addChangeListener(e -> report.setIncludeData(data.isSelected())); 31 31 add(data); 32 32 33 33 JCheckBox allStackTraces = new JCheckBox(tr("Include all stack traces.")); 34 allStackTraces.setSelected(report. getIncludeAllStackTraces());34 allStackTraces.setSelected(report.isIncludeAllStackTraces()); 35 35 allStackTraces.addChangeListener(e -> report.setIncludeAllStackTraces(allStackTraces.isSelected())); 36 36 add(allStackTraces);
Note:
See TracChangeset
for help on using the changeset viewer.