Removed redundant variable from getLength method.
Signed-off-by: Martin Vitez <mvitez@cisco.com>
«IF restrictions != null && !(restrictions.lengthConstraints.empty)»\r
public static «List.importedName»<«Range.importedName»<Integer>> getLength() {\r
final «List.importedName»<«Range.importedName»<Integer>> result = new «ArrayList.importedName»<>();\r
- «List.importedName»<«Range.importedName»<«Integer.importedName»>> lengthConstraints = new «ArrayList.importedName»<>(); \r
«FOR r : restrictions.lengthConstraints»\r
result.add(«Range.importedName».closed(«r.min», «r.max»));\r
«ENDFOR»\r