From d1b4e9a4680072beb3c83135e47c25549fbf8f7d Mon Sep 17 00:00:00 2001
From: Fabio Pistolesi <fabio.pistolesi@forgerock.com>
Date: Mon, 21 Sep 2015 09:55:59 +0000
Subject: [PATCH] Fix checkstyle

---
 opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java
index 60c0291..1023563 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommandArgumentParser.java
@@ -62,7 +62,7 @@
 public class SubCommandArgumentParser extends ArgumentParser {
 
     private static final String INDENT = "    ";
-    private static final int columnAdjust = OperatingSystem.isWindows() ? 1 : 0;
+    private static final int COLUMN_ADJUST = OperatingSystem.isWindows() ? 1 : 0;
 
     /** The arguments that will be used to trigger the display of usage information for groups of sub-commands. */
     private final Map<Argument, Collection<SubCommand>> usageGroupArguments = new HashMap<>();
@@ -1042,7 +1042,7 @@
         }
     }
 
-    /** Wraps long lines without indentation */
+    /** Wraps long lines without indentation. */
     private void wrap(StringBuilder buffer, LocalizableMessage text) {
         indentAndWrap(buffer, "", text);
     }
@@ -1054,7 +1054,7 @@
      * FIXME consider merging with com.forgerock.opendj.cli.Utils#wrapText(String, int, int)
      */
     private void indentAndWrap(StringBuilder buffer, String indent, LocalizableMessage text) {
-        int actualSize = MAX_LINE_WIDTH - indent.length() - columnAdjust;
+        int actualSize = MAX_LINE_WIDTH - indent.length() - COLUMN_ADJUST;
         indentAndWrap(indent, buffer, actualSize, text);
     }
 

--
Gitblit v1.10.0