Skip to content

Commit c686367

Browse files
add weird main
1 parent 2add566 commit c686367

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

java-checks-test-sources/default/src/main/java/checks/StaticMethodCheckSample.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,4 +437,9 @@ void main() { // Compliant
437437
void main(String[] args) { // Compliant
438438
System.out.println("StaticMethodCheckSample main with args");
439439
}
440+
441+
// Intentional FN to keep things simple.
442+
void main(int i) { // Compliant
443+
System.out.println("i = " + i);
444+
}
440445
}

0 commit comments

Comments
 (0)