Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion anti-corruption-layer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public class LegacyShop {

String id = legacyOrder.getId();

Optional<LegacyOrder> orderInModernSystem = acl.findOrderInModernSystem(id);
Optional<ModernOrder> orderInModernSystem = acl.findOrderInModernSystem(id);

Choose a reason for hiding this comment

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

The type of orderInModernSystem has changed from Optional<LegacyOrder> to Optional<ModernOrder>. Ensure this change is consistent with the overall design and doesn't introduce unexpected behavior or break existing functionality.


if (orderInModernSystem.isPresent()) {
// order is already in the modern system
Expand Down
Loading