ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/2] ignite git commit: Fixing javadocs.
Date Tue, 18 Apr 2017 08:49:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 48bd8da31 -> faae9d47c


Fixing javadocs.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d4480f98
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d4480f98
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d4480f98

Branch: refs/heads/master
Commit: d4480f98f1427810ed88eb8958812aa3214a7ac8
Parents: 323e387
Author: devozerov <vozerov@gridgain.com>
Authored: Tue Apr 18 11:48:54 2017 +0300
Committer: devozerov <vozerov@gridgain.com>
Committed: Tue Apr 18 11:48:54 2017 +0300

----------------------------------------------------------------------
 .../repository/config/EnableIgniteRepositories.java       | 10 +++++-----
 .../springdata/repository/query/IgniteQueryGenerator.java |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d4480f98/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/config/EnableIgniteRepositories.java
----------------------------------------------------------------------
diff --git a/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/config/EnableIgniteRepositories.java
b/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/config/EnableIgniteRepositories.java
index 667342a..f73fc3d 100644
--- a/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/config/EnableIgniteRepositories.java
+++ b/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/config/EnableIgniteRepositories.java
@@ -77,14 +77,14 @@ public @interface EnableIgniteRepositories {
      * for a repository named {@code PersonRepository} the corresponding implementation class
will be looked up scanning
      * for {@code PersonRepositoryImpl}.
      *
-     * @return
+     * @return Postfix to be used when looking up custom repository implementations.
      */
     String repositoryImplementationPostfix() default "Impl";
 
     /**
      * Configures the location of where to find the Spring Data named queries properties
file.
      *
-     * @return
+     * @return Location of where to find the Spring Data named queries properties file.
      */
     String namedQueriesLocation() default "";
 
@@ -92,7 +92,7 @@ public @interface EnableIgniteRepositories {
      * Returns the key of the {@link QueryLookupStrategy} to be used for lookup queries for
query methods. Defaults to
      * {@link Key#CREATE_IF_NOT_FOUND}.
      *
-     * @return
+     * @return Key of the {@link QueryLookupStrategy} to be used for lookup queries for query
methods.
      */
     Key queryLookupStrategy() default Key.CREATE_IF_NOT_FOUND;
 
@@ -100,14 +100,14 @@ public @interface EnableIgniteRepositories {
      * Returns the {@link FactoryBean} class to be used for each repository instance. Defaults
to
      * {@link IgniteRepositoryFactoryBean}.
      *
-     * @return
+     * @return {@link FactoryBean} class to be used for each repository instance.
      */
     Class<?> repositoryFactoryBeanClass() default IgniteRepositoryFactoryBean.class;
 
     /**
      * Configure the repository base class to be used to create repository proxies for this
particular configuration.
      *
-     * @return
+     * @return Repository base class to be used to create repository proxies for this particular
configuration.
      */
     Class<?> repositoryBaseClass() default IgniteRepositoryImpl.class;
 

http://git-wip-us.apache.org/repos/asf/ignite/blob/d4480f98/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/IgniteQueryGenerator.java
----------------------------------------------------------------------
diff --git a/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/IgniteQueryGenerator.java
b/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/IgniteQueryGenerator.java
index 2db2789..2381c8d 100644
--- a/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/IgniteQueryGenerator.java
+++ b/modules/spring-data/src/main/java/org/apache/ignite/springdata/repository/query/IgniteQueryGenerator.java
@@ -119,9 +119,9 @@ public class IgniteQueryGenerator {
     /**
      * Add a dynamic part of a query for the pagination support.
      *
-     * @param sql
-     * @param pageable
-     * @return
+     * @param sql Builder instance.
+     * @param pageable Pageable instance.
+     * @return Builder instance.
      */
     public static StringBuilder addPaging(StringBuilder sql, Pageable pageable) {
         if (pageable.getSort() != null)
@@ -135,7 +135,7 @@ public class IgniteQueryGenerator {
     /**
      * Determines whether query is dynamic or not (by list of method parameters)
      *
-     * @param mtd
+     * @param mtd Method.
      * @return type of options
      */
     public static IgniteQuery.Option getOptions(Method mtd) {


Mime
View raw message