Skip to content

Commit c980529

Browse files
committed
Non-functional cleanup.
1 parent 917e22f commit c980529

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

server/src/main/java/com/objectcomputing/checkins/services/kudos/KudosConverter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public KudosConverter(MemberProfileServices memberProfileServices,
3434
}
3535

3636
public String toSlackBlock(Kudos kudos) {
37-
// Build some the message text out of the Kudos data.
37+
// Build the message text out of the Kudos data.
3838
List<RichTextElement> content = new ArrayList<>();
3939

4040
// Look up the channel id from Slack
@@ -93,7 +93,7 @@ private RichTextSectionElement.LimitedTextStyle limitedBoldItalic() {
9393
}
9494

9595
private RichTextElement memberAsRichText(UUID memberId) {
96-
// Look up the user name to get the user id from Slack
96+
// Look up the user id by email address on Slack
9797
SlackSearch search = new SlackSearch();
9898
MemberProfile profile = memberProfileServices.getById(memberId);
9999
String userId = search.findUserId(profile.getWorkEmail());

server/src/test/java/com/objectcomputing/checkins/services/kudos/KudosControllerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import java.time.LocalDate;
4242
import java.util.Collections;
4343
import java.util.List;
44-
import java.util.Map;
4544
import java.util.Optional;
4645
import java.util.UUID;
4746

0 commit comments

Comments
 (0)