X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-connector%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Frestconf%2Fimpl%2Ftest%2FRestOperationUtils.java;h=186dafb168621cfac851ff3fcfcbd5e0e838570c;hp=1f0daace70b484690497cbbdee69485053c092e7;hb=7bea173bf1c3c27d5fa366b25a0f83879105c56d;hpb=306f95ccf8d699e2eed111f193b2fc388fa03e70 diff --git a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestOperationUtils.java b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestOperationUtils.java index 1f0daace70..186dafb168 100644 --- a/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestOperationUtils.java +++ b/opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestOperationUtils.java @@ -4,9 +4,6 @@ import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URLEncoder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.core.MediaType; - import com.google.common.base.Charsets; public class RestOperationUtils { @@ -17,14 +14,6 @@ public class RestOperationUtils { private RestOperationUtils() { } - static Entity entity(String data, MediaType mediaType) { - return Entity.entity(data, mediaType); - } - - static Entity entity(String data, String mediaType) { - return Entity.entity(data, mediaType); - } - static String createUri(String prefix, String encodedPart) throws UnsupportedEncodingException { return URI.create(prefix + URLEncoder.encode(encodedPart, Charsets.US_ASCII.name()).toString()).toASCIIString(); }