Browse Source

Removed unnecessary default value of LifecycleGroup.lifecycleBeans

Issue: SPR-10388
pull/265/head
Juergen Hoeller 12 years ago
parent
commit
2629208d5b
  1. 10
      spring-context/src/main/java/org/springframework/context/support/DefaultLifecycleProcessor.java

10
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"); * 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.
@ -302,16 +302,16 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
private final List<LifecycleGroupMember> members = new ArrayList<LifecycleGroupMember>(); 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 int phase;
private final long timeout; private final long timeout;
private final Map<String, ? extends Lifecycle> lifecycleBeans;
private final boolean autoStartupOnly; private final boolean autoStartupOnly;
private volatile int smartMemberCount;
public LifecycleGroup(int phase, long timeout, Map<String, ? extends Lifecycle> lifecycleBeans, boolean autoStartupOnly) { public LifecycleGroup(int phase, long timeout, Map<String, ? extends Lifecycle> lifecycleBeans, boolean autoStartupOnly) {
this.phase = phase; this.phase = phase;
this.timeout = timeout; this.timeout = timeout;

Loading…
Cancel
Save