Remove redundant assignment of default values to volatile fields
This commit is contained in:
committed by
Juergen Hoeller
parent
8099fc8178
commit
7949937655
@@ -106,7 +106,7 @@ import org.springframework.util.xml.StaxUtils;
|
||||
*/
|
||||
public class Jackson2ObjectMapperBuilder {
|
||||
|
||||
private static volatile boolean kotlinWarningLogged = false;
|
||||
private static volatile boolean kotlinWarningLogged;
|
||||
|
||||
private final Log logger = HttpLogging.forLogName(getClass());
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 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.
|
||||
@@ -73,7 +73,7 @@ public class DeferredResult<T> {
|
||||
|
||||
private volatile Object result = RESULT_NONE;
|
||||
|
||||
private volatile boolean expired = false;
|
||||
private volatile boolean expired;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user