ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [04/26] incubator-ignite git commit: #ignite-960: Small fix in javadoc
Date Wed, 17 Jun 2015 08:00:46 GMT
#ignite-960: Small fix in javadoc


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

Branch: refs/heads/ignite-gg-10425
Commit: 6affd3fe32dce9b055a94a2174a497746427b120
Parents: f4a122c
Author: ivasilinets <ivasilinets@gridgain.com>
Authored: Tue Jun 2 10:52:49 2015 +0300
Committer: ivasilinets <ivasilinets@gridgain.com>
Committed: Tue Jun 2 10:52:49 2015 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/resources/SpringResource.java  | 6 +++---
 .../processors/resource/GridResourceSpringBeanInjector.java    | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6affd3fe/modules/core/src/main/java/org/apache/ignite/resources/SpringResource.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/resources/SpringResource.java b/modules/core/src/main/java/org/apache/ignite/resources/SpringResource.java
index 0d6a207..4426637 100644
--- a/modules/core/src/main/java/org/apache/ignite/resources/SpringResource.java
+++ b/modules/core/src/main/java/org/apache/ignite/resources/SpringResource.java
@@ -50,7 +50,7 @@ import java.lang.annotation.*;
  * <pre name="code" class="java">
  * public class MyGridJob implements ComputeJob {
  *      ...
- *      &#64;IgniteSpringResource(resourceName = "bean-name")
+ *      &#64;SpringResource(resourceName = "bean-name")
  *      private transient MyUserBean rsrc;
  *      ...
  *  }
@@ -61,7 +61,7 @@ import java.lang.annotation.*;
  *     ...
  *     private transient MyUserBean rsrc;
  *     ...
- *     &#64;IgniteSpringResource(resourceName = "bean-name")
+ *     &#64;SpringResource(resourceName = "bean-name")
  *     public void setMyUserBean(MyUserBean rsrc) {
  *          this.rsrc = rsrc;
  *     }
@@ -72,7 +72,7 @@ import java.lang.annotation.*;
  * <pre name="code" class="java">
  * public class MyUserResource {
  *     ...
- *     &#64;IgniteSpringResource(resourceName = "bean-name")
+ *     &#64;SpringResource(resourceName = "bean-name")
  *     private MyUserBean rsrc;
  *     ...
  *     // Inject logger (or any other resource).

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/6affd3fe/modules/spring/src/main/java/org/apache/ignite/internal/processors/resource/GridResourceSpringBeanInjector.java
----------------------------------------------------------------------
diff --git a/modules/spring/src/main/java/org/apache/ignite/internal/processors/resource/GridResourceSpringBeanInjector.java
b/modules/spring/src/main/java/org/apache/ignite/internal/processors/resource/GridResourceSpringBeanInjector.java
index fb57027..3acb070 100644
--- a/modules/spring/src/main/java/org/apache/ignite/internal/processors/resource/GridResourceSpringBeanInjector.java
+++ b/modules/spring/src/main/java/org/apache/ignite/internal/processors/resource/GridResourceSpringBeanInjector.java
@@ -56,7 +56,7 @@ public class GridResourceSpringBeanInjector implements GridResourceInjector
{
         // Check for 'transient' modifier only in serializable classes.
         if (!Modifier.isTransient(field.getField().getModifiers()) &&
             Serializable.class.isAssignableFrom(field.getField().getDeclaringClass())) {
-            throw new IgniteCheckedException("@GridSpringResource must only be used with
'transient' fields: " +
+            throw new IgniteCheckedException("@SpringResource must only be used with 'transient'
fields: " +
                 field.getField());
         }
 


Mime
View raw message