f5ab57af4cfefd4a01f5839a23a652347e334e76
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getNotification() : String renamed to public getType() : String in class org.sonarqube.ws.client.notification.AddRequest | From | To | |
Rename Method public setNotification(notification String) : Builder renamed to public setType(type String) : Builder in class org.sonarqube.ws.client.notification.AddRequest.Builder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type request : AddRequest to request : RemoveRequest in method private searchProject(dbSession DbSession, request RemoveRequest) : Optional<ComponentDto> in class org.sonar.server.notification.ws.RemoveAction | From | To | |
Change Return Type | 3 | ||
Change Return Type Consumer<AddRequest> to Consumer<RemoveRequest> in method private remove() : Consumer<RemoveRequest> in class org.sonar.server.notification.ws.RemoveAction | From | To | |
Change Return Type Function<Request,AddRequest> to Function<Request,RemoveRequest> in method private toWsRequest() : Function<Request,RemoveRequest> in class org.sonar.server.notification.ws.RemoveAction | From | To | |
Change Return Type Consumer<AddRequest> to Consumer<RemoveRequest> in method private checkPermissions() : Consumer<RemoveRequest> in class org.sonar.server.notification.ws.RemoveAction | From | To | |
Move Attribute | 1 | ||
Move Attribute private dbSession : DbSession from class org.sonar.server.notification.ws.AddActionTest to private dbSession : DbSession from class org.sonar.server.notification.ws.ListActionTest | From | To | |
Rename Attribute | 3 | ||
Rename Attribute notification : String to type : String in class org.sonarqube.ws.client.notification.AddRequest | From | To | |
Rename Attribute PARAM_NOTIFICATION : String to PARAM_TYPE : String in class org.sonarqube.ws.client.notification.NotificationsWsParameters | From | To | |
Rename Attribute notification : String to type : String in class org.sonarqube.ws.client.notification.AddRequest.Builder | From | To | |
Change Variable Type | 1 | ||
Change Variable Type wsRequest : AddRequest to wsRequest : RemoveRequest in method private toWsRequest() : Function<Request,RemoveRequest> in class org.sonar.server.notification.ws.RemoveAction | From | To | |
Rename Parameter | 1 | ||
Rename Parameter notification : String to type : String in method public setType(type String) : Builder in class org.sonarqube.ws.client.notification.AddRequest.Builder | From | To |