Dan K
2019-07-19 f9e42817fafbb28b602b0a5873dbd90459a8a81f
fix(micro-java): add newline char to output str
1 files modified
2 ■■■ changed files
micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java 2 ●●● patch | view | raw | blame | history
micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java
@@ -19,7 +19,7 @@
          if (message == null) {
            response = "Hello world from host "+hostname+"\n";
          } else {
            response = "Hello world from host ["+hostname+"].";
            response = "Hello world from host ["+hostname+"].\n";
            response += "Message received = "+message+"\n";
        }
        return response;