LinkedList<PathParam> descendantParams = new LinkedList<PathParam>(); for (PathParam param : ancestorParams) { route.findDescendantOrSelfParams(param.name, descendantParams); if (descendantParams.size() > 0) { throw new MalformedRouteException("Duplicate parameter " + param.name);
LinkedList<PathParam> descendantParams = new LinkedList<PathParam>(); for (PathParam param : ancestorParams) { route.findDescendantOrSelfParams(param.name, descendantParams); if (descendantParams.size() > 0) { throw new MalformedRouteException("Duplicate parameter " + param.name);