useless sync
This commit is contained in:
parent
de24860ad4
commit
9b5d31bcf3
@ -395,7 +395,6 @@ public class LabelPlacement {
|
||||
/* add way labels */
|
||||
for (int i = 0, n = mTileSet.cnt; i < n; i++) {
|
||||
MapTile t = tiles[i];
|
||||
synchronized (t) {
|
||||
if (!t.state(READY | NEW_DATA))
|
||||
continue;
|
||||
|
||||
@ -405,12 +404,10 @@ public class LabelPlacement {
|
||||
|
||||
l = addWayLabels(t, l, dx, dy, scale);
|
||||
}
|
||||
}
|
||||
|
||||
/* add caption */
|
||||
for (int i = 0, n = mTileSet.cnt; i < n; i++) {
|
||||
MapTile t = tiles[i];
|
||||
synchronized (t) {
|
||||
if (!t.state(READY | NEW_DATA))
|
||||
continue;
|
||||
|
||||
@ -420,7 +417,6 @@ public class LabelPlacement {
|
||||
|
||||
l = addNodeLabels(t, l, dx, dy, scale, cos, sin);
|
||||
}
|
||||
}
|
||||
|
||||
for (Label ti = mLabels; ti != null; ti = (Label) ti.next) {
|
||||
/* add caption symbols */
|
||||
@ -451,7 +447,6 @@ public class LabelPlacement {
|
||||
/* add symbol items */
|
||||
for (int i = 0, n = mTileSet.cnt; i < n; i++) {
|
||||
MapTile t = tiles[i];
|
||||
synchronized (t) {
|
||||
if (!t.state(READY | NEW_DATA))
|
||||
continue;
|
||||
|
||||
@ -481,7 +476,6 @@ public class LabelPlacement {
|
||||
sl.addSymbol(s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* temporary used Label */
|
||||
l = (Label) mPool.release(l);
|
||||
|
Loading…
x
Reference in New Issue
Block a user