| | |
| | | // for everything else we might need to know. |
| | | String description = null; |
| | | Syntax syntax = null; |
| | | HashMap<String,List<String>> extraProperties = new LinkedHashMap<String,List<String>>(); |
| | | HashMap<String,List<String>> extraProperties = new LinkedHashMap<>(); |
| | | boolean hasXSyntaxToken = false; |
| | | |
| | | while (true) |
| | |
| | | message); |
| | | } |
| | | hasXSyntaxToken = true; |
| | | LinkedList<String> values = new LinkedList<String>(); |
| | | LinkedList<String> values = new LinkedList<>(); |
| | | pos = readExtraParameterValues(valueStr, values, pos); |
| | | |
| | | if (values.isEmpty()) |
| | |
| | | // either a single value in single quotes or an open parenthesis |
| | | // followed by one or more values in single quotes separated by spaces |
| | | // followed by a close parenthesis. |
| | | List<String> valueList = new ArrayList<String>(); |
| | | List<String> valueList = new ArrayList<>(); |
| | | pos = readExtraParameterValues(valueStr, valueList, pos); |
| | | extraProperties.put(tokenName, valueList); |
| | | } |