Commit dc1222b3 authored by Michael Ritter's avatar Michael Ritter
Browse files

Use CollectionState enum instead of char

parent 6945d444
......@@ -719,7 +719,8 @@ public final class AuditThread extends Thread implements CancelCallback {
EntityManager em = PersistUtil.getEntityManager();
if (baseItemPathList != null) {
if (coll.getState() == '\0' || coll.getState() == 'N') {
CollectionState state = coll.getStateEnum();
if (state == null || state == CollectionState.NEVER) {
return;
}
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment