fix sonar - feature-server

%n is portable across platforms \n is not.

Issue-ID: POLICY-2616
Change-Id: I6daa827b93384c8b25dcb58b87fff116d09a2176
Signed-off-by: Taka Cho <takamune.cho@att.com>
diff --git a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
index 5044b3e..87229fb 100644
--- a/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
+++ b/feature-server-pool/src/main/java/org/onap/policy/drools/serverpool/Bucket.java
@@ -596,7 +596,7 @@
              * selected bucket has no server assigned -- this should only be a
              * transient situation, until 'rebalance' is run.
              */
-            out.format("Bucket is %d, which has no owner\n", bucketNumber);
+            out.format("Bucket is %d, which has no owner%n", bucketNumber);
         } else if (server == Server.getThisServer()) {
             /*
              * the selected bucket is associated with this particular server --
@@ -609,9 +609,9 @@
              * the selected bucket is assigned to a different server -- forward
              * the message.
              */
-            out.format("Bucket is %d: sending from\n"
-                       + "    %s to\n"
-                       + "    %s\n",
+            out.format("Bucket is %d: sending from%n"
+                       + "    %s to%n"
+                       + "    %s%n",
                        bucketNumber, Server.getThisServer().getUuid(), server.getUuid());
 
             // do a POST call of /bucket/bucketResponse to the remoote server
@@ -656,7 +656,7 @@
                 if (response == null) {
                     out.println("Timed out waiting for a response");
                 } else {
-                    out.format("Received response code %s\nEntity = %s\n",
+                    out.format("Received response code %s\nEntity = %s%n",
                                response.getStatus(), response.readEntity(String.class));
                 }
             } catch (InterruptedException e) {