mirror of https://github.com/apache/lucene.git
remove logging API usage, mainly because it isn't used, but also caused a test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@930931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4bc76411dd
commit
aa949373b3
|
@ -27,8 +27,6 @@ import org.apache.velocity.Template;
|
||||||
import org.apache.velocity.VelocityContext;
|
import org.apache.velocity.VelocityContext;
|
||||||
import org.apache.velocity.app.VelocityEngine;
|
import org.apache.velocity.app.VelocityEngine;
|
||||||
import org.apache.velocity.tools.generic.*;
|
import org.apache.velocity.tools.generic.*;
|
||||||
import org.slf4j.Logger;
|
|
||||||
import org.slf4j.LoggerFactory;
|
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
@ -36,7 +34,7 @@ import java.util.Properties;
|
||||||
public class VelocityResponseWriter implements QueryResponseWriter {
|
public class VelocityResponseWriter implements QueryResponseWriter {
|
||||||
|
|
||||||
// TODO: maybe pass this Logger to the template for logging from there?
|
// TODO: maybe pass this Logger to the template for logging from there?
|
||||||
private static final Logger log = LoggerFactory.getLogger(VelocityResponseWriter.class);
|
// private static final Logger log = LoggerFactory.getLogger(VelocityResponseWriter.class);
|
||||||
|
|
||||||
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException {
|
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException {
|
||||||
VelocityEngine engine = getEngine(request); // TODO: have HTTP headers available for configuring engine
|
VelocityEngine engine = getEngine(request); // TODO: have HTTP headers available for configuring engine
|
||||||
|
|
Loading…
Reference in New Issue