Removed unnecessary interface modifier in BeanDefinitionNames.

Original pull request #2432

All fields of an interface are by default `public static final`. To make the code more readable the redundancy is removed.
This commit is contained in:
Diego Krupitza
2022-02-07 12:24:09 +01:00
committed by Jens Schauder
parent 2e0963ffae
commit 3abc78d296

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2021 the original author or authors.
* Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ package org.springframework.data.jpa.repository.config;
*/
interface BeanDefinitionNames {
public static final String JPA_MAPPING_CONTEXT_BEAN_NAME = "jpaMappingContext";
public static final String JPA_CONTEXT_BEAN_NAME = "jpaContext";
public static final String EM_BEAN_DEFINITION_REGISTRAR_POST_PROCESSOR_BEAN_NAME = "emBeanDefinitionRegistrarPostProcessor";
String JPA_MAPPING_CONTEXT_BEAN_NAME = "jpaMappingContext";
String JPA_CONTEXT_BEAN_NAME = "jpaContext";
String EM_BEAN_DEFINITION_REGISTRAR_POST_PROCESSOR_BEAN_NAME = "emBeanDefinitionRegistrarPostProcessor";
}