Remove sal.core.api.RpcRoutingContext 89/73889/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 10 Jul 2018 17:39:35 +0000 (19:39 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 10 Jul 2018 17:39:35 +0000 (19:39 +0200)
This class is not used anywhere, remove it.

Change-Id: Ibaad5ad39fe1726016c87b4d1c01660b1f301613
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/RpcRoutingContext.java [deleted file]

diff --git a/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/RpcRoutingContext.java b/opendaylight/md-sal/sal-dom-api/src/main/java/org/opendaylight/controller/sal/core/api/RpcRoutingContext.java
deleted file mode 100644 (file)
index a847d32..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2014 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.controller.sal.core.api;
-
-import java.io.Serializable;
-import org.opendaylight.yangtools.concepts.Immutable;
-import org.opendaylight.yangtools.yang.common.QName;
-
-public final class RpcRoutingContext implements Immutable, Serializable {
-    private static final long serialVersionUID = -9079324728075883325L;
-
-    private final QName context;
-    private final QName rpc;
-
-
-    private RpcRoutingContext(QName context, QName rpc) {
-        this.context = context;
-        this.rpc = rpc;
-    }
-
-    public static RpcRoutingContext create(QName context, QName rpc) {
-        return new RpcRoutingContext(context, rpc);
-    }
-
-    public QName getContext() {
-        return context;
-    }
-
-    public QName getRpc() {
-        return rpc;
-    }
-
-    @Override
-    public String toString() {
-        return "RpcRoutingContext [context=" + context + ", rpc=" + rpc + "]";
-    }
-
-    @Override
-    public int hashCode() {
-        final int prime = 31;
-        int result = 1;
-        result = prime * result + (context == null ? 0 : context.hashCode());
-        result = prime * result + (rpc == null ? 0 : rpc.hashCode());
-        return result;
-    }
-
-    @Override
-    public boolean equals(Object obj) {
-        if (this == obj) {
-            return true;
-        }
-        if (obj == null) {
-            return false;
-        }
-        if (getClass() != obj.getClass()) {
-            return false;
-        }
-        RpcRoutingContext other = (RpcRoutingContext) obj;
-        if (context == null) {
-            if (other.context != null) {
-                return false;
-            }
-        } else if (!context.equals(other.context)) {
-            return false;
-        }
-        if (rpc == null) {
-            if (other.rpc != null) {
-                return false;
-            }
-        } else if (!rpc.equals(other.rpc)) {
-            return false;
-        }
-        return true;
-    }
-}

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.