moagrius / MapView

(Deprecated, prefer https://github.com/moagrius/TileView) Android widget roughly described as a hybrid between com.google.android.maps.MapView and iOS's CATiledLayer
http://moagrius.github.com/MapView/documentation
69 stars 35 forks source link

fix nullpointer exception in downsamplemanager #36

Closed Shusshu closed 11 years ago

Shusshu commented 11 years ago

There was a npe so this is my fix but maybe you want to do something differently but for sure there's a problem and this pull request could be the solution

moagrius commented 11 years ago

Gah - my fault on that. I want to check null first, then compare filenames, but I'm going to merge this for now - will swap a couple lines as soon as I get a moment.

Thanks for the quick catch.