aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/drtshock
diff options
context:
space:
mode:
authorj0ach1mmall3 <business@j0ach1mmall3.com>2016-09-28 13:00:20 +0200
committerj0ach1mmall3 <business@j0ach1mmall3.com>2016-09-28 13:00:20 +0200
commit54ef2913989096a6cddce1d92500e96a2bab68c3 (patch)
tree4ee8e115635dedc481c66d4adcf0d45f79857916 /src/main/java/org/drtshock
parent862099b76bdcf6d31a42281ff4a242e29b1bc202 (diff)
Remove unneccessary final
Diffstat (limited to 'src/main/java/org/drtshock')
-rw-r--r--src/main/java/org/drtshock/Potato.java4
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 4eb7390..73113e5 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<Condiment>();
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.");
@@ -76,7 +76,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");