String (@Nullable OrderEntry orderEntry) { String result = null; if (orderEntry != null) { final String presentableName = orderEntry.getPresentableName(); final Matcher matcher = VERSION_PATTERN.matcher(presentableName); if (matcher.find()) { result = matcher.group(2); } } return result; }