Changeset 8644 in josm for trunk/src/org


Ignore:
Timestamp:
2015-08-07T16:51:31+02:00 (5 years ago)
Author:
Don-vip
Message:

fix checkstyle issues

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

Legend:

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

    r8643 r8644  
    10421042            StringBuilder line = new StringBuilder();
    10431043            StringBuilder ret = new StringBuilder();
    1044             for(String s: text.split(" ")) {
     1044            for (String s: text.split(" ")) {
    10451045                if (g.getFontMetrics().stringWidth(line.toString() + s) > tileSource.getTileSize()) {
    10461046                    ret.append(line).append("\n");
  • trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java

    r8641 r8644  
    1010import java.awt.Dimension;
    1111import java.awt.Font;
    12 import java.awt.GraphicsEnvironment;
    1312import java.awt.GridBagLayout;
    1413import java.awt.Image;
     
    2221import java.awt.image.FilteredImageSource;
    2322import java.lang.reflect.InvocationTargetException;
    24 import java.util.Arrays;
    2523import java.util.Enumeration;
    26 import java.util.List;
    2724import java.util.concurrent.Callable;
    2825import java.util.concurrent.ExecutionException;
Note: See TracChangeset for help on using the changeset viewer.