diff --git a/grails-datastore-gorm/src/main/groovy/grails/gorm/api/GormStaticOperations.groovy b/grails-datastore-gorm/src/main/groovy/grails/gorm/api/GormStaticOperations.groovy index 4799302bed9..64abf6116c8 100644 --- a/grails-datastore-gorm/src/main/groovy/grails/gorm/api/GormStaticOperations.groovy +++ b/grails-datastore-gorm/src/main/groovy/grails/gorm/api/GormStaticOperations.groovy @@ -106,12 +106,12 @@ interface GormStaticOperations { D create() /** - * Retrieves and object from the datastore. eg. Book.get(1) + * Retrieves an object from the datastore. eg. Book.get(1) */ D get(Serializable id) /** - * Retrieves and object from the datastore. eg. Book.read(1) + * Retrieves an object from the datastore. eg. Book.read(1) * * Since the datastore abstraction doesn't support dirty checking yet this * just delegates to {@link #get(Serializable)} @@ -119,12 +119,12 @@ interface GormStaticOperations { D read(Serializable id) /** - * Retrieves and object from the datastore as a proxy. eg. Book.load(1) + * Retrieves an object from the datastore as a proxy. eg. Book.load(1) */ D load(Serializable id) /** - * Retrieves and object from the datastore as a proxy. eg. Book.proxy(1) + * Retrieves an object from the datastore as a proxy. eg. Book.proxy(1) */ D proxy(Serializable id) diff --git a/grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/GormEntity.groovy b/grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/GormEntity.groovy index edc0e37bb09..efc2f949ee6 100644 --- a/grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/GormEntity.groovy +++ b/grails-datastore-gorm/src/main/groovy/org/grails/datastore/gorm/GormEntity.groovy @@ -547,14 +547,14 @@ trait GormEntity implements GormValidateable, DirtyCheckable, GormEntityApi implements GormValidateable, DirtyCheckable, GormEntityApi extends AbstractGormApi implements GormAllOperations @@ -342,7 +342,7 @@ class GormStaticApi extends AbstractGormApi implements GormAllOperations extends AbstractGormApi implements GormAllOperations @@ -363,7 +363,7 @@ class GormStaticApi extends AbstractGormApi implements GormAllOperations