Skip to content

Commit 580ac47

Browse files
author
stone.shi
committed
correct java main method signature, otherwise performance can't be run in IDE
1 parent 6cabd68 commit 580ac47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎performance-tests/src/test/java/com/baeldung/performancetests/benchmark/MappingFrameworksPerformance.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public void setUp() {
9797
sourceCode = new SourceCode("This is source code!");
9898
}
9999

100-
public void main(String[] args) throws IOException, RunnerException {
100+
public static void main(String[] args) throws IOException, RunnerException {
101101
org.openjdk.jmh.Main.main(args);
102102
}
103103

0 commit comments

Comments
 (0)