From dc7e0efd09b538b9ed21a414dff79fb1cf6f2d64 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

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

diff --git a/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java b/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java
index cc0bc9b..c8b40d5 100644
--- a/opends/src/server/org/opends/server/extensions/FIFOEntryCache.java
+++ b/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