fix indentation
This commit is contained in:
parent
60ddc77b58
commit
47c42b0c6a
Binary file not shown.
|
@ -31,7 +31,9 @@ public class WitchGame {
|
||||||
//Print Total witches
|
//Print Total witches
|
||||||
System.out.format("%s%n%s%n%s%n", LINE_BREAK, "Now, printing total number of witches", LINE_BREAK);
|
System.out.format("%s%n%s%n%s%n", LINE_BREAK, "Now, printing total number of witches", LINE_BREAK);
|
||||||
System.out.println(Witch.getTotalWitches());
|
System.out.println(Witch.getTotalWitches());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static String parseCompareTo(Witch witch1,Witch witch2) {
|
static String parseCompareTo(Witch witch1,Witch witch2) {
|
||||||
return switch (witch1.compareTo(witch2)) {
|
return switch (witch1.compareTo(witch2)) {
|
||||||
case 1:
|
case 1:
|
||||||
|
|
Loading…
Reference in New Issue