Changeset 11855 in josm for trunk/src/org


Ignore:
Timestamp:
2017-04-08T01:37:04+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:ISB_TOSTRING_APPENDING - Correctness - Method concatenates the result of a toString() call

File:
1 edited

Legend:

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

    r11846 r11855  
    44import java.awt.geom.AffineTransform;
    55import java.awt.geom.Point2D;
     6
    67import org.openstreetmap.gui.jmapviewer.interfaces.IProjected;
    78
     
    2223 *   <li>screen pixel coordinates</li>
    2324 * </ul>
     25 * @since 11846
    2426 */
    2527public class TileAnchor {
     
    5355    @Override
    5456    public String toString() {
    55         return "TileAnchor{" + tileOrigin.toString() + "; " + nextTileOrigin.toString() + "}";
     57        return "TileAnchor{" + tileOrigin + "; " + nextTileOrigin + '}';
    5658    }
    5759
Note: See TracChangeset for help on using the changeset viewer.