]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4453 Changed permission facade interfaces
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 12:25:09 +0000 (14:25 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Thu, 11 Jul 2013 12:25:09 +0000 (14:25 +0200)
sonar-core/src/main/java/org/sonar/core/permission/ComponentPermissionFacade.java

index 7d73036c689cc16353f4b06f5ad4e3d405984553..177a5c69f5fba8583ecda8b0d5f3f32444677f8f 100644 (file)
@@ -21,9 +21,9 @@
 package org.sonar.core.permission;
 
 import org.apache.ibatis.session.SqlSession;
-import org.sonar.api.ServerExtension;
+import org.sonar.api.ServerComponent;
 import org.sonar.api.security.DefaultGroups;
-import org.sonar.api.task.TaskExtension;
+import org.sonar.api.task.TaskComponent;
 import org.sonar.core.persistence.MyBatis;
 import org.sonar.core.user.*;
 
@@ -35,7 +35,7 @@ import java.util.List;
  *
  * This facade wraps all the db operations related to component-based permissions
  */
-public class ComponentPermissionFacade implements TaskExtension, ServerExtension {
+public class ComponentPermissionFacade implements TaskComponent, ServerComponent {
 
   private final MyBatis myBatis;
   private final RoleDao roleDao;