this.ini = ini;
}
private void cleanup(final HttpServletRequest req,
final HttpServletResponse resp) throws IOException, JSONException {
final Couch couch = getCouch(req);
final Set<String> dbKeep = new HashSet<String>();
final JSONArray databases = couch.getAllDatabases();
for (int i = 0; i < databases.length(); i++) {
final Database db = couch.getDatabase(databases.getString(i));
final UUID uuid = db.getUuid();
if (uuid == null) {
continue;
}
dbKeep.add(uuid.toString());