atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [08/14] incubator-atlas git commit: Coverity fixes for ATLAS-1880
Date Sun, 09 Jul 2017 15:07:46 GMT
Coverity fixes for ATLAS-1880


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/d22fa7eb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/d22fa7eb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/d22fa7eb

Branch: refs/heads/feature-odf
Commit: d22fa7eba93d3a97800f4a5f2b5c3935223f7625
Parents: 617bc25
Author: apoorvnaik <apoorvnaik@apache.org>
Authored: Mon Jul 3 09:29:05 2017 -0700
Committer: apoorvnaik <apoorvnaik@apache.org>
Committed: Mon Jul 3 09:29:05 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/atlas/discovery/GremlinStep.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/d22fa7eb/repository/src/main/java/org/apache/atlas/discovery/GremlinStep.java
----------------------------------------------------------------------
diff --git a/repository/src/main/java/org/apache/atlas/discovery/GremlinStep.java b/repository/src/main/java/org/apache/atlas/discovery/GremlinStep.java
index 5565781..1056b3e 100644
--- a/repository/src/main/java/org/apache/atlas/discovery/GremlinStep.java
+++ b/repository/src/main/java/org/apache/atlas/discovery/GremlinStep.java
@@ -363,6 +363,7 @@ public class GremlinStep implements PipelineStep {
                             break;
                         case ENDS_WITH:
                             query.has(qualifiedAttributeName, MatchingOperator.REGEX, getSuffixRegex(attrValue));
+                            break;
                         case IN:
                             LOG.warn("{}: unsupported operator. Ignored", operator);
                             break;


Mime
View raw message