You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2018/06/20 09:31:52 UTC

[kylin] branch master updated: changed unsafe code to safety

This is an automated email from the ASF dual-hosted git repository.

shaofengshi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kylin.git


The following commit(s) were added to refs/heads/master by this push:
     new 40a5935  changed unsafe code to safety
40a5935 is described below

commit 40a593541055cde65b16fc551345171b22456ab1
Author: david.wang <wa...@users.noreply.github.com>
AuthorDate: Thu Mar 9 14:53:13 2017 +0800

    changed unsafe code to safety
    
    changed unsafe code to safety
---
 .../java/org/apache/kylin/cube/inmemcubing/CuboidResult.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/CuboidResult.java b/core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/CuboidResult.java
index 7d41faf..28905bb 100644
--- a/core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/CuboidResult.java
+++ b/core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/CuboidResult.java
@@ -24,11 +24,11 @@ import org.apache.kylin.gridtable.GridTable;
  */
 public class CuboidResult {
 
-    public long cuboidId;
-    public GridTable table;
-    public int nRows;
-    public long timeSpent;
-    public int aggrCacheMB;
+    public final  long cuboidId;
+    public final  GridTable table;
+    public final int nRows;
+    public final long timeSpent;
+    public final int aggrCacheMB;
 
     public CuboidResult(long cuboidId, GridTable table, int nRows, long timeSpent, int aggrCacheMB) {
         this.cuboidId = cuboidId;