asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lychagin (Code Review)" <do-not-re...@asterixdb.incubator.apache.org>
Subject Change in asterixdb[master]: Fix potential class cast exception in UnorderedListTypeDefin...
Date Wed, 31 May 2017 00:08:06 GMT
Dmitry Lychagin has uploaded a new change for review.

  https://asterix-gerrit.ics.uci.edu/1794

Change subject: Fix potential class cast exception in UnorderedListTypeDefinition
......................................................................

Fix potential class cast exception in UnorderedListTypeDefinition

Change-Id: I583d681ffe84bd73eebcb4acd07062f6b4a1460e
---
M asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/expression/UnorderedListTypeDefinition.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/94/1794/1

diff --git a/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/expression/UnorderedListTypeDefinition.java
b/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/expression/UnorderedListTypeDefinition.java
index ad6426e..48be7d2 100644
--- a/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/expression/UnorderedListTypeDefinition.java
+++ b/asterixdb/asterix-lang-common/src/main/java/org/apache/asterix/lang/common/expression/UnorderedListTypeDefinition.java
@@ -54,7 +54,7 @@
         if (this == object) {
             return true;
         }
-        if (!(object instanceof OrderedListTypeDefinition)) {
+        if (!(object instanceof UnorderedListTypeDefinition)) {
             return false;
         }
         UnorderedListTypeDefinition target = (UnorderedListTypeDefinition) object;

-- 
To view, visit https://asterix-gerrit.ics.uci.edu/1794
To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I583d681ffe84bd73eebcb4acd07062f6b4a1460e
Gerrit-PatchSet: 1
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Owner: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

Mime
View raw message