Skip to content

Commit 6c6f953

Browse files
krygermp911de
authored andcommitted
DATAMONGO-1577 - Fix wording repetition in MongoRepository JavaDoc.
Original pull request: #407.
1 parent 772e8ac commit 6c6f953

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.
@@ -55,7 +55,7 @@ public interface MongoRepository<T, ID extends Serializable>
5555
List<T> findAll(Sort sort);
5656

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

0 commit comments

Comments
 (0)