Marked all applicable fields as final (along with changes for 3.2 GA)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2011 the original author or authors.
|
||||
* Copyright 2002-2012 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.
|
||||
@@ -39,16 +39,16 @@ import org.springframework.expression.spel.standard.SpelExpressionParser;
|
||||
*/
|
||||
class ExpressionEvaluator {
|
||||
|
||||
private SpelExpressionParser parser = new SpelExpressionParser();
|
||||
private final SpelExpressionParser parser = new SpelExpressionParser();
|
||||
|
||||
// shared param discoverer since it caches data internally
|
||||
private ParameterNameDiscoverer paramNameDiscoverer = new LocalVariableTableParameterNameDiscoverer();
|
||||
private final ParameterNameDiscoverer paramNameDiscoverer = new LocalVariableTableParameterNameDiscoverer();
|
||||
|
||||
private Map<String, Expression> conditionCache = new ConcurrentHashMap<String, Expression>();
|
||||
private final Map<String, Expression> conditionCache = new ConcurrentHashMap<String, Expression>();
|
||||
|
||||
private Map<String, Expression> keyCache = new ConcurrentHashMap<String, Expression>();
|
||||
private final Map<String, Expression> keyCache = new ConcurrentHashMap<String, Expression>();
|
||||
|
||||
private Map<String, Method> targetMethodCache = new ConcurrentHashMap<String, Method>();
|
||||
private final Map<String, Method> targetMethodCache = new ConcurrentHashMap<String, Method>();
|
||||
|
||||
|
||||
public EvaluationContext createEvaluationContext(
|
||||
|
||||
Reference in New Issue
Block a user