private void invokeTeardown() throws AuthorizationException { int length = modules.size(); for (int i = 0; i < length; i++) { ACLProvider module = modules.get(i); boolean bool = module.tearDown(); if (!bool) throw new AuthorizationException("TearDown on module failed:" + module.getClass()); } modules.clear(); }