Dan K
2019-07-16 eaf20b0fe63d0edae705cc260524c13044e66301
WIP:fix(ch9s6): add braces for if block
1 files modified
6 ■■■■ changed files
micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java 6 ●●●● patch | view | raw | blame | history
micro-java/src/main/java/com/redhat/training/openshift/hello/HelloResource.java
@@ -16,12 +16,12 @@
          String message = System.getenv().getOrDefault("APP_MSG", null);
          String response = "";
          if (message == null)
          if (message == null) {
            response = "Hello world from host "+hostname+"\n";
          else
          } else {
            response = "Hello world from host ["+hostname+"].";
            response += "Message received = "+message+"\n";
        }
        return response;
    }
}