[rhq] modules/core

Jay Shaughnessy jshaughn at fedoraproject.org
Mon Aug 20 18:26:59 UTC 2012


 modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/DriftManager.java |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 722b5c83eac64fd145863a154147f9bb0e1cf67a
Author: Jay Shaughnessy <jshaughn at redhat.com>
Date:   Mon Aug 20 14:24:29 2012 -0400

    trivial - fix some DriftManager logging

diff --git a/modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/DriftManager.java b/modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/DriftManager.java
index 0924288..8b54320 100644
--- a/modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/DriftManager.java
+++ b/modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/DriftManager.java
@@ -479,7 +479,7 @@ public class DriftManager extends AgentService implements DriftAgentService, Dri
 
     @Override
     public void updateDriftDetection(int resourceId, DriftDefinition driftDefinition) {
-        log.info("Recived request to update schedule for " + toString(resourceId, driftDefinition));
+        log.info("Received request to update schedule for " + toString(resourceId, driftDefinition));
 
         DriftDetectionSchedule updatedSchedule = schedulesQueue.update(resourceId, driftDefinition);
         if (updatedSchedule == null) {
@@ -696,7 +696,7 @@ public class DriftManager extends AgentService implements DriftAgentService, Dri
         case pluginConfiguration: {
             baseLocation = resource.getPluginConfiguration().getSimpleValue(baseDirValueName, null);
             if (baseLocation == null) {
-                throw new IllegalArgumentException("Cannot determine the bundle base deployment location - "
+                throw new IllegalArgumentException("Cannot determine the base directory - "
                     + "there is no plugin configuration setting for [" + baseDirValueName + "]");
             }
             break;
@@ -704,7 +704,7 @@ public class DriftManager extends AgentService implements DriftAgentService, Dri
         case resourceConfiguration: {
             baseLocation = resource.getResourceConfiguration().getSimpleValue(baseDirValueName, null);
             if (baseLocation == null) {
-                throw new IllegalArgumentException("Cannot determine the bundle base deployment location - "
+                throw new IllegalArgumentException("Cannot determine the base directory - "
                     + "there is no resource configuration setting for [" + baseDirValueName + "]");
             }
             break;




More information about the rhq-commits mailing list