From 125c6ebf5e19b6fe0b2c6cd22721884f88bea425 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 17 May 2007 22:02:02 +0000
Subject: [PATCH] Perform miscellaneous cleanup from bugs and other potential problems found by FindBugs

---
 opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java b/opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java
index cc0bc9b..c8b40d5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java
@@ -111,6 +111,14 @@
 
 
 
+  /**
+   * The reference to the Java runtime used to determine the amount of memory
+   * currently in use.
+   */
+  private static final Runtime runtime = Runtime.getRuntime();
+
+
+
   // The DN of the configuration entry for this entry cache.
   private DN configEntryDN;
 
@@ -145,10 +153,6 @@
   // The maximum number of entries that may be held in the cache.
   private long maxEntries;
 
-  // The reference to the Java runtime to use to determine the amount of memory
-  // currently in use.
-  private Runtime runtime;
-
 
 
   static

--
Gitblit v1.10.0