File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
jabkit/src/main/java/org/jabref
jabls-cli/src/main/java/org/jabref/languageserver/cli
jabsrv-cli/src/main/java/org/jabref/http/server/cli Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ public class JabKit {
5858
5959 private static final String JABKIT_BRAND = "JabKit - command line toolkit for JabRef" ;
6060
61- static void main (String [] args ) {
61+ /// @implNote method needs to be public, because JabKitLauncher calls it.
62+ public static void main (String [] args ) {
6263 initLogging (args );
6364
6465 try {
Original file line number Diff line number Diff line change @@ -19,7 +19,8 @@ public class ServerCli implements Callable<Void> {
1919 @ CommandLine .Option (names = {"-p" , "--port" }, description = "the port" )
2020 private Integer port = 2087 ;
2121
22- static void main (final String [] args ) throws InterruptedException {
22+ /// @implNote method needs to be public, because JabLsLauncher calls it.
23+ public static void main (final String [] args ) throws InterruptedException {
2324 SLF4JBridgeHandler .removeHandlersForRootLogger ();
2425 SLF4JBridgeHandler .install ();
2526
Original file line number Diff line number Diff line change @@ -34,8 +34,10 @@ public class ServerCli implements Callable<Void> {
3434 /**
3535 * Starts an http server serving the last files opened in JabRef<br>
3636 * More files can be provided as args.
37+ *
38+ * @implNote method needs to be public, because JabServLauncher calls it.
3739 */
38- static void main (final String [] args ) throws InterruptedException {
40+ public static void main (final String [] args ) throws InterruptedException {
3941 SLF4JBridgeHandler .removeHandlersForRootLogger ();
4042 SLF4JBridgeHandler .install ();
4143
You can’t perform that action at this time.
0 commit comments