maven cleanup work
This commit is contained in:
+5
-6
@@ -1,5 +1,10 @@
|
||||
package com.baeldung.servlets;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.http.HttpResponse;
|
||||
import org.apache.http.client.HttpClient;
|
||||
import org.apache.http.client.entity.UrlEncodedFormEntity;
|
||||
@@ -8,11 +13,6 @@ import org.apache.http.impl.client.DefaultHttpClient;
|
||||
import org.apache.http.message.BasicNameValuePair;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
public class FormServletLiveTest {
|
||||
|
||||
@Test
|
||||
@@ -25,7 +25,6 @@ public class FormServletLiveTest {
|
||||
nvps.add(new BasicNameValuePair("height", String.valueOf(2)));
|
||||
nvps.add(new BasicNameValuePair("weight", String.valueOf(80)));
|
||||
|
||||
|
||||
method.setEntity(new UrlEncodedFormEntity(nvps));
|
||||
HttpResponse httpResponse = client.execute(method);
|
||||
|
||||
Reference in New Issue
Block a user