> On Sept. 2, 2012, 9:28 p.m., Will McQueen wrote:
> > flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/CheckpointRebuilder.java,
> >  lines 218-223
> > <https://reviews.apache.org/r/6892/diff/2/?file=149042#file149042line218>
> >
> >     1 nit...
> >     
> >     Since class is now final, we can replace this section with:
> >     
> >     if (!(o instanceof ComparableFlumeEventPointer))
> >       return false;

I think this is ok to leave it as such. I don't see a major performance hit for 
doing what we do currently.


- Hari


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/6892/#review10983
-----------------------------------------------------------


On Sept. 2, 2012, 9:11 p.m., Hari Shreedharan wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/6892/
> -----------------------------------------------------------
> 
> (Updated Sept. 2, 2012, 9:11 p.m.)
> 
> 
> Review request for Flume.
> 
> 
> Description
> -------
> 
> The equals() method in ComparableFlumeEventPointer was not working correctly, 
> and hence remove() calls from sets were not removing anything.
> 
> 
> This addresses bug FLUME-1534.
>     https://issues.apache.org/jira/browse/FLUME-1534
> 
> 
> Diffs
> -----
> 
>   
> flume-ng-channels/flume-file-channel/src/main/java/org/apache/flume/channel/file/CheckpointRebuilder.java
>  4db1b9c 
> 
> Diff: https://reviews.apache.org/r/6892/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Hari Shreedharan
> 
>

Reply via email to