Skip to content

Commit

Permalink
Require metastore when using a discontinuous tile range
Browse files Browse the repository at this point in the history
git-svn-id: http://geowebcache.org/svn/trunk@894 e7b91dd5-889a-44ae-8e97-0abfc27e49b2
  • Loading branch information
Arne Kepp committed Jan 25, 2010
1 parent de6cb79 commit d664ee3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ public boolean delete(TileRange trObj) throws StorageException {
if(metaStoreEnabled) {
return metaStore.delete(blobStore, trObj);
} else {
if(trObj instanceof DiscontinuousTileRange) {
throw new StorageException(
"DiscontinuousTileRange currently requries a metastore."
);
}
return blobStore.delete(trObj);
}
}
Expand Down

0 comments on commit d664ee3

Please sign in to comment.