Skip to content

Commit

Permalink
#1269 Send a comment after updating task estimation.
Browse files Browse the repository at this point in the history
This logic will be tested along with #1271.
  • Loading branch information
criske committed Nov 10, 2021
1 parent 7251fe5 commit 9dd5d1d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
* @checkstyle ClassFanOutComplexity (1000 lines)
* @checkstyle ClassDataAbstractionCoupling (1000 lines)
* @since 0.0.1
* @todo #1265:30min Send a comment after updating a task's estimation inside
* issueLabelsChanged.
*/
public final class StoredProjectManager implements ProjectManager {

Expand Down Expand Up @@ -665,8 +663,7 @@ public void issueLabelsChanged(final Event event) {
isNotClosed -> new TaskIsRegistered(
new IssueEstimationChanged(
new UpdateTaskEstimation(
sendReply -> LOG.debug("Send updated estimation"
+ " comment.")
new SendReply("Task estimation has been updated.")
),
notChanged -> LOG.debug(
"Nothing to do on Issue label change."
Expand Down

1 comment on commit 9dd5d1d

@zoeself
Copy link
Collaborator

Choose a reason for hiding this comment

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

@criske I've closed the Issues [#1269] since their to-dos disappeared from the code.

The to-dos may have been removed in an earlier commit, but I've found it just now.

Please sign in to comment.