shaofengshi closed pull request #49: changed unsafe code to safety
URL: https://github.com/apache/kylin/pull/49
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
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 7d41faf277..28905bb546 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 @@
*/
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;
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services