DATAJPA-1192 - Polish JavaDoc.

Correct @param variable declarations and @link references.

Original pull request: #224.
This commit is contained in:
Kevin Peters
2017-10-01 15:00:37 +02:00
committed by Oliver Gierke
parent 99017b3f87
commit bb0e170a57
5 changed files with 7 additions and 9 deletions

View File

@@ -39,9 +39,9 @@ public class JpaCountQueryCreator extends JpaQueryCreator {
* Creates a new {@link JpaCountQueryCreator}.
*
* @param tree
* @param domainClass
* @param parameters
* @param em
* @param type
* @param builder
* @param provider
*/
public JpaCountQueryCreator(PartTree tree, ReturnedType type, CriteriaBuilder builder,
ParameterMetadataProvider provider) {

View File

@@ -139,7 +139,7 @@ public class JpaQueryCreator extends AbstractQueryCreator<CriteriaQuery<? extend
/**
* Finalizes the given {@link Predicate} and applies the given sort. Delegates to
* {@link #complete(Predicate, Sort, CriteriaQuery, CriteriaBuilder)} and hands it the current {@link CriteriaQuery}
* {@link #complete(Predicate, Sort, CriteriaQuery, CriteriaBuilder, Root)} and hands it the current {@link CriteriaQuery}
* and {@link CriteriaBuilder}.
*/
@Override
@@ -200,7 +200,6 @@ public class JpaQueryCreator extends AbstractQueryCreator<CriteriaQuery<? extend
*
* @param part
* @param root
* @param iterator
* @return
*/
private Predicate toPredicate(Part part, Root<?> root) {

View File

@@ -21,6 +21,7 @@ import javax.persistence.EntityManager;
import org.springframework.data.jpa.provider.PersistenceProvider;
import org.springframework.data.jpa.provider.QueryExtractor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.projection.ProjectionFactory;
import org.springframework.data.repository.core.NamedQueries;
import org.springframework.data.repository.core.RepositoryMetadata;
@@ -61,7 +62,6 @@ public final class JpaQueryLookupStrategy {
*
* @param em
* @param extractor
* @param evaluationContextProvider
*/
public AbstractQueryLookupStrategy(EntityManager em, QueryExtractor extractor) {
@@ -192,7 +192,6 @@ public final class JpaQueryLookupStrategy {
* @param extractor
* @param createStrategy
* @param lookupStrategy
* @param evaluationContextProvider
*/
public CreateIfNotFoundQueryLookupStrategy(EntityManager em, QueryExtractor extractor,
CreateQueryLookupStrategy createStrategy, DeclaredQueryLookupStrategy lookupStrategy) {

View File

@@ -72,7 +72,7 @@ final class SimpleJpaQuery extends AbstractStringBasedJpaQuery {
* Validates the given query for syntactical correctness.
*
* @param query
* @param em
* @param errorMessage
*/
private void validateQuery(String query, String errorMessage) {

View File

@@ -144,7 +144,7 @@ public class ClasspathScanningPersistenceUnitPostProcessor
* an empty {@link Set} in case no {@link ResourceLoader} or mapping file name pattern was configured. Resulting paths
* are resource-loadable from the application classpath according to the JPA spec.
*
* @see javax.persistence.spi.PersistenceUnitInfo.PersistenceUnitInfo#getMappingFileNames()
* @see javax.persistence.spi.PersistenceUnitInfo#getMappingFileNames()
* @return
*/
private Set<String> scanForMappingFileLocations() {