You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gj...@apache.org on 2019/11/12 18:06:35 UTC
[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5561: Replace Java8
code
This is an automated email from the ASF dual-hosted git repository.
gjacoby pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
new 24358bb PHOENIX-5561: Replace Java8 code
24358bb is described below
commit 24358bb3ba52f437077f68f1d4ac6f21c25cee85
Author: Gokcen Iskender <gi...@salesforce.com>
AuthorDate: Mon Nov 11 16:24:30 2019 -0800
PHOENIX-5561: Replace Java8 code
Signed-off-by: Geoffrey Jacoby <gj...@apache.org>
---
.../java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index e419c2a..4c1e61c 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -923,7 +923,8 @@ public class ConnectionQueryServicesImpl extends DelegateQueryServices implement
boolean isViewBaseTransactional = false;
if (!isTransactional && isViewIndex) {
- if (Boolean.TRUE.equals(tableProps.getOrDefault(TRANSACTIONAL, Boolean.FALSE))) {
+ if (tableProps.containsKey(TRANSACTIONAL) &&
+ Boolean.TRUE.equals(tableProps.get(TRANSACTIONAL))) {
isViewBaseTransactional = true;
}
}