You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "JC (JIRA)" <ji...@apache.org> on 2017/08/14 20:10:00 UTC

[jira] [Created] (PIG-5293) Suspicious code as missing `this' for a member

JC created PIG-5293:
-----------------------

             Summary: Suspicious code as missing `this' for a member
                 Key: PIG-5293
                 URL: https://issues.apache.org/jira/browse/PIG-5293
             Project: Pig
          Issue Type: Bug
            Reporter: JC


Hi
In a recent github mirror, I've found suspicious code.
Branch: trunk
Path: src/org/apache/pig/pen/util/ExampleTuple.java

{code:java}
...
 39     Tuple t = null;
...
110     @Override
111     public void reference(Tuple t) {
112         t.reference(t);
113     }
{code}

In Line 112, `t.reference' should be `this.t.reference'? This might be just a trivial thing as the class name as ExampleTuple. But I wanted to report just in case.

Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)