e0ad2379d3e1f0e4c286570b5b86dd0a351589da
Files Diff
- Added: 0
- Removed: 4
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable pstmt : PreparedStatement to res : PreparedStatement in method private createStatement(projectUuid String, dispatcherKeys Collection<String>, connection Connection) : PreparedStatement in class org.sonar.db.property.PropertiesDao | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dao : PropertiesDao to underTest : PropertiesDao in class org.sonar.db.property.PropertiesDaoTest | From | To | |
Extract Method | 19 | ||
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectProjectProperty(dbSession DbSession, resourceId long, propertyKey String) : PropertyDto in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteById(dbSession DbSession, id long) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteGlobalProperties() : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectUsersForNotification(notificationDispatcherKey String, notificationChannelKey String, projectUuid String) : List<String> in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteGlobalProperty(key String, session DbSession) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public updateProperties(key String, oldValue String, newValue String, session DbSession) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectGlobalProperties(session DbSession) : List<PropertyDto> in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteProjectProperties(key String, value String, session DbSession) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public insertProperty(session DbSession, property PropertyDto) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteProjectProperty(key String, projectId Long, session DbSession) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectEnabledDescendantModuleProperties(moduleUuid String, session DbSession) : List<PropertyDto> in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectGlobalProperty(session DbSession, propertyKey String) : PropertyDto in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private createStatement(projectUuid String, dispatcherKeys Collection<String>, connection Connection) : PreparedStatement extracted from public hasProjectNotificationSubscribersForDispatchers(projectUuid String, dispatcherKeys Collection<String>) : boolean in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public insertGlobalProperties(properties Map<String,String>) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public renamePropertyKey(oldKey String, newKey String) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectByQuery(query PropertyQuery, session DbSession) : List<PropertyDto> in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public deleteAllProperties(key String) : void in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectNotificationSubscribers(notificationDispatcherKey String, notificationChannelKey String, componentKey String) : List<String> in class org.sonar.db.property.PropertiesDao | From | To | |
Extract Method private getMapper(session DbSession) : PropertiesMapper extracted from public selectProjectProperties(session DbSession, projectKey String) : List<PropertyDto> in class org.sonar.db.property.PropertiesDao | From | To | |
Rename Parameter | 2 | ||
Rename Parameter dbSession : DbSession to session : DbSession in method private getMapper(session DbSession) : PropertiesMapper in class org.sonar.db.property.PropertiesDao | From | To |