From 94e9037522922b67e8af412b4cfe476f5e991118 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 17 Feb 2015 23:00:35 +0000
Subject: [PATCH] AutoRefactor: fix modifiers usage
---
opendj-server-legacy/src/main/java/org/opends/quicksetup/QuickSetupLog.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/QuickSetupLog.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/QuickSetupLog.java
index fcdfcbe..20e5cac 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/QuickSetupLog.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/QuickSetupLog.java
@@ -41,8 +41,8 @@
*/
public class QuickSetupLog {
- static private File logFile;
- static private FileHandler fileHandler;
+ private static File logFile;
+ private static FileHandler fileHandler;
/**
* Creates a new file handler for writing log messages to the file indicated
@@ -50,7 +50,7 @@
* @param file log file to which log messages will be written
* @throws IOException if something goes wrong
*/
- static public void initLogFileHandler(File file) throws IOException {
+ public static void initLogFileHandler(File file) throws IOException {
if (!isInitialized()) {
logFile = file;
fileHandler = new FileHandler(logFile.getCanonicalPath());
@@ -71,7 +71,7 @@
* log messages.
* @throws IOException if something goes wrong
*/
- static public void initLogFileHandler(File file, String packageName)
+ public static void initLogFileHandler(File file, String packageName)
throws IOException {
initLogFileHandler(file);
Logger logger = Logger.getLogger(packageName);
@@ -86,7 +86,7 @@
* Prevents messages written to loggers from appearing in the console
* output.
*/
- static public void disableConsoleLogging() {
+ public static void disableConsoleLogging() {
if (disableLoggingToConsole())
{
Logger logger = Logger.getLogger("org.opends");
@@ -98,7 +98,7 @@
* Gets the name of the log file.
* @return File representing the log file
*/
- static public File getLogFile() {
+ public static File getLogFile() {
return logFile;
}
@@ -106,11 +106,11 @@
* Indicates whether or not the log file has been initialized.
* @return true when the log file has been initialized
*/
- static public boolean isInitialized() {
+ public static boolean isInitialized() {
return logFile != null;
}
- static private String getInitialLogRecord() {
+ private static String getInitialLogRecord() {
// Note; currently the logs are not internationalized.
return "QuickSetup application launched " +
DateFormat.getDateTimeInstance(DateFormat.LONG,
--
Gitblit v1.10.0