Make enum members final
@@ -40,9 +40,8 @@ public interface RequestContext {
//fatal:
ERROR_PROCESSING_FAILURE(Response.Status.INTERNAL_SERVER_ERROR, DocumentProtocol.ERROR_PROCESSING_FAILURE);
-
- private int discStatus;
- private int documentProtocolStatus;
+ private final int discStatus;
+ private final int documentProtocolStatus;
ErrorCode(int discStatus, int documentProtocolStatus) {
this.discStatus = discStatus;
