mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 20:44:39 +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
@ -28,9 +28,9 @@ public final class PostfixToInfix {
|
||||
case '*':
|
||||
case '^':
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public static boolean isValidPostfixExpression(String postfix) {
|
||||
|
Reference in New Issue
Block a user