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=0c44f220ba2c1f8f26d4995d5037449a0614b7ef;hpb=58fa0dd65634800eccaa1bbe85769835a0e6e071 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(); }