Fix CS warnings in cds-access-api and enable enforcement
[controller.git] / opendaylight / md-sal / cds-access-api / src / main / java / org / opendaylight / controller / cluster / access / concepts / AbstractResponseEnvelopeProxy.java
1 /*
2  * Copyright (c) 2016 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.cluster.access.concepts;
9
10 abstract class AbstractResponseEnvelopeProxy<T extends Response<?, ?>> extends AbstractEnvelopeProxy<T> {
11     private static final long serialVersionUID = 1L;
12
13     protected AbstractResponseEnvelopeProxy() {
14         // for Externalizable
15     }
16
17     AbstractResponseEnvelopeProxy(final ResponseEnvelope<T> envelope) {
18         super(envelope);
19     }
20
21     @Override
22     abstract ResponseEnvelope<T> createEnvelope(T message, long sequence, long retry);
23 }