You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ap...@apache.org on 2017/07/03 16:29:09 UTC

incubator-atlas git commit: Coverity fixes for ATLAS-1880

Repository: incubator-atlas
Updated Branches:
  refs/heads/master 617bc25ec -> d22fa7eba


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/master
Commit: d22fa7eba93d3a97800f4a5f2b5c3935223f7625
Parents: 617bc25
Author: apoorvnaik <ap...@apache.org>
Authored: Mon Jul 3 09:29:05 2017 -0700
Committer: apoorvnaik <ap...@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;