if ( dataStore == null ) {
continue; // disabled or not a DataStore
}
LockingManager lockingManager = dataStore.getLockingManager();
if (lockingManager == null) {
continue; // locks not supported
}
org.geotools.data.Transaction t = new DefaultTransaction("Refresh "
+ meta.getWorkspace().getName());
try {
t.addAuthorization(lockId);
if (lockingManager.release(lockId, t)) {
refresh = true;
}
} catch (IOException e) {
LOGGER.log(Level.WARNING, e.getMessage(), e);
} finally {