refactor(journey): make toView() and toSummary() package-private
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -183,7 +183,7 @@ public class JourneyItemService {
|
||||
.stream().map(this::toView).toList();
|
||||
}
|
||||
|
||||
public DocumentSummary toSummary(Document doc) {
|
||||
DocumentSummary toSummary(Document doc) {
|
||||
String senderName = buildSenderName(doc);
|
||||
Set<Person> receivers = doc.getReceivers();
|
||||
String receiverName = buildCanonicalReceiverName(receivers);
|
||||
@@ -200,7 +200,7 @@ public class JourneyItemService {
|
||||
);
|
||||
}
|
||||
|
||||
public JourneyItemView toView(JourneyItem item) {
|
||||
JourneyItemView toView(JourneyItem item) {
|
||||
DocumentSummary docSummary = null;
|
||||
if (item.getDocumentId() != null) {
|
||||
Document doc = documentService.getSummaryById(item.getDocumentId());
|
||||
|
||||
Reference in New Issue
Block a user