thomasmueller commented on code in PR #640:
URL: https://github.com/apache/jackrabbit-oak/pull/640#discussion_r932933845
##########
oak-benchmarks-elastic/src/main/java/org/apache/jackrabbit/oak/benchmark/ElasticBenchmarkRunner.java:
##########
@@ -25,7 +25,7 @@ public class ElasticBenchmarkRunner extends BenchmarkRunner {
private static ElasticConnection connection;
- public static void main(String[] args) throws Exception {
+ public static int main(String[] args) throws Exception {
Review Comment:
Actually... With System.exit(code), behaviour of existing code would change
it it calls the main method from some other method... so instead of
System.exit(code > 0), maybe throwing an exception would be the right way?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]