kozaxinan/android-lints

ResponseBody is not immutable and lint check fails

Closed this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

ResponseBody class is a valid return type. User doesnt have control and it is not mutable. Mutable lint check fails for ResponseBody.
Lint check should ignore ResponseBody return type.

To Reproduce
Steps to reproduce the behavior:

  1. Have a retrofit service function with ResponseBody return type

Expected behavior
A clear and concise description of what you expected to happen.

Lint should allow ResponseBody