3e3e4b1e16c0e5ebf8a485d3014cb7bd2577e192
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type session : SqlSession to session : DbSession in method public insert(session DbSession, newQualityGate QualityGateDto) : QualityGateDto in class org.sonar.db.qualitygate.QualityGateDao | From | To | |
Rename Variable | 1 | ||
Rename Variable session : SqlSession to dbSession : DbSession in method public copy(sourceId long, destinationName String) : QualityGateDto in class org.sonar.server.qualitygate.QualityGates | From | To | |
Change Return Type | 1 | ||
Change Return Type void to QualityGateDto in method public insert(session DbSession, newQualityGate QualityGateDto) : QualityGateDto in class org.sonar.db.qualitygate.QualityGateDao | From | To | |
Move Attribute | 11 | ||
Move Attribute package PARAM_NAME : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_NAME : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_ID : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_ID : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_ERROR : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_ERROR : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_GATE_ID : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_GATE_ID : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_OPERATOR : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_OPERATOR : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_METRIC : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_METRIC : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_PAGE : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_PAGE : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_PAGE_SIZE : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_PAGE_SIZE : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_QUERY : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_QUERY : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_WARNING : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_WARNING : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Move Attribute package PARAM_PERIOD : String from class org.sonar.server.qualitygate.ws.QualityGatesWs to public PARAM_PERIOD : String from class org.sonarqube.ws.client.qualitygate.QualityGatesWsParameters | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [conditionDao : QualityGateConditionDao, propertiesDao : PropertiesDao, componentDao : ComponentDao, myBatis : MyBatis] to dbClient : DbClient in method public QualityGates(dbClient DbClient, metricFinder MetricFinder, userSession UserSession, settings Settings) in class org.sonar.server.qualitygate.QualityGates | From | To | |
Rename Attribute | 4 | ||
Rename Attribute myBatis : MyBatis to dbClient : DbClient in class org.sonar.server.qualitygate.QualityGatesTest | From | To | |
Rename Attribute dbTester : DbTester to db : DbTester in class org.sonar.db.qualitygate.ProjectQgateAssociationDaoTest | From | To | |
Rename Attribute dao : ProjectQgateAssociationDao to underTest : ProjectQgateAssociationDao in class org.sonar.db.qualitygate.ProjectQgateAssociationDaoTest | From | To | |
Rename Attribute session : DbSession to dbSession : DbSession in class org.sonar.server.qualitygate.QualityGatesTest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type session : SqlSession to session : DbSession in method public insert(newQualityGate QualityGateDto) : void in class org.sonar.db.qualitygate.QualityGateDao | From | To | |
Change Variable Type session : SqlSession to dbSession : DbSession in method public copy(sourceId long, destinationName String) : QualityGateDto in class org.sonar.server.qualitygate.QualityGates | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type myBatis : MyBatis to dbClient : DbClient in class org.sonar.server.qualitygate.QualityGatesTest | From | To | |
Inline Variable | 1 | ||
Inline Variable session : DbSession in method public should_copy_qgate() : void from class org.sonar.server.qualitygate.QualityGatesTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter newQualityGate : QualityGateDto to qualityGate : QualityGateDto in method public insert(qualityGate QualityGateDto) : void in class org.sonar.db.qualitygate.QualityGateMapper | From | To |