METAGEN-55 Formatting

This commit is contained in:
Hardy Ferentschik 2011-02-14 19:39:52 +01:00 committed by Strong Liu
parent 05c4251b78
commit f88284036f
2 changed files with 30 additions and 31 deletions

View File

@ -45,6 +45,7 @@ import org.hibernate.jpamodelgen.xml.jaxb.Basic;
import org.hibernate.jpamodelgen.xml.jaxb.ElementCollection;
import org.hibernate.jpamodelgen.xml.jaxb.Embeddable;
import org.hibernate.jpamodelgen.xml.jaxb.EmbeddableAttributes;
import org.hibernate.jpamodelgen.xml.jaxb.Embedded;
import org.hibernate.jpamodelgen.xml.jaxb.Entity;
import org.hibernate.jpamodelgen.xml.jaxb.Id;
import org.hibernate.jpamodelgen.xml.jaxb.ManyToMany;
@ -385,7 +386,7 @@ public class XmlMetaEntity implements MetaEntity {
}
}
for (org.hibernate.jpamodelgen.xml.jaxb.Embedded embedded : attributes.getEmbedded()) {
for ( Embedded embedded : attributes.getEmbedded() ) {
parseEmbedded( embedded );
}
}
@ -452,7 +453,7 @@ public class XmlMetaEntity implements MetaEntity {
return false;
}
private void parseEmbedded(org.hibernate.jpamodelgen.xml.jaxb.Embedded embedded) {
private void parseEmbedded(Embedded embedded) {
XmlMetaSingleAttribute attribute;
ElementKind elementKind = getElementKind( embedded.getAccess() );
String type = getType( embedded.getName(), null, elementKind );
@ -462,8 +463,6 @@ public class XmlMetaEntity implements MetaEntity {
}
}
private String determineExplicitTargetEntity(String targetClass) {
String explicitTargetClass = targetClass;
if ( explicitTargetClass != null ) {