Skip to content

Commit a918f49

Browse files
birarirochristophstrobl
authored andcommitted
Update javadoc and remove unused variable.
Closes: #3334
1 parent ea9700e commit a918f49

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/support/EntityGraphFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ abstract class EntityGraphFactory {
4040
/**
4141
* Create an {@link EntityGraph} from a collection of properties.
4242
*
43+
* @param entityManager
4344
* @param domainType
4445
* @param properties
4546
*/

spring-data-jpa/src/main/java/org/springframework/data/jpa/util/JpaMetamodel.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
public class JpaMetamodel {
4545

4646
private static final Map<Metamodel, JpaMetamodel> CACHE = new ConcurrentHashMap<>(4);
47-
private static final Set<PersistenceType> ENTITY_OR_MAPPED_SUPERCLASS = EnumSet.of(PersistenceType.ENTITY,
48-
PersistenceType.MAPPED_SUPERCLASS);
4947

5048
private final Metamodel metamodel;
5149

spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/custom/CustomGenericJpaRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class CustomGenericJpaRepository<T, ID extends Serializable> extends Simp
3131
CustomGenericRepository<T, ID> {
3232

3333
/**
34-
* @param domainClass
34+
* @param metadata
3535
* @param entityManager
3636
*/
3737
public CustomGenericJpaRepository(JpaEntityInformation<T, ID> metadata, EntityManager entityManager) {

0 commit comments

Comments
 (0)