Fixed typo: "occured"->"occurred"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -79,7 +79,7 @@ public class AutoProxyRegistrar implements ImportBeanDefinitionRegistrar {
|
||||
logger.warn(String.format("%s was imported but no annotations were found " +
|
||||
"having both 'mode' and 'proxyTargetClass' attributes of type " +
|
||||
"AdviceMode and boolean respectively. This means that auto proxy " +
|
||||
"creator registration and configuration may not have occured as " +
|
||||
"creator registration and configuration may not have occurred as " +
|
||||
"intended, and components may not be proxied as expected. Check to " +
|
||||
"ensure that %s has been @Import'ed on the same class where these " +
|
||||
"annotations are declared; otherwise remove the import of %s " +
|
||||
|
||||
@@ -152,7 +152,7 @@ class ComponentScanAnnotationParser {
|
||||
switch (filterType) {
|
||||
case ANNOTATION:
|
||||
Assert.isAssignable(Annotation.class, filterClass,
|
||||
"An error occured while processing a @ComponentScan ANNOTATION type filter: ");
|
||||
"An error occurred while processing a @ComponentScan ANNOTATION type filter: ");
|
||||
@SuppressWarnings("unchecked")
|
||||
Class<Annotation> annotationType = (Class<Annotation>) filterClass;
|
||||
typeFilters.add(new AnnotationTypeFilter(annotationType));
|
||||
@@ -162,7 +162,7 @@ class ComponentScanAnnotationParser {
|
||||
break;
|
||||
case CUSTOM:
|
||||
Assert.isAssignable(TypeFilter.class, filterClass,
|
||||
"An error occured while processing a @ComponentScan CUSTOM type filter: ");
|
||||
"An error occurred while processing a @ComponentScan CUSTOM type filter: ");
|
||||
TypeFilter filter = BeanUtils.instantiateClass(filterClass, TypeFilter.class);
|
||||
invokeAwareMethods(filter);
|
||||
typeFilters.add(filter);
|
||||
|
||||
@@ -138,7 +138,7 @@ public class ConnectorServerFactoryBean extends MBeanRegistrationSupport
|
||||
* the {@code JMXConnectorServer} will be started in a separate thread.
|
||||
* If the {@code daemon} flag is set to {@code true}, that thread will be
|
||||
* started as a daemon thread.
|
||||
* @throws JMException if a problem occured when registering the connector server
|
||||
* @throws JMException if a problem occurred when registering the connector server
|
||||
* with the {@code MBeanServer}
|
||||
* @throws IOException if there is a problem starting the connector server
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user