We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8144c commit 0cefe4cCopy full SHA for 0cefe4c
src/main/java/com/example/Main.java
@@ -84,6 +84,7 @@ public static void main(String[] args) {
84
else {
85
dagensDatum = LocalDate.now();
86
}
87
+
88
ElpriserAPI.Prisklass zon;
89
90
if (zoneOf == null || !validZones.contains(zoneOf.toUpperCase())) {
@@ -129,10 +130,9 @@ public static void main(String[] args) {
129
130
131
//Metod som anropas om det inmatats ett felaktigt argument
132
private static void ifInvalidChoice() {
- boolean isHelped;
133
System.out.println("Ogiltigt val, du skickas nu till hjälpmeny");
134
helpMe();
135
- isHelped = true;
136
137
// metod för --help att skickas till if-sats
138
public static void helpMe() {
0 commit comments