Skip to content

Commit 3abc78d

Browse files
DiegoKrupitzaschauder
authored andcommitted
Removed unnecessary interface modifier in BeanDefinitionNames.
Original pull request spring-projects#2432 All fields of an interface are by default `public static final`. To make the code more readable the redundancy is removed.
1 parent 2e0963f commit 3abc78d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/springframework/data/jpa/repository/config/BeanDefinitionNames.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2021 the original author or authors.
2+
* Copyright 2014-2022 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.
@@ -24,7 +24,7 @@
2424
*/
2525
interface BeanDefinitionNames {
2626

27-
public static final String JPA_MAPPING_CONTEXT_BEAN_NAME = "jpaMappingContext";
28-
public static final String JPA_CONTEXT_BEAN_NAME = "jpaContext";
29-
public static final String EM_BEAN_DEFINITION_REGISTRAR_POST_PROCESSOR_BEAN_NAME = "emBeanDefinitionRegistrarPostProcessor";
27+
String JPA_MAPPING_CONTEXT_BEAN_NAME = "jpaMappingContext";
28+
String JPA_CONTEXT_BEAN_NAME = "jpaContext";
29+
String EM_BEAN_DEFINITION_REGISTRAR_POST_PROCESSOR_BEAN_NAME = "emBeanDefinitionRegistrarPostProcessor";
3030
}

0 commit comments

Comments
 (0)