drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amansinha100 <...@git.apache.org>
Subject [GitHub] drill pull request: DRILL-3767: SchemaPath.getCompoundPath(String....
Date Sun, 13 Sep 2015 02:29:00 GMT
Github user amansinha100 commented on a diff in the pull request:

    --- Diff: common/src/main/java/org/apache/drill/common/expression/SchemaPath.java ---
    @@ -220,9 +214,6 @@ public boolean contains(Object obj) {
         SchemaPath other = (SchemaPath) obj;
    -    if (rootSegment == null) {
    --- End diff --
    Are you sure rootSegment is not null ? If so, pls add an assert otherwise the next statement
could potentially hit NPE. Also what about other.rootSegment ? Should that be checked ?

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message