Skip to content

Commit dfc3060

Browse files
committed
Polishing.
See #2644.
1 parent 75387bb commit dfc3060

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ default String getModuleIdentifier() {
4848
/**
4949
* Returns the descriptive name of the module.
5050
*
51-
* @return
51+
* @return will never be {@literal null}.
5252
*/
5353
String getModuleName();
5454

@@ -60,7 +60,7 @@ default String getModuleIdentifier() {
6060
* @param strictMatchesOnly whether to return strict repository matches only. Handing in {@literal true} will cause
6161
* the repository interfaces and domain types handled to be checked whether they are managed by the current
6262
* store.
63-
* @return
63+
* @return will never be {@literal null}.
6464
* @since 1.9
6565
*/
6666
<T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations(
@@ -69,14 +69,14 @@ <T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>>
6969
/**
7070
* Returns the default location of the Spring Data named queries.
7171
*
72-
* @return must not be {@literal null} or empty.
72+
* @return will never be {@literal null}.
7373
*/
7474
String getDefaultNamedQueryLocation();
7575

7676
/**
7777
* Returns the name of the repository factory class to be used.
7878
*
79-
* @return
79+
* @return will never be {@literal null}.
8080
*/
8181
String getRepositoryFactoryBeanClassName();
8282

src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
import org.apache.commons.logging.Log;
2929
import org.apache.commons.logging.LogFactory;
30-
3130
import org.springframework.beans.factory.config.BeanDefinition;
3231
import org.springframework.beans.factory.support.AbstractBeanDefinition;
3332
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
@@ -54,8 +53,8 @@
5453
*/
5554
public abstract class RepositoryConfigurationExtensionSupport implements RepositoryConfigurationExtension {
5655

57-
private static final Log logger = LogFactory.getLog(RepositoryConfigurationExtensionSupport.class);
58-
private static final String CLASS_LOADING_ERROR = "%s - Could not load type %s using class loader %s";
56+
private static final Log logger = LogFactory.getLog(RepositoryConfigurationExtensionSupport.class);
57+
private static final String CLASS_LOADING_ERROR = "%s - Could not load type %s using class loader %s";
5958
private static final String MULTI_STORE_DROPPED = "Spring Data %s - Could not safely identify store assignment for repository candidate %s; If you want this repository to be a %s repository,";
6059

6160
private boolean noMultiStoreSupport = false;

0 commit comments

Comments
 (0)