Gets rid of missing imports
This commit is contained in:
parent
935cb66403
commit
cc5df5a812
2 changed files with 1 additions and 8 deletions
|
@ -1,11 +1,5 @@
|
||||||
package dev.zontreck.ariaslib.http;
|
package dev.zontreck.ariaslib.http;
|
||||||
|
|
||||||
import com.sun.istack.internal.NotNull;
|
|
||||||
|
|
||||||
import java.net.HttpURLConnection;
|
|
||||||
import java.net.MalformedURLException;
|
|
||||||
import java.net.URL;
|
|
||||||
|
|
||||||
public class HTTPRequest
|
public class HTTPRequest
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
package dev.zontreck.ariaslib.http;
|
package dev.zontreck.ariaslib.http;
|
||||||
|
|
||||||
import com.sun.istack.internal.NotNull;
|
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.net.HttpURLConnection;
|
import java.net.HttpURLConnection;
|
||||||
|
@ -30,7 +29,7 @@ public class HTTPRequestBuilder
|
||||||
* @return Builder instance
|
* @return Builder instance
|
||||||
* @throws MalformedURLException If the URL supplied was invalid
|
* @throws MalformedURLException If the URL supplied was invalid
|
||||||
*/
|
*/
|
||||||
public HTTPRequestBuilder withURL(@NotNull String url) throws MalformedURLException {
|
public HTTPRequestBuilder withURL( String url) throws MalformedURLException {
|
||||||
request.url = url;
|
request.url = url;
|
||||||
this.url = new URL(url);
|
this.url = new URL(url);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue