mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-01 22:30:14 +02:00
Because what does Google have to do with potatoes?
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user