From 0df0a5ef0ddc1e532659fd6ac5f35b02c5563f6a Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 28 Oct 2015 00:44:50 +0000
Subject: [PATCH] Minor code cleanup
---
opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java
index d82bf19..47f63d2 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/pluggable/BackendStat.java
@@ -278,7 +278,6 @@
private static final String SINGLELINE_NAME = "singleline";
private static final String SINGLELINE = "singleLine";
- private static final int INDENT = 4;
private static final String HEXDUMP_LINE_FORMAT = "%s%s %s%n";
/** The error stream which this application should use. */
@@ -1130,7 +1129,6 @@
long eighty = 0;
long ninety = 0;
long ninetyFive = 0;
- long invalidIDSet = 0;
long undefined = 0;
long count = 0;
BackendTreeKeyValue keyDecoder = new BackendTreeKeyValue(index);
@@ -1139,14 +1137,13 @@
while (cursor.next())
{
count++;
- EntryIDSet entryIDSet = null;
+ EntryIDSet entryIDSet;
try
{
entryIDSet = cursor.getValue();
}
catch (Exception e)
{
- invalidIDSet++;
continue;
}
@@ -1308,7 +1305,7 @@
ByteString key;
ByteString maxKey = null;
ByteString value;
- boolean maxKeyReached = false;
+ boolean maxKeyReached;
if (options.get(DUMP_MIN_KEY_VALUE).isPresent())
{
--
Gitblit v1.10.0