mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: enable MissingSwitchDefault in checkstyle (#5179)
* Update directory * Update directory * Update directory * Update directory * add switch default --------- Co-authored-by: BamaCharanChhandogi <BamaCharanChhandogi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
9eaa2bb756
commit
37c2a96fe2
@@ -51,6 +51,9 @@ public final class Sort012D {
|
||||
h--;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
throw new IllegalArgumentException("Unexpected value: " + a[mid]);
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("the Sorted array is ");
|
||||
|
||||
Reference in New Issue
Block a user