From 787d6791f0966ebe0f93b72f2bb8293ad0add5d9 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Tue, 08 Oct 2013 13:32:30 +0000
Subject: [PATCH] Fix minor typo in comment and useless temp variable.
---
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
index 4c3b6a4..38075d5 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/backends/jeb/RootContainer.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2006-2010 Sun Microsystems, Inc.
- * Portions copyright 2011 ForgeRock AS
+ * Portions copyright 2011-2013 ForgeRock AS
*/
package org.opends.server.backends.jeb;
import org.opends.messages.Message;
@@ -581,7 +581,7 @@
* @param statsConfig The configuration to use for the EnvironmentStats
* object.
* @return The environment status of the JE environment.
- * @throws DatabaseException If an error occurs while retriving the stats
+ * @throws DatabaseException If an error occurs while retrieving the stats
* object.
*/
public EnvironmentStats getEnvironmentStats(StatsConfig statsConfig)
@@ -802,8 +802,7 @@
ConfigParam param = (ConfigParam) paramsMap.get(jePropertyName);
if (!param.isMutable()) {
String oldValue = oldEnvConfig.getConfigParam(param.getName());
- String newValue = jePropertyValue;
- if (!oldValue.equalsIgnoreCase(newValue)) {
+ if (!oldValue.equalsIgnoreCase(jePropertyValue)) {
adminActionRequired = true;
messages.add(INFO_CONFIG_JE_PROPERTY_REQUIRES_RESTART.get(
jePropertyName));
--
Gitblit v1.10.0