diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index 42dce390c..358af4953 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2014 the original author or authors. + * Copyright 2008-2015 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. @@ -192,10 +192,10 @@ public abstract class RepositoryFactorySupport implements BeanClassLoaderAware { /** * Returns the {@link RepositoryMetadata} for the given repository interface. * - * @param repositoryInterface + * @param repositoryInterface will never be {@literal null}. * @return */ - RepositoryMetadata getRepositoryMetadata(Class repositoryInterface) { + protected RepositoryMetadata getRepositoryMetadata(Class repositoryInterface) { return AbstractRepositoryMetadata.getMetadata(repositoryInterface); }