Commit 6d5ff33b authored by Eddú Meléndez's avatar Eddú Meléndez Committed by Stephane Nicoll

Fix typos

Closes gh-3247
parent 93a7dc21
/* /*
* 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -58,7 +58,7 @@ class HornetQConnectionFactoryFactory { ...@@ -58,7 +58,7 @@ class HornetQConnectionFactoryFactory {
public <T extends HornetQConnectionFactory> T createConnectionFactory( public <T extends HornetQConnectionFactory> T createConnectionFactory(
Class<T> factoryClass) { Class<T> factoryClass) {
try { try {
startEmbededJms(); startEmbeddedJms();
return doCreateConnectionFactory(factoryClass); return doCreateConnectionFactory(factoryClass);
} }
catch (Exception ex) { catch (Exception ex) {
...@@ -67,7 +67,7 @@ class HornetQConnectionFactoryFactory { ...@@ -67,7 +67,7 @@ class HornetQConnectionFactoryFactory {
} }
} }
private void startEmbededJms() { private void startEmbeddedJms() {
if (ClassUtils.isPresent(EMBEDDED_JMS_CLASS, null)) { if (ClassUtils.isPresent(EMBEDDED_JMS_CLASS, null)) {
try { try {
this.beanFactory.getBeansOfType(Class.forName(EMBEDDED_JMS_CLASS)); this.beanFactory.getBeansOfType(Class.forName(EMBEDDED_JMS_CLASS));
......
/* /*
* 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 ...@@ -36,7 +36,7 @@ import org.springframework.boot.autoconfigure.jms.hornetq.HornetQProperties.Embe
*/ */
class HornetQEmbeddedConfigurationFactory { class HornetQEmbeddedConfigurationFactory {
private Log logger = LogFactory.getLog(HornetQAutoConfiguration.class); private Log logger = LogFactory.getLog(HornetQEmbeddedConfigurationFactory.class);
private final Embedded properties; private final Embedded properties;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment