geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r373920 - /geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
Date Tue, 31 Jan 2006 22:03:58 GMT
Author: hogstrom
Date: Tue Jan 31 14:03:56 2006
New Revision: 373920

URL: http://svn.apache.org/viewcvs?rev=373920&view=rev
Log:
Geronimo-1561 spelling correction of Exception Messages

Modified:
    geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java

Modified: geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
URL: http://svn.apache.org/viewcvs/geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java?rev=373920&r1=373919&r2=373920&view=diff
==============================================================================
--- geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
(original)
+++ geronimo/trunk/modules/kernel/src/java/org/apache/geronimo/kernel/config/ConfigurationUtil.java
Tue Jan 31 14:03:56 2006
@@ -54,10 +54,10 @@
             }
         }
         if (names.isEmpty()) {
-            throw new IllegalStateException("Configuration mananger could not be found in
kernel");
+            throw new IllegalStateException("A Configuration Manager could not be found in
the kernel");
         }
         if (names.size() > 1) {
-            throw new IllegalStateException("More than one configuration mananger was found
in kernel");
+            throw new IllegalStateException("More than one Configuration Manager was found
in the kernel");
         }
         ObjectName configurationManagerName = (ObjectName) names.iterator().next();
         return (ConfigurationManager) kernel.getProxyManager().createProxy(configurationManagerName,
ConfigurationManager.class);
@@ -87,7 +87,7 @@
             return null; // may be one, just not editable
         }
         if (names.size() > 1) {
-            throw new IllegalStateException("More than one configuration mananger was found
in kernel");
+            throw new IllegalStateException("More than one Configuration Manager was found
in the kernel");
         }
         ObjectName configurationManagerName = (ObjectName) names.iterator().next();
         return (EditableConfigurationManager) kernel.getProxyManager().createProxy(configurationManagerName,
EditableConfigurationManager.class);
@@ -96,5 +96,5 @@
     public static void releaseConfigurationManager(Kernel kernel, ConfigurationManager configurationManager)
{
         kernel.getProxyManager().destroyProxy(configurationManager);
     }
-    
+
 }



Mime
View raw message