Skip to content

Commit 634f618

Browse files
krygermp911de
authored andcommitted
DATAMONGO-1577 - Fix wording repetition in MongoRepository JavaDoc.
Original pull request: spring-projects#407.
1 parent c6e2662 commit 634f618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/repository/MongoRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2016 the original author or authors.
2+
* Copyright 2010-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -58,7 +58,7 @@ public interface MongoRepository<T, ID extends Serializable>
5858
List<T> findAll(Sort sort);
5959

6060
/**
61-
* Inserts the given a given entity. Assumes the instance to be new to be able to apply insertion optimizations. Use
61+
* Inserts the given entity. Assumes the instance to be new to be able to apply insertion optimizations. Use
6262
* the returned instance for further operations as the save operation might have changed the entity instance
6363
* completely. Prefer using {@link #save(Object)} instead to avoid the usage of store-specific API.
6464
*

0 commit comments

Comments
 (0)