From d2e46f6770f3e13cc18eb24f964bd4de75981b4b Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 15 Jun 2011 19:42:47 +0200 Subject: [PATCH] JavaDoc polishing. --- .../query/parser/AbstractQueryCreator.java | 10 +++++----- .../data/mapping/PersistentEntitySpec.java | 15 +++++++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/spring-data-commons-core/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java b/spring-data-commons-core/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java index 047f58fd9..54bd6339b 100644 --- a/spring-data-commons-core/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java +++ b/spring-data-commons-core/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java @@ -37,12 +37,12 @@ public abstract class AbstractQueryCreator { private final ParameterAccessor parameters; private final PartTree tree; - /** - * Creates a new {@link AbstractQueryCreator} for the given {@link PartTree} - * and {@link ParametersParameterAccessor}. - * - * @param tree + * Creates a new {@link AbstractQueryCreator} for the given {@link PartTree} and {@link ParametersParameterAccessor}. + * The latter is used to hand actual parameter values into the callback methods as well as to apply dynamic sorting + * via a {@link Sort} parameter. + * + * @param tree must not be {@literal null}. * @param parameters */ public AbstractQueryCreator(PartTree tree, ParameterAccessor parameters) { diff --git a/spring-data-commons-core/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java b/spring-data-commons-core/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java index af2af50e6..673b87e1f 100644 --- a/spring-data-commons-core/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java +++ b/spring-data-commons-core/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java @@ -1,3 +1,18 @@ +/* + * Copyright (c) 2011 by the original author(s). + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.springframework.data.mapping; import static org.hamcrest.CoreMatchers.*;