[Nepomuk] Review Request 113188: Identifier: Give PersonContacts with a nco:contactUID special treatement

Vishesh Handa me at vhanda.in
Thu Oct 10 18:05:58 UTC 2013



> On Oct. 10, 2013, 10:32 a.m., David Edmundson wrote:
> > services/storage/resourceidentifier.cpp, line 139
> > <http://git.reviewboard.kde.org/r/113188/diff/1/?file=200242#file200242line139>
> >
> >     could be const&
> >     same for newUri, and the ids later.

Are you sure? The nieUrl method returns a temporarily constructed QUrl. Trying to create a reference to a temporary object does not seem like a good idea.


- Vishesh


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


On Oct. 10, 2013, 10:20 a.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113188/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2013, 10:20 a.m.)
> 
> 
> Review request for Nepomuk and David Edmundson.
> 
> 
> Repository: nepomuk-core
> 
> 
> Description
> -------
> 
>     We check if another contact with the same identifier exists during the
>     identification phase. This way even if the nickname has changed, as long
>     as the contactUID is the same, a new contact is not created.
> 
> 
> Diffs
> -----
> 
>   services/storage/resourceidentifier.cpp c59bba355ba7cebfac8d79b642a3486993b58e26 
>   services/storage/test/identificationtests.h 4f2c0280ae4e090dfa307ad83188128ec6c4c267 
>   services/storage/test/identificationtests.cpp 0ed1343a0684418bfa499296f254e273cb8db4fc 
>   services/storage/test/qtest_dms.cpp d758a81ba66f0a86f12ac2b7a57454ab0bb66575 
> 
> Diff: http://git.reviewboard.kde.org/r/113188/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

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


More information about the Nepomuk mailing list