From 556cb137c97de4d658cacca1a3f552117011d848 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 5 Feb 2024 13:54:29 +0100 Subject: [PATCH] Remove AbstractVoidService RPCs have not been producing Void for a long time, remove AbstractVoidService, as it has only be useful in that context. Change-Id: I09194eaff79767df9c291fe2639761cb45f4339f Signed-off-by: Robert Varga --- .../impl/services/AbstractVoidService.java | 26 ------------------- 1 file changed, 26 deletions(-) delete mode 100644 openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractVoidService.java diff --git a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractVoidService.java b/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractVoidService.java deleted file mode 100644 index 4eb14a5ce7..0000000000 --- a/openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/AbstractVoidService.java +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.openflowplugin.impl.services; - -import com.google.common.util.concurrent.FutureCallback; -import org.opendaylight.openflowplugin.api.openflow.device.DeviceContext; -import org.opendaylight.openflowplugin.api.openflow.device.RequestContext; -import org.opendaylight.openflowplugin.api.openflow.device.RequestContextStack; -import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader; - -public abstract class AbstractVoidService extends AbstractService { - protected AbstractVoidService(final RequestContextStack requestContextStack, final DeviceContext deviceContext) { - super(requestContextStack, deviceContext); - } - - @Override - protected final FutureCallback createCallback(final RequestContext context, - final Class requestType) { - return new VoidRequestCallback(context, requestType, getMessageSpy()); - } -} -- 2.36.6