You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by ma...@apache.org on 2017/07/08 01:36:25 UTC

[4/4] incubator-atlas git commit: Coverity fixes for ATLAS-1880

Coverity fixes for ATLAS-1880

(cherry picked from commit d22fa7eba93d3a97800f4a5f2b5c3935223f7625)


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

Branch: refs/heads/0.8-incubating
Commit: 92f30b0e38e50037a819cc9867041d0330ddc485
Parents: fdfbfb0
Author: apoorvnaik <ap...@apache.org>
Authored: Mon Jul 3 09:29:05 2017 -0700
Committer: Madhan Neethiraj <ma...@apache.org>
Committed: Fri Jul 7 16:55:39 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/92f30b0e/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;