Polishing
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");
|
* 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.
|
||||||
@@ -75,12 +75,12 @@ public class LoadTimeWeavingConfiguration implements ImportAware, BeanClassLoade
|
|||||||
LoadTimeWeaver loadTimeWeaver = null;
|
LoadTimeWeaver loadTimeWeaver = null;
|
||||||
|
|
||||||
if (this.ltwConfigurer != null) {
|
if (this.ltwConfigurer != null) {
|
||||||
// the user has provided a custom LTW instance
|
// The user has provided a custom LoadTimeWeaver instance
|
||||||
loadTimeWeaver = ltwConfigurer.getLoadTimeWeaver();
|
loadTimeWeaver = this.ltwConfigurer.getLoadTimeWeaver();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (loadTimeWeaver == null) {
|
if (loadTimeWeaver == null) {
|
||||||
// no custom LTW provided -> fall back to the default
|
// No custom LoadTimeWeaver provided -> fall back to the default
|
||||||
loadTimeWeaver = new DefaultContextLoadTimeWeaver(this.beanClassLoader);
|
loadTimeWeaver = new DefaultContextLoadTimeWeaver(this.beanClassLoader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user