From 579d4135439fc06a449afaa4f0dc24e32aa58987 Mon Sep 17 00:00:00 2001 From: Tom B Date: Tue, 2 Sep 2014 02:25:53 +0100 Subject: [PATCH] Because what does Google have to do with potatoes? --- src/main/java/org/drtshock/Potato.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index 5a72871..b418664 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -36,7 +36,7 @@ public class Potato implements Tuber { public boolean isPutIntoOven() { 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(); connection.setRequestMethod("GET"); connection.connect();