lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From no...@apache.org
Subject svn commit: r822161 - /lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java
Date Tue, 06 Oct 2009 08:11:56 GMT
Author: noble
Date: Tue Oct  6 08:11:56 2009
New Revision: 822161

URL: http://svn.apache.org/viewvc?rev=822161&view=rev
Log:
formatting

Modified:
    lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java

Modified: lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java?rev=822161&r1=822160&r2=822161&view=diff
==============================================================================
--- lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java
(original)
+++ lucene/solr/trunk/contrib/dataimporthandler/src/test/java/org/apache/solr/handler/dataimport/TestXPathRecordReader.java
Tue Oct  6 08:11:56 2009
@@ -561,10 +561,9 @@
     XPathRecordReader rr = new XPathRecordReader("/root/node");
     rr.addField("id", "/root/node/id", true);
     rr.addField("desc", "/root/node/desc", true);
-    try {
-      rr.getAllRecords(new StringReader(malformedXml));
-      Assert.fail("A RuntimeException was expected: the input XML is invalid.");
-      }
-    catch (Exception e) { }
+   try {
+     rr.getAllRecords(new StringReader(malformedXml));
+     Assert.fail("A RuntimeException was expected: the input XML is invalid.");
+   } catch (Exception e) { }
  }
 }



Mime
View raw message