[seam-commits] Seam SVN: r9868 - trunk/src/main/org/jboss/seam/init.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Jan 5 13:33:43 EST 2009
Author: norman.richards at jboss.com
Date: 2009-01-05 13:33:43 -0500 (Mon, 05 Jan 2009)
New Revision: 9868
Modified:
trunk/src/main/org/jboss/seam/init/EjbEntityDescriptor.java
Log:
JBSEAM-3791
Modified: trunk/src/main/org/jboss/seam/init/EjbEntityDescriptor.java
===================================================================
--- trunk/src/main/org/jboss/seam/init/EjbEntityDescriptor.java 2009-01-05 14:47:25 UTC (rev 9867)
+++ trunk/src/main/org/jboss/seam/init/EjbEntityDescriptor.java 2009-01-05 18:33:43 UTC (rev 9868)
@@ -97,32 +97,24 @@
public void setVersionAttribute(String versionAttributeName, String accessType)
{
- if (accessType != null)
- {
- if (accessType == "PROPERTY")
- {
- this.versionPropertyName = versionAttributeName;
- }
- else if (accessType == "FIELD")
- {
- this.versionFieldName = versionAttributeName;
- }
- }
+ if (accessType != null) {
+ if (accessType.equals("PROPERTY")) {
+ this.versionPropertyName = versionAttributeName;
+ } else if (accessType.equals("FIELD")) {
+ this.versionFieldName = versionAttributeName;
+ }
+ }
}
public void setIdentifierAttribute(String identifierAttributeName, String accessType)
{
- if (accessType != null)
- {
- if (accessType == "PROPERTY")
- {
- this.identifierPropertyName = identifierAttributeName;
- }
- else if (accessType == "FIELD")
- {
- this.identifierFieldName = identifierAttributeName;
- }
- }
+ if (accessType != null) {
+ if (accessType.equals("PROPERTY")) {
+ this.identifierPropertyName = identifierAttributeName;
+ } else if (accessType.equals("FIELD")) {
+ this.identifierFieldName = identifierAttributeName;
+ }
+ }
}
public boolean isMetaDataComplete()
More information about the seam-commits
mailing list