Revert "add endpointcost-northbound-route"
[alto.git] / alto-core / standard-northbound-routes / endpointcost / impl / src / main / java / org / opendaylight / alto / core / northbound / route / endpointcost / impl / EndpointcostRouteChecker.java
diff --git a/alto-core/standard-northbound-routes/endpointcost/impl/src/main/java/org/opendaylight/alto/core/northbound/route/endpointcost/impl/EndpointcostRouteChecker.java b/alto-core/standard-northbound-routes/endpointcost/impl/src/main/java/org/opendaylight/alto/core/northbound/route/endpointcost/impl/EndpointcostRouteChecker.java
deleted file mode 100644 (file)
index 8f0500c..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2015 Yale University 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.alto.core.northbound.route.endpointcost.impl;
-
-import javax.ws.rs.core.Response;
-
-import com.fasterxml.jackson.databind.JsonNode;
-
-public class EndpointcostRouteChecker {
-
-    public static Response checkMissing(JsonNode target, String field, String origin) {
-        if (target == null) {
-            // TODO :: report missing field, something like
-            // return new AltoMissingFieldError(field, origin);
-            return null;
-        }
-        return null;
-    }
-
-    public static Response checkList(JsonNode list, String field, String origin) {
-        if (!list.isArray()) {
-            // TODO :: report invalid field type, something like
-            // return new AltoInvalidFieldType(field, "array", origin);
-            return null;
-        }
-        return null;
-    }
-
-}