Polishing (selective backports from master)
This commit is contained in:
@@ -233,9 +233,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?
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -43,7 +43,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