fix(micro-java): add newline char to output str
This commit is contained in:
@@ -19,7 +19,7 @@ public class HelloResource {
|
|||||||
if (message == null) {
|
if (message == null) {
|
||||||
response = "Hello world from host "+hostname+"\n";
|
response = "Hello world from host "+hostname+"\n";
|
||||||
} else {
|
} else {
|
||||||
response = "Hello world from host ["+hostname+"].";
|
response = "Hello world from host ["+hostname+"].\n";
|
||||||
response += "Message received = "+message+"\n";
|
response += "Message received = "+message+"\n";
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
Reference in New Issue
Block a user