Fix typos

Closes gh-3247
This commit is contained in:
Eddú Meléndez 2015-06-16 00:22:30 -05:00 committed by Stephane Nicoll
parent 93a7dc21da
commit 6d5ff33bdf
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2015 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.
@ -58,7 +58,7 @@ class HornetQConnectionFactoryFactory {
public <T extends HornetQConnectionFactory> T createConnectionFactory(
Class<T> factoryClass) {
try {
startEmbededJms();
startEmbeddedJms();
return doCreateConnectionFactory(factoryClass);
}
catch (Exception ex) {
@ -67,7 +67,7 @@ class HornetQConnectionFactoryFactory {
}
}
private void startEmbededJms() {
private void startEmbeddedJms() {
if (ClassUtils.isPresent(EMBEDDED_JMS_CLASS, null)) {
try {
this.beanFactory.getBeansOfType(Class.forName(EMBEDDED_JMS_CLASS));

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2014 the original author or authors.
* Copyright 2012-2015 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.
@ -36,7 +36,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe
*/
class HornetQEmbeddedConfigurationFactory {
private Log logger = LogFactory.getLog(HornetQAutoConfiguration.class);
private Log logger = LogFactory.getLog(HornetQEmbeddedConfigurationFactory.class);
private final Embedded properties;