From feeebae5fb480fcabddb59d491252043c14dbbb8 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Mon, 17 Mar 2014 01:17:42 +0100 Subject: [PATCH] remove tile load CancellationException - does not work with GWT async loading --- vtm/src/org/oscim/layers/tile/s3db/S3DBTileLoader.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vtm/src/org/oscim/layers/tile/s3db/S3DBTileLoader.java b/vtm/src/org/oscim/layers/tile/s3db/S3DBTileLoader.java index 7be3b3c1..2d2eff94 100644 --- a/vtm/src/org/oscim/layers/tile/s3db/S3DBTileLoader.java +++ b/vtm/src/org/oscim/layers/tile/s3db/S3DBTileLoader.java @@ -1,7 +1,5 @@ package org.oscim.layers.tile.s3db; -import java.util.concurrent.CancellationException; - import org.oscim.backend.canvas.Color; import org.oscim.core.GeometryBuffer.GeometryType; import org.oscim.core.MapElement; @@ -56,9 +54,6 @@ class S3DBTileLoader extends TileLoader { try { /* query database, which calls process() callback */ mTileDataSource.query(mTile, this); - } catch (CancellationException e) { - log.debug("{}", e); - return false; } catch (Exception e) { log.debug("{}", e); return false;