45f6d410d36e999607e306dcf4374d739d58677b
Files Diff
- Added: 13
- Removed: 4
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method public web_follower_fails_if_server_id_is_invalid() : void renamed to public web_leader_creates_server_id_from_current_serverId_with_databaseId_if_checksum_fails() : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Rename Method public web_leader_resets_server_id_if_invalid() : void renamed to public web_leader_creates_server_id_from_scratch_if_checksum_fails_for_serverId_in_deprecated_format() : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Rename Method public web_leader_generates_missing_checksum() : void renamed to public web_leader_generates_missing_checksum_for_current_serverId_with_databaseId() : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Rename Method public web_follower_does_not_fail_if_server_id_is_valid() : void renamed to public web_follower_does_not_fail_if_server_id_matches_checksum(serverId ServerId) : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type expectedServerId : String to expectedServerId : ServerId in method private verifyDb(expectedServerId ServerId, expectedChecksum String) : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Inline Method | 1 | ||
Inline Method private needsToBeDropped(dbSession DbSession) : boolean inlined to public start() : void in class org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Move Attribute | 3 | ||
Move Attribute private config : Configuration from class org.sonar.server.platform.ServerIdManagerTest to private config : Configuration from class org.sonar.server.platform.serverid.ServerIdFactoryImplTest | From | To | |
Move Attribute private uuidFactory : UuidFactory from class org.sonar.server.platform.ServerIdManagerTest to private uuidFactory : UuidFactory from class org.sonar.server.platform.serverid.ServerIdFactoryImplTest | From | To | |
Move Attribute private config : Configuration from class org.sonar.server.platform.ServerIdManager to private config : Configuration from class org.sonar.server.platform.serverid.ServerIdChecksum | From | To | |
Extract Class | 2 | ||
Extract Class org.sonar.server.platform.serverid.ServerIdChecksum from class org.sonar.server.platform.ServerIdManager | From | To | |
Extract Class org.sonar.server.platform.serverid.ServerIdFactoryImplTest from class org.sonar.server.platform.ServerIdManagerTest | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class org.sonar.server.platform.ServerIdChecksum moved and renamed to org.sonar.server.platform.serverid.JdbcUrlSanitizer | From | To | |
Move And Rename Class org.sonar.server.platform.ServerIdChecksumTest moved and renamed to org.sonar.server.platform.serverid.JdbcUrlSanitizerTest | From | To | |
Move Class | 2 | ||
Move Class org.sonar.server.platform.ServerIdManager moved to org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Move Class org.sonar.server.platform.ServerIdManagerTest moved to org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Rename Attribute | 4 | ||
Rename Attribute config : Configuration to serverIdFactory : ServerIdFactory in class org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Rename Attribute A_VALID_CHECKSUM : String to CHECKSUM_1 : String in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Rename Attribute uuidFactory : UuidFactory to serverIdChecksum : ServerIdChecksum in class org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Rename Attribute A_SERVER_ID : String to WITH_DATABASE_ID_SERVER_ID : ServerId in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Extract Method | 2 | ||
Extract Method private insertServerId(serverId ServerId) : void extracted from public web_follower_does_not_fail_if_server_id_is_valid() : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Extract Method private insertServerId(serverId ServerId) : void extracted from public web_follower_fails_if_server_id_is_invalid() : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type A_SERVER_ID : String to WITH_DATABASE_ID_SERVER_ID : ServerId in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To | |
Change Attribute Type config : Configuration to serverIdFactory : ServerIdFactory in class org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Change Attribute Type uuidFactory : UuidFactory to serverIdChecksum : ServerIdChecksum in class org.sonar.server.platform.serverid.ServerIdManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter value : String to serverId : String in method private insertServerId(serverId String) : void in class org.sonar.server.platform.serverid.ServerIdManagerTest | From | To |