Untitled
public text v1 · immutable private boolean isApproved(DirectoryHandle dir) {
try {
if (dir.getPluginMetaData(Approve.APPROVE) == true) {
return true;
}
} catch (FileNotFoundException e) {
// Dir no longer exists (shouldn't happend) - ignore though
} catch (KeyNotFoundException e) {
// Key doesn't exist (Good) - ignore
}
return false;
}