HHH-4439 - Javadoc change

This commit is contained in:
Lukasz Antoniak 2012-01-06 14:37:24 +01:00
parent 0a08780e13
commit 1293253412
2 changed files with 5 additions and 5 deletions

View File

@ -126,7 +126,7 @@ public class AuditedPropertiesReader {
checkSuperclass(clazz, overrideClass);
String propertyName = auditOverride.name();
if (!StringTools.isEmpty(propertyName)) {
// Overridden @Audited annotation on property level.
// Override @Audited annotation on property level.
XProperty property = getProperty(overrideClass, propertyName);
if (auditOverride.isAudited()) {
if (!overriddenNotAuditedProperties.contains(property)) {
@ -140,7 +140,7 @@ public class AuditedPropertiesReader {
}
}
} else {
// Overridden @Audited annotation on class level.
// Override @Audited annotation on class level.
if (auditOverride.isAudited()) {
if (!overriddenNotAuditedClasses.contains(overrideClass)) {
// If the class has not been marked as not audited by the subclass.
@ -426,7 +426,7 @@ public class AuditedPropertiesReader {
} else {
return false;
}
}
}
private void setPropertyAuditMappedBy(XProperty property, PropertyAuditingData propertyData) {
AuditMappedBy auditMappedBy = property.getAnnotation(AuditMappedBy.class);

View File

@ -221,7 +221,7 @@ public class Tools {
/**
* @param clazz Source class.
* @param propertyName Property name.
* @return Property object or {@code null} if one with expected name has not been found.
* @return Property object or {@code null} if none with expected name has been found.
*/
public static XProperty getProperty(XClass clazz, String propertyName) {
XProperty property = getProperty(clazz, propertyName, "field");
@ -235,7 +235,7 @@ public class Tools {
* @param clazz Source class.
* @param propertyName Property name.
* @param accessType Expected access type. Legal values are <i>field</i> and <i>property</i>.
* @return Property object or {@code null} if one with expected name and access type has not been found.
* @return Property object or {@code null} if none with expected name and access type has been found.
*/
public static XProperty getProperty(XClass clazz, String propertyName, String accessType) {
for (XProperty property : clazz.getDeclaredProperties(accessType)) {