Skip to content

Commit ca96825

Browse files
committed
Remove some debug lines
1 parent 7c466de commit ca96825

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/es/upm/fi/dia/oeg/map4rdf/server/servlet/ParseWikipediaService.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,17 @@
1515
import javax.servlet.http.HttpServletRequest;
1616
import javax.servlet.http.HttpServletResponse;
1717

18-
import org.apache.log4j.Level;
19-
2018
import com.google.inject.Singleton;
2119

2220
@Singleton
2321
public class ParseWikipediaService extends HttpServlet{
2422

2523
private static final long serialVersionUID = -8524195705285261839L;
2624
private static final String WIKIPEDIA_PARAM="URL";
27-
private static org.apache.log4j.Logger log = org.apache.log4j.Logger.getLogger("Map4RDF");
2825

2926
@SuppressWarnings("static-access")
3027
@Override
3128
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
32-
log.log(Level.FATAL, "ESCRIBE ALGO!!!!");
3329
try {
3430
resp.setContentType("text/html; charset=UTF-8");
3531
String URL = getWikipediaURL(req);
@@ -54,7 +50,6 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
5450
wikipediaCon.addRequestProperty("Content-Type", "text/plain; charset=utf-8");
5551
wikipediaCon.setRequestProperty("Content-Type", "text/plain; charset=utf-8");
5652
wikipediaCon.setRequestProperty("content-type", "text/plain; charset=utf-8");
57-
log.log(Level.FATAL, "content-type:"+wikipediaCon.getContentType());
5853
wikipediaCon.connect();
5954
BufferedReader buffReader = new BufferedReader(
6055
new InputStreamReader(wikipediaCon.getInputStream(),"UTF-8"));

0 commit comments

Comments
 (0)