diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-12-15 11:24:37 +0100 |
---|---|---|
committer | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2016-12-16 14:35:28 +0100 |
commit | c3e4372a9d58f0a339cf33e7ec81447b0b9cdd25 (patch) | |
tree | d88366f0f249655b8be5b94e605beec1408434c8 /sonar-db/src/main/java/org/sonar | |
parent | 26f0b979e06c19e71b4370b142f48eef7aaf358d (diff) | |
download | sonarqube-c3e4372a9d58f0a339cf33e7ec81447b0b9cdd25.tar.gz sonarqube-c3e4372a9d58f0a339cf33e7ec81447b0b9cdd25.zip |
sort DAO classes in DaoModule alphabetically
Diffstat (limited to 'sonar-db/src/main/java/org/sonar')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/DaoModule.java | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/DaoModule.java b/sonar-db/src/main/java/org/sonar/db/DaoModule.java index dcd9b568e2d..74ab7e4bd9d 100644 --- a/sonar-db/src/main/java/org/sonar/db/DaoModule.java +++ b/sonar-db/src/main/java/org/sonar/db/DaoModule.java @@ -70,12 +70,18 @@ import org.sonar.db.webhook.WebhookDeliveryDao; public class DaoModule extends Module { private static final List<Class<? extends Dao>> classes = ImmutableList.<Class<? extends Dao>>builder().add( + // ===================================================================== + // for readability and easier merge, keep list ordered alphabetically + // ===================================================================== + ActiveRuleDao.class, AuthorDao.class, AuthorizationDao.class, CeActivityDao.class, CeQueueDao.class, + CeScannerContextDao.class, CeTaskInputDao.class, ComponentDao.class, + ComponentKeyUpdaterDao.class, ComponentLinkDao.class, CustomMeasureDao.class, DuplicationDao.class, @@ -83,38 +89,36 @@ public class DaoModule extends Module { FileSourceDao.class, GroupDao.class, GroupMembershipDao.class, + GroupPermissionDao.class, InternalPropertiesDao.class, - IssueDao.class, IssueChangeDao.class, + IssueDao.class, LoadedTemplateDao.class, MeasureDao.class, MetricDao.class, NotificationQueueDao.class, OrganizationDao.class, - GroupPermissionDao.class, - PermissionTemplateDao.class, PermissionTemplateCharacteristicDao.class, - PropertiesDao.class, + PermissionTemplateDao.class, ProjectQgateAssociationDao.class, + PropertiesDao.class, PurgeDao.class, - QualityGateDao.class, + QProfileChangeDao.class, QualityGateConditionDao.class, + QualityGateDao.class, QualityProfileDao.class, - QProfileChangeDao.class, - CeScannerContextDao.class, - RuleDao.class, - RuleRepositoryDao.class, - ActiveRuleDao.class, - ResourceIndexDao.class, ResourceDao.class, - ComponentKeyUpdaterDao.class, + ResourceIndexDao.class, RoleDao.class, + RuleDao.class, + RuleRepositoryDao.class, SnapshotDao.class, UserDao.class, UserGroupDao.class, UserPermissionDao.class, UserTokenDao.class, - WebhookDeliveryDao.class).build(); + WebhookDeliveryDao.class) + .build(); @Override protected void configureModule() { |