Skip to content

Commit 44bc784

Browse files
committed
- use constant parameters whenever possible
1 parent 797fb20 commit 44bc784

File tree

1 file changed

+2
-2
lines changed
  • sampling-message-server/src/main/java/de/dhbw/ravensburg/verteiltesysteme/server

1 file changed

+2
-2
lines changed

sampling-message-server/src/main/java/de/dhbw/ravensburg/verteiltesysteme/server/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ public static void main(String[] args) {
6060
*
6161
* @param errorMessage Message to be displayed on the console during the program shutdown
6262
*/
63-
private static void exitWithError(String errorMessage) {
63+
private static void exitWithError(final String errorMessage) {
6464
log.error(errorMessage);
6565
exitWithHelpScreen(1);
6666
}
6767

68-
private static void exitWithHelpScreen(int exitCode) {
68+
private static void exitWithHelpScreen(final int exitCode) {
6969
new HelpFormatter().printHelp("sampling-message-server", defaultOptions());
7070
System.exit(exitCode);
7171
}

0 commit comments

Comments
 (0)