From 2629208d5bab710f05931ebb65847694302f4aaf Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Tue, 19 Mar 2013 11:30:46 +0100 Subject: [PATCH] Removed unnecessary default value of LifecycleGroup.lifecycleBeans Issue: SPR-10388 --- .../context/support/DefaultLifecycleProcessor.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java b/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java index 025f4cfb96..c41b5dc021 100644 --- a/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java +++ b/spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2011 the original author or authors. + * Copyright 2002-2013 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. @@ -302,16 +302,16 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor private final List members = new ArrayList(); - private Map lifecycleBeans = getLifecycleBeans(); - - private volatile int smartMemberCount; - private final int phase; private final long timeout; + private final Map lifecycleBeans; + private final boolean autoStartupOnly; + private volatile int smartMemberCount; + public LifecycleGroup(int phase, long timeout, Map lifecycleBeans, boolean autoStartupOnly) { this.phase = phase; this.timeout = timeout;