Unverified 提交 be13b43d authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov 提交者: GitHub

Merge pull request #1158 from turbanoff/make_fields_final

make fields final
...@@ -32,7 +32,7 @@ public class ExpressionColumn extends Expression { ...@@ -32,7 +32,7 @@ public class ExpressionColumn extends Expression {
private final Database database; private final Database database;
private final String schemaName; private final String schemaName;
private final String tableAlias; private final String tableAlias;
private String columnName; private final String columnName;
private ColumnResolver columnResolver; private ColumnResolver columnResolver;
private int queryLevel; private int queryLevel;
private Column column; private Column column;
......
...@@ -269,7 +269,7 @@ public class SpatialTreeIndex extends BaseIndex implements SpatialIndex { ...@@ -269,7 +269,7 @@ public class SpatialTreeIndex extends BaseIndex implements SpatialIndex {
private final Iterator<SpatialKey> it; private final Iterator<SpatialKey> it;
private SpatialKey current; private SpatialKey current;
private final Table table; private final Table table;
private Session session; private final Session session;
public SpatialCursor(Iterator<SpatialKey> it, Table table, Session session) { public SpatialCursor(Iterator<SpatialKey> it, Table table, Session session) {
this.it = it; this.it = it;
......
...@@ -41,8 +41,8 @@ public class MVMap<K, V> extends AbstractMap<K, V> ...@@ -41,8 +41,8 @@ public class MVMap<K, V> extends AbstractMap<K, V>
*/ */
private final AtomicReference<RootReference> root; private final AtomicReference<RootReference> root;
private int id; private final int id;
private long createVersion; private final long createVersion;
private final DataType keyType; private final DataType keyType;
private final DataType valueType; private final DataType valueType;
......
...@@ -1074,8 +1074,8 @@ public final class JoinBatch { ...@@ -1074,8 +1074,8 @@ public final class JoinBatch {
* Query runner for UNION. * Query runner for UNION.
*/ */
private static class QueryRunnerUnion extends QueryRunnerBase { private static class QueryRunnerUnion extends QueryRunnerBase {
Future<Cursor>[] topFutureCursors; final Future<Cursor>[] topFutureCursors;
private ViewIndexLookupBatchUnion batchUnion; private final ViewIndexLookupBatchUnion batchUnion;
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
QueryRunnerUnion(ViewIndexLookupBatchUnion batchUnion) { QueryRunnerUnion(ViewIndexLookupBatchUnion batchUnion) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论