diff options
| author | Robert Godfrey <rgodfrey@apache.org> | 2014-01-23 23:37:48 +0000 |
|---|---|---|
| committer | Robert Godfrey <rgodfrey@apache.org> | 2014-01-23 23:37:48 +0000 |
| commit | c5736507c3ccbcf08ba1ba6d8f893a1724902d98 (patch) | |
| tree | f134585fde191c064a7f8f7f6d78ef19a3d0134f /qpid/java/broker-plugins/management-jmx | |
| parent | 926150bd3fa44fe5c6e7eafb7dbbd23cb19b7475 (diff) | |
| download | qpid-python-c5736507c3ccbcf08ba1ba6d8f893a1724902d98.tar.gz | |
NO-JIRA : fix typos / spelling errors
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker-plugins/management-jmx')
5 files changed, 9 insertions, 9 deletions
diff --git a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanIntrospector.java b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanIntrospector.java index 79ddc8cfc0..d227b3a02e 100644 --- a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanIntrospector.java +++ b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanIntrospector.java @@ -47,7 +47,7 @@ class MBeanIntrospector { private static final String _defaultAttributeDescription = "Management attribute"; - private static final String _defaultOerationDescription = "Management operation"; + private static final String _defaultOperationDescription = "Management operation"; private static final String _defaultConstructorDescription = "MBean constructor"; private static final String _defaultMbeanDescription = "Management interface of the MBean"; @@ -221,7 +221,7 @@ class MBeanIntrospector * Helper method to retrieve the attribute index from the list of attributes. * @param attribute * @param list - * @return attribute index no. -1 if attribtue doesn't exist + * @return attribute index no. -1 if attribute doesn't exist * @throws javax.management.NotCompliantMBeanException */ private static int getIndexIfAlreadyExists(MBeanAttributeInfo attribute, @@ -281,7 +281,7 @@ class MBeanIntrospector MBeanParameterInfo[] paramsInfo = getParametersInfo(operation.getParameterAnnotations(), operation.getParameterTypes()); - String operationDesc = _defaultOerationDescription; + String operationDesc = _defaultOperationDescription; int impact = MBeanOperationInfo.UNKNOWN; if (operation.getAnnotation(MBeanOperation.class) != null) diff --git a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanInvocationHandlerImpl.java b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanInvocationHandlerImpl.java index 8bc2afb176..0f963df66f 100644 --- a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanInvocationHandlerImpl.java +++ b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/MBeanInvocationHandlerImpl.java @@ -198,7 +198,7 @@ public class MBeanInvocationHandlerImpl implements InvocationHandler } else { - _logger.error("Unexpected error occured on invoking of " + method + " with arguments " + Arrays.toString(args), targetException); + _logger.error("Unexpected error occurred on invoking of " + method + " with arguments " + Arrays.toString(args), targetException); } } diff --git a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/ManagedObjectRegistry.java b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/ManagedObjectRegistry.java index 2ae0ac7052..d8aea03b36 100644 --- a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/ManagedObjectRegistry.java +++ b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/ManagedObjectRegistry.java @@ -29,12 +29,12 @@ import java.io.IOException; /** * Handles the registration (and unregistration and so on) of managed objects. * - * Managed objects are responsible for exposting attributes, operations and notifications. They will expose + * Managed objects are responsible for exporting attributes, operations and notifications. They will expose * these outside the JVM therefore it is important not to use implementation objects directly as managed objects. * Instead, creating inner classes and exposing those is an effective way of exposing internal state in a * controlled way. * - * Although we do not explictly use them while targetting Java 5, the enhanced MXBean approach in Java 6 will + * Although we do not explicitly use them while targeting Java 5, the enhanced MXBean approach in Java 6 will * be the obvious choice for managed objects. * */ diff --git a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/QueueMBean.java b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/QueueMBean.java index cda32cc3f8..49cb6aa8cb 100644 --- a/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/QueueMBean.java +++ b/qpid/java/broker-plugins/management-jmx/src/main/java/org/apache/qpid/server/jmx/mbeans/QueueMBean.java @@ -69,7 +69,7 @@ public class QueueMBean extends AMQManagedObject implements ManagedQueue, QueueN private static final CompositeType MSG_DATA_TYPE; private static final TabularType MSG_LIST_DATA_TYPE; private static final CompositeType MSG_CONTENT_TYPE; - private static final String[] VIEW_MSG_COMPOSIT_ITEM_NAMES_ARRAY = VIEW_MSG_CONTENT_COMPOSITE_ITEM_NAMES_DESC.toArray( + private static final String[] VIEW_MSG_COMPOSITE_ITEM_NAMES_ARRAY = VIEW_MSG_CONTENT_COMPOSITE_ITEM_NAMES_DESC.toArray( new String[VIEW_MSG_CONTENT_COMPOSITE_ITEM_NAMES_DESC.size()]); static @@ -396,7 +396,7 @@ public class QueueMBean extends AMQManagedObject implements ManagedQueue, QueueN Object[] itemValues = { messageId, mimeType, encoding, msgContent }; - return new CompositeDataSupport(MSG_CONTENT_TYPE, VIEW_MSG_COMPOSIT_ITEM_NAMES_ARRAY, itemValues); + return new CompositeDataSupport(MSG_CONTENT_TYPE, VIEW_MSG_COMPOSITE_ITEM_NAMES_ARRAY, itemValues); } diff --git a/qpid/java/broker-plugins/management-jmx/src/test/java/org/apache/qpid/server/jmx/mbeans/UserManagementMBeanTest.java b/qpid/java/broker-plugins/management-jmx/src/test/java/org/apache/qpid/server/jmx/mbeans/UserManagementMBeanTest.java index 8ca6c521eb..5a21bdab7d 100644 --- a/qpid/java/broker-plugins/management-jmx/src/test/java/org/apache/qpid/server/jmx/mbeans/UserManagementMBeanTest.java +++ b/qpid/java/broker-plugins/management-jmx/src/test/java/org/apache/qpid/server/jmx/mbeans/UserManagementMBeanTest.java @@ -120,7 +120,7 @@ public class UserManagementMBeanTest extends TestCase { boolean reloadSuccess = _userManagement.reloadData(); - assertTrue("Reload should return true to flag succesful update", reloadSuccess); + assertTrue("Reload should return true to flag successful update", reloadSuccess); verify(_mockProvider).reload(); } |
