be9061add128061cbaeaadbc64517c87989c688f
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getEnvVars() : Map<String,String> renamed to public getCauseEnvVars() : Map<String,String> in class com.groupon.jenkins.dynamic.build.cause.GitHubPullRequestCause | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type payload : Payload to payload : PushAndPullRequestPayload in method public GitHubPullRequestCause(payload PushAndPullRequestPayload, sha String, label String, number String, sourceBranch String, targetBranch String) in class com.groupon.jenkins.dynamic.build.cause.GitHubPullRequestCause | From | To | |
Change Parameter Type payload : Payload to payload : WebhookPayload in method public CommitInfo(payload WebhookPayload) in class com.groupon.jenkins.dynamic.build.cause.BuildCause.CommitInfo | From | To | |
Change Parameter Type payload : Payload to payload : PushAndPullRequestPayload in method public GithubPushPullWebhookCause(payload PushAndPullRequestPayload, sha String) in class com.groupon.jenkins.dynamic.build.cause.GithubPushPullWebhookCause | From | To | |
Change Parameter Type payload : Payload to payload : PushAndPullRequestPayload in method public GitHubPushCause(payload PushAndPullRequestPayload, sha String, pusher String, pusherEmailAddress String) in class com.groupon.jenkins.dynamic.build.cause.GitHubPushCause | From | To | |
Change Return Type | 1 | ||
Change Return Type Cause to BuildCause in method public getCause() : BuildCause in class com.groupon.jenkins.github.PushAndPullRequestPayload | From | To | |
Rename Class | 2 | ||
Rename Class com.groupon.jenkins.dynamic.build.cause.GithubCause renamed to com.groupon.jenkins.dynamic.build.cause.GithubPushPullWebhookCause | From | To | |
Rename Class com.groupon.jenkins.github.Payload renamed to com.groupon.jenkins.github.PushAndPullRequestPayload | From | To | |
Extract Superclass | 1 | ||
Extract Superclass com.groupon.jenkins.github.WebhookPayload from classes [com.groupon.jenkins.github.PushAndPullRequestPayload] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type payload : Payload to payload : WebhookPayload in class com.groupon.jenkins.dynamic.build.cause.GithubPushPullWebhookCause | From | To |