mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 18:15:41 +00:00
1 parent
8164b97ad5
commit
a89cf9866b
1 file changed
+1
-1
@@ -122,7 +122,7 @@ public class LegacyShop {
|
|||||||
|
|
||||||
String id = legacyOrder.getId();
|
String id = legacyOrder.getId();
|
||||||
|
|
||||||
Optional<LegacyOrder> orderInModernSystem = acl.findOrderInModernSystem(id);
|
Optional<ModernOrder> orderInModernSystem = acl.findOrderInModernSystem(id);
|
||||||
|
|
||||||
if (orderInModernSystem.isPresent()) {
|
if (orderInModernSystem.isPresent()) {
|
||||||
// order is already in the modern system
|
// order is already in the modern system
|
||||||
|
|||||||
Reference in new issue
Block a user