From 28dd8d1f95eecc080556d3986e02a8c7792d5cd2 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 20 Oct 2014 12:15:36 +0000
Subject: [PATCH] AutoRefactored modifier's order.
---
opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java | 6 +++---
opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java | 6 +++---
opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java
index 7ebb235..c346d8a 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/CommandBuilder.java
@@ -49,7 +49,7 @@
/**
* The separator used to link the lines of the resulting command-lines.
*/
- public final static String LINE_SEPARATOR;
+ public static final String LINE_SEPARATOR;
static {
if (OperatingSystem.isWindows()) {
LINE_SEPARATOR = " ";
@@ -61,7 +61,7 @@
/**
* The separator used to link the lines of the resulting command-lines in HTML format.
*/
- public final static String HTML_LINE_SEPARATOR;
+ public static final String HTML_LINE_SEPARATOR;
static {
if (OperatingSystem.isWindows()) {
HTML_LINE_SEPARATOR = " ";
@@ -239,7 +239,7 @@
}
/** Chars that require special treatment when passing them to command-line. */
- private final static Set<Character> CHARSTOESCAPE = new TreeSet<Character>(Arrays.asList(
+ private static final Set<Character> CHARSTOESCAPE = new TreeSet<Character>(Arrays.asList(
' ', '\t', '\n', '|', ';', '<', '>', '(', ')', '$', '`', '\\', '"', '\''));
/**
diff --git a/opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java b/opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java
index 070126a..03c19d6 100644
--- a/opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java
+++ b/opendj-cli/src/main/java/com/forgerock/opendj/cli/Utils.java
@@ -59,7 +59,7 @@
/**
* This class provides utility functions for all the client side tools.
*/
-final public class Utils {
+public final class Utils {
/** Platform appropriate line separator. */
public static final String LINE_SEPARATOR = System.getProperty("line.separator");
@@ -68,12 +68,12 @@
* The value used to display arguments that must be obfuscated (such as passwords). This does not require
* localization (since the output of command builder by its nature is not localized).
*/
- public final static String OBFUSCATED_VALUE = "******";
+ public static final String OBFUSCATED_VALUE = "******";
/**
* The maximum number of times we try to confirm.
*/
- public final static int CONFIRMATION_MAX_TRIES = 5;
+ public static final int CONFIRMATION_MAX_TRIES = 5;
/**
* The date format string that will be used to construct and parse dates represented using generalized time. It is
diff --git a/opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java b/opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java
index a4fb0f9..258f11c 100644
--- a/opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java
+++ b/opendj-cli/src/test/java/com/forgerock/opendj/cli/ConsoleApplicationTestCase.java
@@ -60,7 +60,7 @@
super(out, err);
}
- final static MockConsoleApplication getDefault() {
+ static final MockConsoleApplication getDefault() {
out = new ByteArrayOutputStream();
final PrintStream psOut = new PrintStream(out);
err = new ByteArrayOutputStream();
--
Gitblit v1.10.0