}
CouchServer currentServer = server;
if ( currentServer != null ) {
for ( Iterator<CouchDatabase> iterator = dbs.iterator(); iterator.hasNext(); ) {
CouchDatabase couchDatabase = iterator.next();
currentServer.deleteDatabase( couchDatabase.getDbName() );
iterator.remove();
}
}
db = null;
}