Removal of migrated or obsolute artifacts.
[yangtools.git] / restconf / restconf-client-impl / src / main / java / org / opendaylight / yangtools / restconf / client / to / RestRpcResult.java
diff --git a/restconf/restconf-client-impl/src/main/java/org/opendaylight/yangtools/restconf/client/to/RestRpcResult.java b/restconf/restconf-client-impl/src/main/java/org/opendaylight/yangtools/restconf/client/to/RestRpcResult.java
deleted file mode 100644 (file)
index a2b7243..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright (c) 2013 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.yangtools.restconf.client.to;
-
-import java.util.Collection;
-import org.opendaylight.yangtools.yang.common.RpcError;
-import org.opendaylight.yangtools.yang.common.RpcResult;
-
-public final class RestRpcResult implements RpcResult {
-
-    private boolean succeeded;
-    private Object result;
-    private Collection<RpcError> errors;
-
-    public RestRpcResult(boolean succeeded,Object result,Collection<RpcError> errors){
-        this.succeeded = succeeded;
-        this.result = result;
-        this.errors = errors;
-    }
-    public RestRpcResult(boolean succeeded,Object result){
-        this.succeeded = succeeded;
-        this.result = result;
-    }
-
-    @Override
-    public boolean isSuccessful() {
-        return false;
-    }
-
-    @Override
-    public Object getResult() {
-        return this.result;
-    }
-
-    @Override
-    public Collection<RpcError> getErrors() {
-        return this.errors;
-    }
-
-    public boolean isSucceeded() {
-        return succeeded;
-    }
-
-}