Skip to content

Commit cef8197

Browse files
committed
[ISSUE 142] update error message
1 parent 8dd9fda commit cef8197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/greencodeinitiative/python/checks/AvoidMultipleIfElseStatementCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
@Rule(key = "EC2")
4848
public class AvoidMultipleIfElseStatementCheck extends PythonSubscriptionCheck {
4949

50-
public static final String ERROR_MESSAGE = "Use a switch statement instead of multiple if-else if possible";
50+
public static final String ERROR_MESSAGE = "Use a match-case statement instead of multiple if-else if possible";
5151

5252
// data structure for following usage of variable inside all the AST tree
5353
private VariablesPerLevelDataStructure variablesStruct = new VariablesPerLevelDataStructure();

0 commit comments

Comments
 (0)