fix(micro-java): add newline char to output str
This commit is contained in:
parent
1dc1e7e1dd
commit
f9e42817fa
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ public class HelloResource {
|
|||
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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue