{
List<DatabaseContainer> databases = new ArrayList<DatabaseContainer>();
ec.listDatabases(databases);
for (DatabaseContainer dbContainer: databases) {
if (dbContainer instanceof Index) {
Index index = (Index)dbContainer;
if (!index.isTrusted()) {
originalSystemErr.println("ERROR: The index " + index.toString() + " is no longer trusted.");
}
}
}
}
} catch (Exception e) {