Skip to content

Commit

Permalink
remove dead var
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Coveney committed Apr 13, 2012
1 parent 7e07bc8 commit 2acd487
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/org/apache/pig/builtin/IsEmpty.java
Expand Up @@ -36,8 +36,6 @@ public class IsEmpty extends FilterFunc implements TerminatingAccumulator<Boolea

private boolean isEmpty = true;

private int i = 0; //remove

@Override
public Boolean exec(Tuple input) throws IOException {
try {
Expand Down Expand Up @@ -65,9 +63,6 @@ public boolean isFinished() {
@Override
public void accumulate(Tuple b) throws IOException {
isEmpty &= exec(b);
System.out.println("INPUT: " + b); //remove
System.out.println("OUTPUT OF ACCUM: " + exec(b)); //remove
System.out.println("IS FINISHED? " + !isEmpty); //remove
}

@Override
Expand Down

0 comments on commit 2acd487

Please sign in to comment.