shorten string

This commit is contained in:
Hannes Janetzek 2012-09-26 21:41:58 +02:00
parent 7b247f3af3
commit dae474922a

View File

@ -15,8 +15,9 @@
package org.oscim.core; package org.oscim.core;
/** /**
* A tile represents a rectangular part of the world map. All tiles can be identified by their X and Y number together * A tile represents a rectangular part of the world map. All tiles can be
* with their zoom level. The actual area that a tile covers on a map depends on the underlying map projection. * identified by their X and Y number together with their zoom level. The actual
* area that a tile covers on a map depends on the underlying map projection.
*/ */
public class Tile { public class Tile {
@ -68,11 +69,11 @@ public class Tile {
@Override @Override
public String toString() { public String toString() {
StringBuilder stringBuilder = new StringBuilder(); StringBuilder stringBuilder = new StringBuilder();
stringBuilder.append("Tile [tileX="); stringBuilder.append("[X:");
stringBuilder.append(this.tileX); stringBuilder.append(this.tileX);
stringBuilder.append(", tileY="); stringBuilder.append(", Y:");
stringBuilder.append(this.tileY); stringBuilder.append(this.tileY);
stringBuilder.append(", zoomLevel="); stringBuilder.append(", Z:");
stringBuilder.append(this.zoomLevel); stringBuilder.append(this.zoomLevel);
stringBuilder.append("]"); stringBuilder.append("]");
return stringBuilder.toString(); return stringBuilder.toString();