Remove redundant assignment of default values to volatile fields
This commit is contained in:
committed by
Juergen Hoeller
parent
8099fc8178
commit
7949937655
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2020 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.
|
||||
@@ -221,7 +221,7 @@ public abstract class FrameworkServlet extends HttpServletBean implements Applic
|
||||
private boolean webApplicationContextInjected = false;
|
||||
|
||||
/** Flag used to detect whether onRefresh has already been called. */
|
||||
private volatile boolean refreshEventReceived = false;
|
||||
private volatile boolean refreshEventReceived;
|
||||
|
||||
/** Monitor for synchronized onRefresh execution. */
|
||||
private final Object onRefreshMonitor = new Object();
|
||||
|
||||
Reference in New Issue
Block a user