mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Polishing
This commit is contained in:
@@ -51,7 +51,7 @@ public class Elvis extends SpelNodeImpl {
|
||||
* null-safe operator.
|
||||
* @since 7.1
|
||||
*/
|
||||
private @Nullable String unwrappedOptionalDescriptor;
|
||||
private volatile @Nullable String unwrappedOptionalDescriptor;
|
||||
|
||||
|
||||
public Elvis(int startPos, int endPos, SpelNodeImpl... args) {
|
||||
|
||||
+1
-1
@@ -108,7 +108,7 @@ public class Indexer extends SpelNodeImpl {
|
||||
|
||||
private final boolean nullSafe;
|
||||
|
||||
private @Nullable IndexedType indexedType;
|
||||
private volatile @Nullable IndexedType indexedType;
|
||||
|
||||
private volatile @Nullable String originalPrimitiveExitTypeDescriptor;
|
||||
|
||||
|
||||
+2
-2
@@ -75,7 +75,7 @@ public class MethodReference extends SpelNodeImpl {
|
||||
|
||||
private final String name;
|
||||
|
||||
private @Nullable Character originalPrimitiveExitTypeDescriptor;
|
||||
private volatile @Nullable Character originalPrimitiveExitTypeDescriptor;
|
||||
|
||||
/**
|
||||
* Tracks whether an {@link Optional} was unwrapped in
|
||||
@@ -84,7 +84,7 @@ public class MethodReference extends SpelNodeImpl {
|
||||
* compiled expression.
|
||||
* @since 7.1
|
||||
*/
|
||||
private boolean unwrapOptional;
|
||||
private volatile boolean unwrapOptional;
|
||||
|
||||
private volatile @Nullable CachedMethodExecutor cachedExecutor;
|
||||
|
||||
|
||||
+2
-2
@@ -70,7 +70,7 @@ public class PropertyOrFieldReference extends SpelNodeImpl {
|
||||
|
||||
private final String name;
|
||||
|
||||
private @Nullable String originalPrimitiveExitTypeDescriptor;
|
||||
private volatile @Nullable String originalPrimitiveExitTypeDescriptor;
|
||||
|
||||
/**
|
||||
* Tracks whether an {@link Optional} was unwrapped in
|
||||
@@ -78,7 +78,7 @@ public class PropertyOrFieldReference extends SpelNodeImpl {
|
||||
* null-safe operator and therefore needs to be unwrapped in a compiled expression.
|
||||
* @since 7.1
|
||||
*/
|
||||
private boolean unwrapOptional;
|
||||
private volatile boolean unwrapOptional;
|
||||
|
||||
private volatile @Nullable PropertyAccessor cachedReadAccessor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user