-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
* | ||
*/ | ||
private fun loadFollowing(followingMap: Map<String, Boolean>) { | ||
override fun loadFollowing(followingMap: Map<String, Boolean>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
* | ||
*/ | ||
private fun loadFollowing(followingMap: Map<String, Boolean>) { | ||
override fun loadFollowing(followingMap: Map<String, Boolean>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Identical blocks of code found in 2 locations. Consider refactoring.
validateSearch.setOnClickListener{ chooseGenreByArtist(searchArtistEditable.toString(), R.string.gameGenre_byArtistSearch) } | ||
} | ||
|
||
private fun chooseGenreByTag(tag: String, mode: Int) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
chooseGenre(method = LastfmMethod.BY_TAG.method, tag = tag, mode = mode) | ||
} | ||
|
||
private fun chooseGenreByArtist(artist: String, mode: Int) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar blocks of code found in 2 locations. Consider refactoring.
Code Climate has analyzed commit 239d036 and detected 6 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 92.2% (80% is the threshold). This pull request will bring the total coverage in the repository to 84.0%. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, works on the phone IRL 👍
No description provided.