From 763a75aeed1a7731ddb95b99496aa7c1bf206ed0 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 27 Feb 2015 00:31:10 +0000
Subject: [PATCH] OPENDJ-1855: Reformat and cleanup pluggable backend code: adjust visibility, findbugs, ucdetector, etc...
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ExportJob.java | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ExportJob.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ExportJob.java
index 582a615..ae926f4 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ExportJob.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/ExportJob.java
@@ -49,7 +49,7 @@
/**
* Export a JE backend to LDIF.
*/
-public class ExportJob
+class ExportJob
{
private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
@@ -57,12 +57,12 @@
/**
* The requested LDIF export configuration.
*/
- private LDIFExportConfig exportConfig;
+ private final LDIFExportConfig exportConfig;
/**
* The number of milliseconds between job progress reports.
*/
- private long progressInterval = 10000;
+ private final long progressInterval = 10000;
/**
* The current number of entries exported.
@@ -79,7 +79,7 @@
*
* @param exportConfig The requested LDIF export configuration.
*/
- public ExportJob(LDIFExportConfig exportConfig)
+ ExportJob(LDIFExportConfig exportConfig)
{
this.exportConfig = exportConfig;
}
@@ -92,7 +92,7 @@
* @throws LDIFException If an error occurs while trying to determine whether
* to write an entry.
*/
- public void exportLDIF(RootContainer rootContainer)
+ void exportLDIF(RootContainer rootContainer)
throws IOException, LDIFException, StorageRuntimeException
{
List<DN> includeBranches = exportConfig.getIncludeBranches();
@@ -267,7 +267,7 @@
/**
* This class reports progress of the export job at fixed intervals.
*/
- class ProgressTask extends TimerTask
+ private class ProgressTask extends TimerTask
{
/**
* The number of entries that had been exported at the time of the
--
Gitblit v1.10.0