-
-
Notifications
You must be signed in to change notification settings - Fork 100
Removed code duplication from role based moderation actions. #417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableModerationAction.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableModerationAction.java
Outdated
Show resolved
Hide resolved
...cation/src/main/java/org/togetherjava/tjbot/commands/moderation/temp/TemporaryBanAction.java
Show resolved
Hide resolved
...rc/main/java/org/togetherjava/tjbot/commands/moderation/temp/TemporaryModerationRoutine.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/togetherjava/tjbot/commands/moderation/temp/TemporaryModerationRoutine.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableModerationAction.java
Outdated
Show resolved
Hide resolved
Tried using an abstract implementation. see the change. |
I'll appreciate a review. |
.../src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableRoleBasedAction.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableRoleBasedAction.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableRoleBasedAction.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableModerationAction.java
Show resolved
Hide resolved
...src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableModerationAction.java
Outdated
Show resolved
Hide resolved
0509a94
to
4427e8f
Compare
I'll appreciate a review. |
Could you please stop asking for reviews, use GitHub's GUI to request a review. |
.../src/main/java/org/togetherjava/tjbot/commands/moderation/temp/RevocableRoleBasedAction.java
Outdated
Show resolved
Hide resolved
Kudos, SonarCloud Quality Gate passed! |
Introduced abstract class
RevocableRoleBasedAction
to remove that duplication.Closes #414.