parent
1d39c97def
commit
4c41b9d4b9
|
@ -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.
|
||||
|
@ -75,12 +75,12 @@ public class LoadTimeWeavingConfiguration implements ImportAware, BeanClassLoade
|
|||
LoadTimeWeaver loadTimeWeaver = null;
|
||||
|
||||
if (this.ltwConfigurer != null) {
|
||||
// the user has provided a custom LTW instance
|
||||
loadTimeWeaver = ltwConfigurer.getLoadTimeWeaver();
|
||||
// The user has provided a custom LoadTimeWeaver instance
|
||||
loadTimeWeaver = this.ltwConfigurer.getLoadTimeWeaver();
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue