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/IDSetIterator.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IDSetIterator.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IDSetIterator.java
index 12e462f..2962bf5 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IDSetIterator.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/IDSetIterator.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
- *      Portions Copyright 2014 ForgeRock AS
+ *      Portions Copyright 2014-2015 ForgeRock AS
  */
 package org.opends.server.backends.pluggable;
 
@@ -32,12 +32,12 @@
 /**
  * Iterator for a set of Entry IDs.  It must return values in order of ID.
  */
-public class IDSetIterator implements Iterator<EntryID>
+class IDSetIterator implements Iterator<EntryID>
 {
   /**
    * An array of ID values in order of ID.
    */
-  private long[] entryIDList;
+  private final long[] entryIDList;
 
   /**
    * Current position of the iterator as an index into the array of IDs.
@@ -48,7 +48,7 @@
    * Create a new iterator for a given array of entry IDs.
    * @param entryIDList An array of IDs in order or ID.
    */
-  public IDSetIterator(long[] entryIDList)
+  IDSetIterator(long[] entryIDList)
   {
     this.entryIDList = entryIDList;
   }
@@ -59,7 +59,7 @@
    * @param begin The entry ID of the first entry that should be returned, or
    *              {@code null} if it should start at the beginning of the list.
    */
-  public IDSetIterator(long[] entryIDList, EntryID begin)
+  IDSetIterator(long[] entryIDList, EntryID begin)
   {
     this.entryIDList = entryIDList;
 

--
Gitblit v1.10.0