[Nepomuk] Review Request 109010: Remove unnecessary function call from IgnoringKInotify::filterWatch

Simeon Bird bladud at gmail.com
Mon Feb 18 18:21:50 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109010/#review27648
-----------------------------------------------------------

Ship it!


You're quite right - this was a merge error, I think. 

- Simeon Bird


On Feb. 18, 2013, 5:06 p.m., Gabriel Poesia wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109010/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2013, 5:06 p.m.)
> 
> 
> Review request for Nepomuk.
> 
> 
> Description
> -------
> 
> The IgnoringKInotify::filterWatch method, before anything else, checks if the path should be watched according to the configuration (calling FileIndexerConfig::self()->shouldFolderBeWatched( path )). If not, it returns false. But if the path should not be indexed, according to FileIndexerConfig, it returns the result of another call to "shouldFolderBeWatched", passing the same path. But this should always return true, or the method would have returned false before. Thus, the second call seems unnecessary.
> 
> 
> Diffs
> -----
> 
>   services/filewatch/nepomukfilewatch.cpp 824adca 
> 
> Diff: http://git.reviewboard.kde.org/r/109010/diff/
> 
> 
> Testing
> -------
> 
> Compiled.
> 
> 
> Thanks,
> 
> Gabriel Poesia
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20130218/989c09be/attachment.html>


More information about the Nepomuk mailing list