[jboss-cvs] JBoss Messaging SVN: r6497 - trunk/src/main/org/jboss/messaging/core/management/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Apr 20 09:18:31 EDT 2009


Author: jmesnil
Date: 2009-04-20 09:18:30 -0400 (Mon, 20 Apr 2009)
New Revision: 6497

Modified:
   trunk/src/main/org/jboss/messaging/core/management/impl/ManagementServiceImpl.java
Log:
fixed typo

Modified: trunk/src/main/org/jboss/messaging/core/management/impl/ManagementServiceImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/management/impl/ManagementServiceImpl.java	2009-04-20 13:05:27 UTC (rev 6496)
+++ trunk/src/main/org/jboss/messaging/core/management/impl/ManagementServiceImpl.java	2009-04-20 13:18:30 UTC (rev 6497)
@@ -132,7 +132,7 @@
 
    private boolean messageCounterEnabled;
 
-   private boolean noticationsEnabled;
+   private boolean notificationsEnabled;
 
    private final Set<NotificationListener> listeners = new org.jboss.messaging.utils.ConcurrentHashSet<NotificationListener>();
 
@@ -152,7 +152,7 @@
 
       registry = new HashMap<String, Object>();
       broadcaster = new NotificationBroadcasterSupport();
-      noticationsEnabled = true;
+      notificationsEnabled = true;
       messageCounterManager = new MessageCounterManagerImpl();
       messageCounterManager.setMaxDayCount(configuration.getMessageCounterMaxDayHistory());
       messageCounterManager.reschedule(configuration.getMessageCounterSamplePeriod());
@@ -565,7 +565,7 @@
 
    public void sendNotification(final Notification notification) throws Exception
    {
-      if (managedServer != null && noticationsEnabled)
+      if (managedServer != null && notificationsEnabled)
       {
          // This needs to be synchronized since we need to ensure notifications are processed in strict sequence
          synchronized (this)
@@ -623,7 +623,7 @@
 
    public void enableNotifications(boolean enabled)
    {
-      noticationsEnabled = enabled;
+      notificationsEnabled = enabled;
    }
 
    public Object getAttribute(final String resourceName, final String attribute)




More information about the jboss-cvs-commits mailing list