5253545556575859606162
break; default: throw new UnsupportedOperationException(); } if (!AccessControl.isAllowed(UserApp.currentUser(), thread.asResource(), operation)) { return forbidden(); } CommentThread.ThreadState previousState = thread.state; thread.state = state;