diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java index 659820946..2be9f3376 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CursorPreparer.java @@ -25,7 +25,7 @@ import com.mongodb.DBCursor; interface CursorPreparer { /** - * Prepare the given cursor (apply limits, skips and so on). Returns th eprepared cursor. + * Prepare the given cursor (apply limits, skips and so on). Returns the prepared cursor. * * @param cursor */ diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoAction.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoAction.java index e1ffbad73..d08179221 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoAction.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/MongoAction.java @@ -49,7 +49,7 @@ public class MongoAction { * @param collectionName the collection name, must not be {@literal null} or empty. * @param entityType the POJO that is being operated against * @param document the converted DBObject from the POJO or Spring Update object - * @param query the converted DBOjbect from the Spring Query object + * @param query the converted DBObject from the Spring Query object */ public MongoAction(WriteConcern defaultWriteConcern, MongoActionOperation mongoActionOperation, String collectionName, Class entityType, DBObject document, DBObject query) { diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ExposedFields.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ExposedFields.java index 9021626ac..79bece0f8 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ExposedFields.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/aggregation/ExposedFields.java @@ -88,7 +88,7 @@ public final class ExposedFields implements Iterable { } /** - * Creates a new {@link ExposedFields} instance for the given fields in either sythetic or non-synthetic way. + * Creates a new {@link ExposedFields} instance for the given fields in either synthetic or non-synthetic way. * * @param fields must not be {@literal null}. * @param synthetic @@ -107,7 +107,7 @@ public final class ExposedFields implements Iterable { } /** - * Creates a new {@link ExposedFields} with the given orignals and synthetics. + * Creates a new {@link ExposedFields} with the given originals and synthetics. * * @param originals must not be {@literal null}. * @param synthetic must not be {@literal null}. @@ -363,7 +363,7 @@ public final class ExposedFields implements Iterable { } /** - * Returns the referenve value for the given field reference. Will return 1 for a synthetic, unaliased field or the + * Returns the reference value for the given field reference. Will return 1 for a synthetic, unaliased field or the * raw rendering of the reference otherwise. * * @return diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/MongoPersistentProperty.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/MongoPersistentProperty.java index 6f21cae5d..5d89241c3 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/MongoPersistentProperty.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/MongoPersistentProperty.java @@ -44,7 +44,7 @@ public interface MongoPersistentProperty extends PersistentPropertynot use * {@literal $set}. This means fields not given in the {@link DBObject} will be nulled when executing the update. To * create an only-updating {@link Update} instance of a {@link DBObject}, call {@link #set(String, Object)} for each diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/Query.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/Query.java index fa9ed9b32..f79df312c 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/Query.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/Query.java @@ -38,7 +38,7 @@ import org.springframework.data.annotation.QueryAnnotation; public @interface Query { /** - * Takes a MongoDB JSON string to define the actual query to be executed. This one will take precendece over the + * Takes a MongoDB JSON string to define the actual query to be executed. This one will take precedence over the * method name then. * * @return diff --git a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/support/MongoAnnotationProcessor.java b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/support/MongoAnnotationProcessor.java index 51c710ace..09006d8ff 100644 --- a/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/support/MongoAnnotationProcessor.java +++ b/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/support/MongoAnnotationProcessor.java @@ -35,7 +35,7 @@ import com.mysema.query.apt.Configuration; import com.mysema.query.apt.DefaultConfiguration; /** - * Annotation processor to create Querydsl query types for QueryDsl annoated classes. + * Annotation processor to create Querydsl query types for QueryDsl annotated classes. * * @author Oliver Gierke */ diff --git a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/Contact.java b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/Contact.java index bffb9d333..1d15730af 100644 --- a/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/Contact.java +++ b/spring-data-mongodb/src/test/java/org/springframework/data/mongodb/repository/Contact.java @@ -20,7 +20,7 @@ import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; /** - * Sample contactt domain class. + * Sample contact domain class. * * @author Oliver Gierke */