Fix bad cast

This commit is contained in:
Jesse Boyd 2017-02-13 04:39:42 +11:00
parent 47999d323b
commit 7069966f5f
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ public class Fast2DIterator implements Iterable<Vector2D> {
}
public Fast2DIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable HasFaweQueue editSession) {
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
}
public Fast2DIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable FaweQueue faweQueue) {

View File

@ -26,7 +26,7 @@ public class FastChunkIterator implements Iterable<Vector2D> {
}
public FastChunkIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable HasFaweQueue editSession) {
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
}
public FastChunkIterator(@Nonnull Iterable<? extends Vector2D> iter, @Nullable FaweQueue faweQueue) {

View File

@ -26,7 +26,7 @@ public class FastIterator implements Iterable<Vector> {
}
public FastIterator(@Nonnull Iterable<? extends Vector> iter, @Nullable HasFaweQueue editSession) {
this(iter, (FaweQueue) editSession != null ? editSession.getQueue() : null);
this(iter, (FaweQueue) (editSession != null ? editSession.getQueue() : null));
}
public FastIterator(@Nonnull Iterable<? extends Vector> iter, @Nullable FaweQueue faweQueue) {