void ( ModifiableRootModel rootModel, List<OrderEntry> orderEntries, @NlsContexts.DialogMessage String message, @NlsContexts.DialogTitle String title ) { if (!orderEntries.isEmpty()) { int result = Messages.showYesNoDialog(message, title, Messages.getWarningIcon()); if (result == 0) { for (OrderEntry entry : orderEntries) { rootModel.removeOrderEntry(entry); } } } }