Apache Solr open-source search software
todo, done
Erik Hatcher7590aa1f0a52
diff --git a/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java b/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.javaindex 6e57723945f..1fba643bb3c 100644--- a/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java+++ b/contrib/velocity/src/main/java/org/apache/solr/request/VelocityResponseWriter.java@@ -59,7 +59,6 @@ public class VelocityResponseWriter implements QueryResponseWriter {context.put("date", new ComparisonDateTool());context.put("math", new MathTool());- // TODO: check for v.layout, render to string, then render v.layout's template setting $content in the contextString layout_template = request.getParams().get("v.layout");String json_wrapper = request.getParams().get("v.json");boolean wrap_response = (layout_template != null) || (json_wrapper !=null);