Polish: follow name convention - make immutable fields final
This commit is contained in:
committed by
Juergen Hoeller
parent
9bb7fcd997
commit
9a6fbf59c5
@@ -238,9 +238,9 @@ public abstract class Operator extends SpelNodeImpl {
|
||||
*/
|
||||
protected static class DescriptorComparison {
|
||||
|
||||
static DescriptorComparison NOT_NUMBERS = new DescriptorComparison(false, false, ' ');
|
||||
static final DescriptorComparison NOT_NUMBERS = new DescriptorComparison(false, false, ' ');
|
||||
|
||||
static DescriptorComparison INCOMPATIBLE_NUMBERS = new DescriptorComparison(true, false, ' ');
|
||||
static final DescriptorComparison INCOMPATIBLE_NUMBERS = new DescriptorComparison(true, false, ' ');
|
||||
|
||||
final boolean areNumbers; // Were the two compared descriptor both for numbers?
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ import org.springframework.util.ObjectUtils;
|
||||
*/
|
||||
public abstract class SpelNodeImpl implements SpelNode, Opcodes {
|
||||
|
||||
private static SpelNodeImpl[] NO_CHILDREN = new SpelNodeImpl[0];
|
||||
private static final SpelNodeImpl[] NO_CHILDREN = new SpelNodeImpl[0];
|
||||
|
||||
|
||||
protected int pos; // start = top 16bits, end = bottom 16bits
|
||||
|
||||
Reference in New Issue
Block a user