f4e8b01d5c2c59953aec0f050ee52b3446997a78
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 6 | ||
Extract Method protected buildErrorMessage(context Context, errorTextKey String, errorTextDefault String, exception Optional<Throwable>, underlyingResult Optional<Result>) : Message extracted from public getForbiddenResult(context Context, exception ForbiddenRequestException) : Result in class ninja.NinjaDefault | From | To | |
Extract Method protected buildErrorMessage(context Context, errorTextKey String, errorTextDefault String, exception Optional<Throwable>, underlyingResult Optional<Result>) : Message extracted from public getUnauthorizedResult(context Context) : Result in class ninja.NinjaDefault | From | To | |
Extract Method protected buildErrorMessage(context Context, errorTextKey String, errorTextDefault String, exception Optional<Throwable>, underlyingResult Optional<Result>) : Message extracted from public getNotFoundResult(context Context) : Result in class ninja.NinjaDefault | From | To | |
Extract Method public getNotFoundResult(context Context, exception RequestNotFoundException) : Result extracted from public getNotFoundResult(context Context) : Result in class ninja.NinjaDefault | From | To | |
Extract Method protected buildErrorMessage(context Context, errorTextKey String, errorTextDefault String, exception Optional<Throwable>, underlyingResult Optional<Result>) : Message extracted from public getBadRequestResult(context Context, exception BadRequestException) : Result in class ninja.NinjaDefault | From | To | |
Extract Method protected buildErrorMessage(context Context, errorTextKey String, errorTextDefault String, exception Optional<Throwable>, underlyingResult Optional<Result>) : Message extracted from public getInternalServerErrorResult(context Context, exception Exception, underlyingResult Result) : Result in class ninja.NinjaDefault | From | To |