<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
    <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://git.reviewboard.kde.org/r/105927/">http://git.reviewboard.kde.org/r/105927/</a>
     </td>
    </tr>
   </table>
   <br />





 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">This review has been submitted with commit 7bef7c53d3b9a971c203ed4391bf19ac79f381f5 by Vishesh Handa to branch KDE/4.9.</pre>
 <br />







<p>- Commit</p>


<br />
<p>On August 8th, 2012, 2:15 p.m., Vishesh Handa wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
 <tr>
  <td>

<div>Review request for Nepomuk and Sebastian Trueg.</div>
<div>By Vishesh Handa.</div>


<p style="color: grey;"><i>Updated Aug. 8, 2012, 2:15 p.m.</i></p>






<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
 <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">    ResourceWatcher: add *count() methods for resources, properties and types
    
    These count methods are faster than returning the full list and then
    counting the number of items in the list.
    
    This also fixes an infinite loop where a temporary Resource is created
    when querying for the number of resources being watched. The temporary
    Resource is deleted, which results in ResourceData::resetAll being
    callled which again called ResourceWatcher::resources(), and the cycle
    countinues.</pre>
  </td>
 </tr>
</table>




<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="http://bugs.kde.org/show_bug.cgi?id=304796">304796</a>


</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>libnepomukcore/datamanagement/resourcewatcher.h <span style="color: grey">(af20945)</span></li>

 <li>libnepomukcore/datamanagement/resourcewatcher.cpp <span style="color: grey">(c7fc425)</span></li>

 <li>libnepomukcore/resource/resourcedata.cpp <span style="color: grey">(f3590f3)</span></li>

</ul>

<p><a href="http://git.reviewboard.kde.org/r/105927/diff/" style="margin-left: 3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>