Skip to content

Commit c10713f

Browse files
committed
Fix javadoc errors
1 parent 7a4f737 commit c10713f

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

grace-datastore-core/src/main/groovy/org/grails/datastore/mapping/query/api/Criteria.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ public interface Criteria {
454454
Criteria leProperty(java.lang.String propertyName, java.lang.String otherPropertyName);
455455

456456
/**
457-
* Apply an "equals" constraint to each property in the key set of a <tt>Map</tt>
457+
* Apply an "equals" constraint to each property in the key set of a {@code Map}
458458
*
459459
* @param propertyValues a map from property names to values
460460
* @return Criterion

grace-datastore-core/src/main/groovy/org/grails/datastore/mapping/reflect/ClassPropertyFetcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public Class getJavaClass() {
124124
}
125125

126126
/**
127-
* @Deprecated will be removed in a future version of GORM
127+
* @deprecated will be removed in a future version of GORM
128128
*/
129129
@Deprecated
130130
public Object getReference() {

grace-datastore-gorm-validation/src/main/groovy/org/grails/datastore/gorm/validation/constraints/eval/ConstraintsEvaluator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ public interface ConstraintsEvaluator {
5656
* Evaluate constraints for the given class
5757
*
5858
* @param cls The class to evaluate constraints for
59+
* @param defaultNullable Whether to default to allow nullable
5960
* @return A map of constrained properties
60-
* @oaram defaultNullable Whether to default to allow nullable
6161
*/
6262
Map<String, ConstrainedProperty> evaluate(@SuppressWarnings("rawtypes") Class cls, boolean defaultNullable);
6363

grace-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/events/DomainEventListener.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ public boolean beforeInsert(final PersistentEntity entity, final EntityAccess ea
159159
}
160160

161161
public boolean beforeInsert(final PersistentEntity entity, final EntityAccess ea, PreInsertEvent event) {
162-
163162
if (entity.isVersioned()) {
164163
try {
165164
setVersion(ea);

grace-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/query/criteria/AbstractCriteriaBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public Criteria eq(String propertyName, Object propertyValue) {
445445
}
446446

447447
/**
448-
* Apply an "equals" constraint to each property in the key set of a <tt>Map</tt>
448+
* Apply an "equals" constraint to each property in the key set of a {@code Map}
449449
*
450450
* @param propertyValues a map from property names to values
451451
*

grace-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/utils/Attribute.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Attribute {
3636
byte[] value;
3737

3838
/**
39-
* The next attribute in this attribute list. May be <tt>null</tt>.
39+
* The next attribute in this attribute list. May be {@code null}.
4040
*/
4141
Attribute next;
4242

@@ -53,7 +53,7 @@ protected Attribute(final String type) {
5353
/**
5454
* Reads a {@link #type type} attribute. This method must return a
5555
* <i>new</i> {@link Attribute} object, of type {@link #type type},
56-
* corresponding to the <tt>len</tt> bytes starting at the given offset, in
56+
* corresponding to the {@code len} bytes starting at the given offset, in
5757
* the given class reader.
5858
*
5959
* @param cr
@@ -76,9 +76,9 @@ protected Attribute(final String type) {
7676
* containing the type and the length of the attribute, are not
7777
* taken into account here.
7878
* @param labels
79-
* the labels of the method's code, or <tt>null</tt> if the
79+
* the labels of the method's code, or {@code null} if the
8080
* attribute to be read is not a code attribute.
81-
* @return a <i>new</i> {@link Attribute} object corresponding to the given
81+
* @return a {@code new} {@link Attribute} object corresponding to the given
8282
* bytes.
8383
*/
8484
protected Attribute read(final ClassReader cr, final int off,

grace-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/utils/ClassReader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,9 @@ private int getAttributes() {
728728
* and the length of the attribute, are not taken into account
729729
* here.
730730
* @param labels
731-
* the labels of the method's code, or <tt>null</tt> if the
731+
* the labels of the method's code, or {@code null} if the
732732
* attribute to be read is not a code attribute.
733-
* @return the attribute that has been read, or <tt>null</tt> to skip this
733+
* @return the attribute that has been read, or {@code null} to skip this
734734
* attribute.
735735
*/
736736
private Attribute readAttribute(final Attribute[] attrs, final String type,

0 commit comments

Comments
 (0)