mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
@@ -122,7 +122,7 @@ public class LegacyShop {
|
||||
|
||||
String id = legacyOrder.getId();
|
||||
|
||||
Optional<LegacyOrder> orderInModernSystem = acl.findOrderInModernSystem(id);
|
||||
Optional<ModernOrder> orderInModernSystem = acl.findOrderInModernSystem(id);
|
||||
|
||||
if (orderInModernSystem.isPresent()) {
|
||||
// order is already in the modern system
|
||||
|
||||
Reference in New Issue
Block a user