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


Ignore:
Timestamp:
2017-12-03T16:06:09+01:00 (7 years ago)
Author:
Don-vip
Message:

fix Checkstyle/PMD issues, increase some test timeouts, update to Groovy 2.4.13

File:
1 edited

Legend:

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

    r13187 r13188  
    44import java.awt.BorderLayout;
    55import java.awt.Color;
    6 import java.awt.Image;
    76import java.awt.Insets;
    87import java.awt.event.ActionListener;
    98import java.beans.PropertyChangeListener;
    109
     10import javax.swing.AbstractAction;
    1111import javax.swing.Action;
    1212import javax.swing.BorderFactory;
    13 import javax.swing.Icon;
    14 import javax.swing.ImageIcon;
    1513import javax.swing.JButton;
    1614import javax.swing.SwingConstants;
     
    2018import org.openstreetmap.josm.tools.ImageProvider;
    2119import org.openstreetmap.josm.tools.ImageResource;
    22 import org.openstreetmap.josm.tools.JosmRuntimeException;
    23 import org.openstreetmap.josm.tools.Logging;
    2420
    2521/**
     
    3430     * Constructs a new {@code SideButton}.
    3531     * @param action action used to specify the new button
    36      * an icon must be provided with {@link ImageResource#attachImageIcon(AbstractAction this, boolean true)}
     32     * an icon must be provided with {@link ImageResource#attachImageIcon(AbstractAction, boolean)}
    3733     * @throws IllegalArgumentException if no icon provided
    3834     * @since 744
Note: See TracChangeset for help on using the changeset viewer.