File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/com/ericsson/eiffel/remrem/generate/cli Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ apply plugin: 'war'
2020
2121war {
2222 baseName = ' remrem-generate'
23- version = ' 0.5.6 '
23+ version = ' 0.5.7 '
2424}
2525
2626
Original file line number Diff line number Diff line change 44import java .io .PrintWriter ;
55import java .nio .file .Files ;
66import java .nio .file .Paths ;
7+ import java .util .Locale ;
78
89import org .apache .commons .cli .CommandLine ;
910import org .apache .commons .cli .CommandLineParser ;
@@ -182,7 +183,7 @@ private void handleJsonString(String jsonString,
182183 String responseFilePath = null ;
183184 if (commandLine .hasOption ("r" ))
184185 responseFilePath = commandLine .getOptionValue ("r" );
185- String msgType = commandLine .getOptionValue ("t" );
186+ String msgType = commandLine .getOptionValue ("t" ). toLowerCase ( Locale . ROOT ) ;
186187 try {
187188 JsonParser parser = new JsonParser ();
188189 JsonObject jsonContent = parser .parse (jsonString ).getAsJsonObject ();
@@ -214,7 +215,6 @@ private MsgService getMessageService(CommandLine commandLine) {
214215
215216 }
216217 } else {
217- System .out .println ( "No protocol has been specified. Semantics is used as default" );
218218 for (MsgService service : msgServices ) {
219219 if (service instanceof SemanticsService )
220220 return service ;
You can’t perform that action at this time.
0 commit comments