Ignore:
Timestamp:
2017-05-07T16:37:57+02:00 (8 years ago)
Author:
bastiK
Message:

minor fixes to ensure unmodifiable StyleElement classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/TextLabel.java

    r11748 r12082  
    7777    @Deprecated
    7878    public TextLabel(LabelCompositionStrategy strategy, Font font, int xOffset, int yOffset, Color color, Float haloRadius, Color haloColor) {
    79         this(strategy, font, xOffset, yOffset, color, haloRadius, haloColor, new CompletelyInsideAreaStrategy());
     79        this(strategy, font, xOffset, yOffset, color, haloRadius, haloColor, CompletelyInsideAreaStrategy.INSTANCE);
    8080    }
    8181
     
    254254    @Override
    255255    public String toString() {
    256         return "TextElement{" + toStringImpl() + '}';
     256        return "TextLabel{" + toStringImpl() + '}';
    257257    }
    258258
Note: See TracChangeset for help on using the changeset viewer.