Permalink
Browse files

Removed unnecessary default value of LifecycleGroup.lifecycleBeans

Issue: SPR-10388
  • Loading branch information...
1 parent cc4f132 commit 2629208d5bab710f05931ebb65847694302f4aaf @jhoeller jhoeller committed Mar 19, 2013
@@ -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 @@ protected int getPhase(Lifecycle bean) {
private final List<LifecycleGroupMember> members = new ArrayList<LifecycleGroupMember>();
- private Map<String, ? extends Lifecycle> lifecycleBeans = getLifecycleBeans();
-
- private volatile int smartMemberCount;
-
private final int phase;
private final long timeout;
+ private final Map<String, ? extends Lifecycle> lifecycleBeans;
+
private final boolean autoStartupOnly;
+ private volatile int smartMemberCount;
+
public LifecycleGroup(int phase, long timeout, Map<String, ? extends Lifecycle> lifecycleBeans, boolean autoStartupOnly) {
this.phase = phase;
this.timeout = timeout;

0 comments on commit 2629208

Please sign in to comment.