Merge "BUG 2412 - restconf @GET getModule(identifier,uri) method migration"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / messages / WriteDataReply.java
1 /*
2  * Copyright (c) 2014 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
9 package org.opendaylight.controller.cluster.datastore.messages;
10
11 import org.opendaylight.controller.protobuff.messages.transaction.ShardTransactionMessages;
12
13 /**
14  * @deprecated Replaced by BatchedModificationsReply.
15  */
16 @Deprecated
17 public class WriteDataReply extends EmptyReply {
18     private static final long serialVersionUID = 1L;
19
20     private static final Object LEGACY_SERIALIZED_INSTANCE =
21             ShardTransactionMessages.WriteDataReply.newBuilder().build();
22
23     public static final WriteDataReply INSTANCE = new WriteDataReply();
24
25     public WriteDataReply() {
26         super(LEGACY_SERIALIZED_INSTANCE);
27     }
28 }