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 <apoorvn...@apache.org> Authored: Mon Jul 3 09:29:05 2017 -0700 Committer: apoorvnaik <apoorvn...@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;