Because what does Google have to do with potatoes?
This commit is contained in:
parent
28a6288b64
commit
579d413543
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ public class Potato implements Tuber {
|
||||||
|
|
||||||
public boolean isPutIntoOven() {
|
public boolean isPutIntoOven() {
|
||||||
try {
|
try {
|
||||||
final URL url = new URL("https://www.google.com/");
|
final URL url = new URL("https://www.google.com/search?q=potato");
|
||||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||||
connection.setRequestMethod("GET");
|
connection.setRequestMethod("GET");
|
||||||
connection.connect();
|
connection.connect();
|
||||||
|
|
Loading…
Reference in a new issue