Ignore:
Timestamp:
2014-02-25T01:31:24+01:00 (11 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

Location:
trunk/src/org/openstreetmap/josm/gui/widgets
Files:
2 edited

Legend:

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

    r6362 r6883  
    3333 */
    3434public abstract class AbstractTextComponentValidator implements ActionListener, FocusListener, DocumentListener, PropertyChangeListener{
    35     static final private Border ERROR_BORDER = BorderFactory.createLineBorder(Color.RED, 1);
    36     static final private Color ERROR_BACKGROUND =  new Color(255,224,224);
     35    private static final Border ERROR_BORDER = BorderFactory.createLineBorder(Color.RED, 1);
     36    private static final Color ERROR_BACKGROUND =  new Color(255,224,224);
    3737
    3838    private JTextComponent tc;
  • trunk/src/org/openstreetmap/josm/gui/widgets/BoundingBoxSelectionPanel.java

    r6380 r6883  
    121121    }
    122122
    123     static private class LatitudeValidator extends AbstractTextComponentValidator {
     123    private static class LatitudeValidator extends AbstractTextComponentValidator {
    124124
    125125        public static void decorate(JTextComponent tc) {
     
    161161    }
    162162
    163     static private class LongitudeValidator extends AbstractTextComponentValidator{
     163    private static class LongitudeValidator extends AbstractTextComponentValidator{
    164164
    165165        public static void decorate(JTextComponent tc) {
Note: See TracChangeset for help on using the changeset viewer.