7201cbb70ac0ad4e07872cbd9282f0ab80c962f5
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type exception : Exception to exception : BadRequestException in method public getBadRequestResult(context Context, exception BadRequestException) : Result in class ninja.Ninja | From | To | |
| Change Parameter Type exception : Exception to exception : BadRequestException in method public getBadRequestResult(context Context, exception BadRequestException) : Result in class ninja.NinjaDefault | From | To | |
| Extract Variable | 2 | ||
| Extract Variable exception : Exception in method public getInternalServerErrorResult() : void from class ninja.NinjaDefaultTest | From | To | |
| Extract Variable exception : BadRequestException in method public testGetBadRequest() : void from class ninja.NinjaDefaultTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type badRequestException : Exception to badRequestException : BadRequestException in method public testOnExceptionBadRequest() : void in class ninja.NinjaDefaultTest | From | To | |
| Inline Variable | 1 | ||
| Inline Variable renderingException : RenderingException in method public onException(context Context, exception Exception, underlyingResult Result) : Result from class ninja.NinjaDefault | From | To | |
| Extract Method | 1 | ||
| Extract Method public getForbiddenResult(context Context, exception ForbiddenRequestException) : Result extracted from public getForbiddenResult(context Context) : Result in class ninja.NinjaDefault | From | To |