474475476477478479480481482483484
T result; do { String query = " [" + defaultIfEmpty + "] "; String value = promptWithCompleter(message + query, new CompleterAdaptor( new EnumCompleter(type))); if ((value == null) || value.trim().isEmpty()) { result = defaultIfEmpty;