Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Jwen/remove code smells #359

Merged
merged 8 commits into from
Jun 1, 2022
Merged

Jwen/remove code smells #359

merged 8 commits into from
Jun 1, 2022

Conversation

jiabaow
Copy link
Collaborator

@jiabaow jiabaow commented May 30, 2022

No description provided.

@jiabaow jiabaow self-assigned this May 30, 2022
Log.w(ContentValues.TAG, "getRoomData:onCancelled", error.toException())
}

override fun onCancelled(error: DatabaseError) {
Copy link

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 3 locations. Consider refactoring.

@jiabaow jiabaow marked this pull request as ready for review May 31, 2022 07:20
Copy link
Collaborator

@laurislopata laurislopata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kamilababayeva
Copy link
Collaborator

Thanks forr refactoring!!! thanks!!!

@jiabaow jiabaow linked an issue Jun 1, 2022 that may be closed by this pull request
@codeclimate
Copy link

codeclimate bot commented Jun 1, 2022

Code Climate has analyzed commit 201eed3 and detected 3 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 3

The test coverage on the diff in this pull request is 31.4% (80% is the threshold).

This pull request will bring the total coverage in the repository to 85.8% (0.2% change).

View more on Code Climate.

@jiabaow jiabaow merged commit a5a8936 into main Jun 1, 2022
@jiabaow jiabaow deleted the jwen/remove-code-smells branch June 1, 2022 11:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactoring reduces code smells and duplications
4 participants