Skip to content

Commit 2be1bd9

Browse files
committed
Fixed indentation (and for consistency)
1 parent 4d0a6dd commit 2be1bd9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/simplejavacalculator/Calculator.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import static java.lang.Math.pow;
1717

1818
public class Calculator {
19+
1920
public enum BiOperatorModes {
2021
normal, add, minus, multiply, divide , xpowerofy
2122
}
@@ -106,8 +107,6 @@ public Double calculateMono(MonoOperatorModes newMode, Double num) {
106107
return Math.abs(num);
107108
}
108109

109-
110-
111110
// never reach
112111
throw new Error();
113112
}

src/simplejavacalculator/UI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* @modemail [email protected]
1616
* @modemail [email protected]
1717
*/
18+
1819
package simplejavacalculator;
1920

2021
import java.awt.FlowLayout;

0 commit comments

Comments
 (0)