17271728172917301731173217331734173517361737
final Resource styleResource = dataDir().style(info); styleResource.addListener( new ResourceListener() { @Override public void changed(ResourceNotification notify) { styleCache.remove(info); styleResource.removeListener( this ); } }); } }