]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4923 Update comments
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 9 Jan 2014 07:33:34 +0000 (08:33 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 9 Jan 2014 08:53:57 +0000 (09:53 +0100)
sonar-server/src/main/java/org/sonar/server/qualityprofile/QProfileSearch.java
sonar-server/src/main/java/org/sonar/server/qualityprofile/QProfiles.java

index d9cb28a88c07dde510041ecef41426de7b920eef..4186f73f79bae26e959d6a3adf238362e5c5be38 100644 (file)
@@ -78,7 +78,6 @@ public class QProfileSearch implements ServerComponent {
 
   private void incrementAncestors(QProfile profile, List<QProfile> ancestors, SqlSession session){
     if (profile.parent() != null) {
-      // TODO reuse same session
       QualityProfileDto parentDto = dao.selectParent(profile.id(), session);
       if (parentDto == null) {
         throw new IllegalStateException("Cannot find parent of profile : "+ profile.id());
index 633b353f20276fa4dcfe41e8965b21e2d794a88b..aa12803b00e3a5c73d24e4caabaa1dc9a519893a 100644 (file)
@@ -88,7 +88,6 @@ public class QProfiles implements ServerComponent {
   // restore profile
   //
   // INHERITANCE
-  // get inheritance of profile id
   // change inheritance of a profile id
   //
   // ACTIVE RULES