2006/unicorn/org/w3c/unicorn/response/parser DefaultParser.java,1.10,1.11

Update of /sources/public/2006/unicorn/org/w3c/unicorn/response/parser
In directory hutz:/tmp/cvs-serv15770/org/w3c/unicorn/response/parser

Modified Files:
	DefaultParser.java 
Log Message:
simplified logs a bit.

Index: DefaultParser.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/response/parser/DefaultParser.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- DefaultParser.java	25 Sep 2008 10:02:01 -0000	1.10
+++ DefaultParser.java	25 Sep 2008 17:37:44 -0000	1.11
@@ -65,20 +65,7 @@
 
 		try {
 			org.w3.unicorn.observationresponse.ObservationresponseDocument ord = org.w3.unicorn.observationresponse.ObservationresponseDocument.Factory
-				.parse(r);
-			/*
-			File xml = new File("validator.xml");
-			BufferedReader fr = new BufferedReader(new FileReader(xml));
-			String s;
-			String resp ="";
-			while ((s=fr.readLine()) != null) {
-				resp += s + "\n";
-			}
-			//System.out.println(resp);
-			fr.close();
-			org.w3.unicorn.observationresponse.ObservationresponseDocument ord = org.w3.unicorn.observationresponse.ObservationresponseDocument.Factory
-			.parse(resp);
-			*/
+          .parse(r);
 			return swap(ord);
 		} catch (Exception e) {
 			e.printStackTrace();

Received on Thursday, 25 September 2008 17:38:19 UTC