[Nepomuk] Review Request: Remove old code from the ResourceManager

Vishesh Handa me at vhanda.in
Thu Jun 14 20:26:16 UTC 2012



> On June 14, 2012, 7:28 p.m., Sebastian Trueg wrote:
> > libnepomukcore/resource/resourcemanager.h, line 105
> > <http://git.reviewboard.kde.org/r/105247/diff/1/?file=67595#file67595line105>
> >
> >     Actually we can also remove this as it does not make sense anymore - we are using the DMS for writing now which cannot be replaced.

A lot of the Nepomuk::Resource tests use this. Should I just throw away those tests?


> On June 14, 2012, 7:28 p.m., Sebastian Trueg wrote:
> > libnepomukcore/resource/resourcemanager.h, line 174
> > <http://git.reviewboard.kde.org/r/105247/diff/1/?file=67595#file67595line174>
> >
> >     Even this could be removed. And if we need method like that why not do something like:
> >     
> >     QList<Nepomuk::Resource> somethingBlocking(const Nepomuk::Query::Query& wuery);

The Nepomuk::Tag class uses it for the tagOf() function. I'll replace it with the somethingBlocking version.


- Vishesh


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


On June 13, 2012, 9:06 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105247/
> -----------------------------------------------------------
> 
> (Updated June 13, 2012, 9:06 p.m.)
> 
> 
> Review request for Nepomuk.
> 
> 
> Description
> -------
> 
> Remove old code from the ResourceManager
> 
> Lesser code is easier to understand, plus we are allowed to break
> ABI and API compatibility right now!
> 
> 
> Diffs
> -----
> 
>   libnepomukcore/resource/resourcemanager.h 012cde5c684cc15bb9983ff35cc95ac03757f679 
>   libnepomukcore/resource/resourcemanager.cpp f510673944c374cff99fe9cce621601b2a0e9cf2 
>   libnepomukcore/resource/resourcemanager_p.h 2143642e586ff4e5d5f530b0b20340fbe7b81753 
>   libnepomukcore/test/resourcetest.cpp 82e26c36436f58774b3b86fe1a25d084a65a6217 
> 
> Diff: http://git.reviewboard.kde.org/r/105247/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

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


More information about the Nepomuk mailing list