From 3b44c47dcd6dc7979439bba5a9fb9d8acd4271a0 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 14 Apr 2016 16:39:36 +0200 Subject: [PATCH] Polishing --- .../context/annotation/LoadTimeWeavingConfiguration.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java b/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java index f4ebae873a..5cab2a7eee 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/LoadTimeWeavingConfiguration.java @@ -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); }