Fix checkstyle violations
This commit is contained in:
parent
981eb41d79
commit
5c43ad571f
|
@ -10,9 +10,10 @@ package org.hibernate.jpamodelgen.model;
|
|||
* @author Hardy Ferentschik
|
||||
*/
|
||||
public interface MetaAttribute {
|
||||
String getAttributeDeclarationString();
|
||||
|
||||
String getAttributeNameDeclarationString();
|
||||
String getAttributeDeclarationString();
|
||||
|
||||
String getAttributeNameDeclarationString();
|
||||
|
||||
String getMetaType();
|
||||
|
||||
|
@ -21,4 +22,5 @@ public interface MetaAttribute {
|
|||
String getTypeDeclaration();
|
||||
|
||||
MetaEntity getHostingEntity();
|
||||
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ public abstract class XmlMetaAttribute implements MetaAttribute {
|
|||
this.type = type;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Override
|
||||
public String getAttributeDeclarationString() {
|
||||
return "public static volatile " + hostingEntity.importType( getMetaType() )
|
||||
+ "<" + hostingEntity.importType( hostingEntity.getQualifiedName() )
|
||||
|
@ -36,8 +36,8 @@ public abstract class XmlMetaAttribute implements MetaAttribute {
|
|||
+ "> " + getPropertyName() + ";";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getAttributeNameDeclarationString(){
|
||||
@Override
|
||||
public String getAttributeNameDeclarationString(){
|
||||
return new StringBuilder().append("public static final ")
|
||||
.append(hostingEntity.importType(String.class.getName()))
|
||||
.append(" ")
|
||||
|
|
Loading…
Reference in New Issue