diff options
| author | Trent Hensler <drtshock13@gmail.com> | 2016-10-27 14:05:24 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-27 14:05:24 -0700 |
| commit | eb609105eab3bc48d61d4f05dcf30150ac5c3d96 (patch) | |
| tree | 164c9b7a19b44c0f75e0bc1f07dbd8f66402ff52 /src/main/java/org | |
| parent | 5fcb5bbee79a72e9b3b06b7e656162b4f176dac5 (diff) | |
| parent | 54ef2913989096a6cddce1d92500e96a2bab68c3 (diff) | |
Merge pull request #87 from j0ach1mmall3/master
Remove unneccessary final
Diffstat (limited to 'src/main/java/org')
| -rw-r--r-- | src/main/java/org/drtshock/Potato.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/drtshock/Potato.java b/src/main/java/org/drtshock/Potato.java index fc591bd..9e2123e 100644 --- a/src/main/java/org/drtshock/Potato.java +++ b/src/main/java/org/drtshock/Potato.java @@ -14,7 +14,7 @@ public class Potato implements Tuber { private final List<Condiment> condiments = new ArrayList<>(); public static void main(String[] args) { - final Potato potato = new Potato(); + Potato potato = new Potato(); try { potato.prepare(); System.out.println("Of course potato is prepared and delicious."); @@ -77,7 +77,7 @@ public class Potato implements Tuber { */ public boolean isPutIntoOven() throws OvenException { try { - final URL url = new URL("https://www.google.com/search?q=potato"); + URL url = new URL("https://www.google.com/search?q=potato"); HttpURLConnection connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("GET"); connection.addRequestProperty("User-Agent", "Potato"); |
