[hibernate-commits] Hibernate SVN: r14779 - in annotations/trunk/src/java/org/hibernate/cfg: annotations and 1 other directory.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Wed Jun 18 13:56:27 EDT 2008


Author: hardy.ferentschik
Date: 2008-06-18 13:56:27 -0400 (Wed, 18 Jun 2008)
New Revision: 14779

Modified:
   annotations/trunk/src/java/org/hibernate/cfg/FkSecondPass.java
   annotations/trunk/src/java/org/hibernate/cfg/JoinedSubclassFkSecondPass.java
   annotations/trunk/src/java/org/hibernate/cfg/annotations/ListBinder.java
Log:
- Documentation fixes
- Added @SuppressWarning annotation

Modified: annotations/trunk/src/java/org/hibernate/cfg/FkSecondPass.java
===================================================================
--- annotations/trunk/src/java/org/hibernate/cfg/FkSecondPass.java	2008-06-18 17:50:35 UTC (rev 14778)
+++ annotations/trunk/src/java/org/hibernate/cfg/FkSecondPass.java	2008-06-18 17:56:27 UTC (rev 14779)
@@ -13,7 +13,7 @@
 	protected SimpleValue value;
 	protected Ejb3JoinColumn[] columns;
 	/**
-	 * unique counter is needed to differenciate 2 instances of FKSecondPass
+	 * unique counter is needed to differentiate 2 instances of FKSecondPass
 	 * as they are compared.
 	 * Fairly hacky but IBM VM sometimes returns the same hashCode for 2 different objects
 	 * TODO is it doable to rely on the Ejb3JoinColumn names? Not sure at they could be inferred

Modified: annotations/trunk/src/java/org/hibernate/cfg/JoinedSubclassFkSecondPass.java
===================================================================
--- annotations/trunk/src/java/org/hibernate/cfg/JoinedSubclassFkSecondPass.java	2008-06-18 17:50:35 UTC (rev 14778)
+++ annotations/trunk/src/java/org/hibernate/cfg/JoinedSubclassFkSecondPass.java	2008-06-18 17:56:27 UTC (rev 14779)
@@ -11,6 +11,7 @@
 /**
  * @author Emmanuel Bernard
  */
+ at SuppressWarnings({"serial", "unchecked"})
 public class JoinedSubclassFkSecondPass extends FkSecondPass {
 	private JoinedSubclass entity;
 	private ExtendedMappings mappings;

Modified: annotations/trunk/src/java/org/hibernate/cfg/annotations/ListBinder.java
===================================================================
--- annotations/trunk/src/java/org/hibernate/cfg/annotations/ListBinder.java	2008-06-18 17:50:35 UTC (rev 14778)
+++ annotations/trunk/src/java/org/hibernate/cfg/annotations/ListBinder.java	2008-06-18 17:56:27 UTC (rev 14779)
@@ -26,11 +26,12 @@
 import org.slf4j.LoggerFactory;
 
 /**
- * Bind a list
+ * Bind a list to the underlying Hibernate configuration
  *
  * @author Matthew Inger
  * @author Emmanuel Bernard
  */
+ at SuppressWarnings({"unchecked", "serial"})
 public class ListBinder extends CollectionBinder {
 	private Logger log = LoggerFactory.getLogger( ListBinder.class );
 




More information about the hibernate-commits mailing list