[hibernate-commits] Hibernate SVN: r15652 - in search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test: reader and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Dec 3 08:57:55 EST 2008


Author: jcosta at redhat.com
Date: 2008-12-03 08:57:55 -0500 (Wed, 03 Dec 2008)
New Revision: 15652

Modified:
   search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/bridge/Cloud.java
   search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/reader/ReaderPerfTestCase.java
Log:
Reverting 15651, for non-related issues to HSEARCH-317. Kept the commit for HSEARCH-317

Modified: search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/bridge/Cloud.java
===================================================================
--- search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/bridge/Cloud.java	2008-12-03 13:56:17 UTC (rev 15651)
+++ search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/bridge/Cloud.java	2008-12-03 13:57:55 UTC (rev 15652)
@@ -2,8 +2,6 @@
 package org.hibernate.search.test.bridge;
 
 import java.util.Date;
-
-import javax.persistence.Column;
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
@@ -96,7 +94,6 @@
     }
 
     @Field(index=Index.UN_TOKENIZED, store=Store.YES)
-    @Column(name="int1x")
     public Integer getInt1() {
         return int1;
     }
@@ -106,7 +103,6 @@
     }
 
     @Field(index=Index.UN_TOKENIZED, store=Store.YES)
-    @Column(name="int2x")
     public int getInt2() {
         return int2;
     }
@@ -161,7 +157,6 @@
     }
 
     @Field(index=Index.UN_TOKENIZED, store=Store.YES)
-    @Column(name="xdate")
     public Date getDate() {
         return date;
     }

Modified: search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/reader/ReaderPerfTestCase.java
===================================================================
--- search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/reader/ReaderPerfTestCase.java	2008-12-03 13:56:17 UTC (rev 15651)
+++ search/branches/Branch_3_0_1_GA_CP/src/test/org/hibernate/search/test/reader/ReaderPerfTestCase.java	2008-12-03 13:57:55 UTC (rev 15652)
@@ -92,7 +92,7 @@
 				suspect.setSuspectCharge( "thief liar " );
 			}
 			else {
-				suspect.setSuspectCharge( " It's 1875 in London. The police have captured career criminal Montmorency. In the process he has been grievously wounded and it is up to a young surgeon to treat his wounds. During his recovery Montmorency learns of the city's new sewer system.");
+				suspect.setSuspectCharge( " It's 1875 in London. The police have captured career criminal Montmorency. In the process he has been grievously wounded and it is up to a young surgeon to treat his wounds. During his recovery Montmorency learns of the city's new sewer system and sees in it the perfect underground highway for his thievery.  Washington Post columnist John Kelly recommends this title for middle schoolers, especially to be read aloud.");
 			}
 			s.persist( suspect );
 		}




More information about the hibernate-commits mailing list