This is an automated email from the ASF dual-hosted git repository.

madhawa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/gora.git

commit 95c607c3dd493b6cdd5958ee12287379e4c53e01
Author: LahiruJayasekara <mlpjayasek...@gmail.com>
AuthorDate: Fri May 24 18:04:50 2019 +0530

    Replace "\n" with `System.lineSeparator()`
---
 .../apache/gora/compiler/cli/GoraCompilerCLI.java  | 28 ++++++++++++----------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
index 8f6e455..ac672e5 100644
--- 
a/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
+++ 
b/gora-compiler-cli/src/main/java/org/apache/gora/compiler/cli/GoraCompilerCLI.java
@@ -103,19 +103,21 @@ public class GoraCompilerCLI {
   }
 
   private static void printHelp() {
-    LOG.info("Usage: GoraCompiler <schema file> <output dir> [-license 
<id>]\n" +
-            "   <schema file>     - individual avsc file to be compiled or a 
directory path containing avsc files\n" +
-            "   <output dir>      - output directory for generated Java 
files\n" +
-            "   [-license <id>]   - the preferred license header to add to the 
generated Java file.\n" +
-            "Current License header options include;\n" +
-            "\t\t  ASLv2   (Apache Software License v2.0) \n" +
-            "\t\t  AGPLv3  (GNU Affero General Public License) \n" +
-            "\t\t  CDDLv1  (Common Development and Distribution License v1.0) 
\n" +
-            "\t\t  FDLv13  (GNU Free Documentation License v1.3) \n" +
-            "\t\t  GPLv1   (GNU General Public License v1.0) \n" +
-            "\t\t  GPLv2   (GNU General Public License v2.0) \n" +
-            "\t\t  GPLv3   (GNU General Public License v3.0) \n" +
-            "\t\t  LGPLv21 (GNU Lesser General Public License v2.1) \n" +
+    LOG.info("Usage: GoraCompiler <schema file> <output dir> [-license <id>]" 
+ System.lineSeparator() +
+            "   <schema file>     - individual avsc file to be compiled or a 
directory path containing avsc files" +
+            System.lineSeparator() +
+            "   <output dir>      - output directory for generated Java files" 
+ System.lineSeparator() +
+            "   [-license <id>]   - the preferred license header to add to the 
generated Java file." +
+            System.lineSeparator() +
+            "Current License header options include;" + System.lineSeparator() 
+
+            "\t\t  ASLv2   (Apache Software License v2.0)" + 
System.lineSeparator() +
+            "\t\t  AGPLv3  (GNU Affero General Public License)" + 
System.lineSeparator() +
+            "\t\t  CDDLv1  (Common Development and Distribution License v1.0)" 
+ System.lineSeparator() +
+            "\t\t  FDLv13  (GNU Free Documentation License v1.3)" + 
System.lineSeparator() +
+            "\t\t  GPLv1   (GNU General Public License v1.0)" + 
System.lineSeparator() +
+            "\t\t  GPLv2   (GNU General Public License v2.0)" + 
System.lineSeparator() +
+            "\t\t  GPLv3   (GNU General Public License v3.0)" + 
System.lineSeparator() +
+            "\t\t  LGPLv21 (GNU Lesser General Public License v2.1)" + 
System.lineSeparator() +
             "\t\t  LGPLv3  (GNU Lesser General Public License v2.1)"
     );
   }

Reply via email to