Changeset 11102 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2016-10-08T14:04:09+02:00 (3 years ago)
Author:
Don-vip
Message:

add more unit tests

Location:
trunk/src/org/openstreetmap/josm
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ShowStatusReportAction.java

    r10936 r11102  
    294294
    295295        switch (ed.showDialog().getValue()) {
    296             case 1: ta.copyToClippboard(); break;
     296            case 1: ta.copyToClipboard(); break;
    297297            case 2: BugReportSender.reportBug(reportHeader); break;
    298298            default: // Do nothing
  • trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportDialog.java

    r10819 r11102  
    111111        panel.add(new UrlLabel(Main.getJOSMWebsite() + "/newticket"), GBC.std().fill(GBC.HORIZONTAL));
    112112        JButton copy = new JButton("Copy to clipboard");
    113         copy.addActionListener(e -> textPanel.copyToClippboard());
     113        copy.addActionListener(e -> textPanel.copyToClipboard());
    114114        panel.add(copy, GBC.eol().anchor(GBC.EAST));
    115115        content.add(panel, GBC.eop().fill());
  • trunk/src/org/openstreetmap/josm/tools/bugreport/DebugTextDisplay.java

    r10695 r11102  
    6565     * Copies the debug text to the clipboard. This includes the code tags for trac.
    6666     * @return <code>true</code> if copy was successful
     67     * @since 11102 (typo)
    6768     */
    68     public boolean copyToClippboard() {
     69    public boolean copyToClipboard() {
    6970        return ClipboardUtils.copyString(String.format(CODE_PATTERN, text));
    7071    }
Note: See TracChangeset for help on using the changeset viewer.