ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [27/51] incubator-ignite git commit: # Code cleanup: Add missing @Override.
Date Fri, 10 Apr 2015 12:12:38 GMT
# Code cleanup: Add missing @Override.


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

Branch: refs/heads/ignite-709
Commit: d471a0b1cd86e6f7897f211825a970090dd1506c
Parents: 3765f5d
Author: sevdokimov <sevdokimov@gridgain.com>
Authored: Thu Apr 9 19:16:33 2015 +0300
Committer: sevdokimov <sevdokimov@gridgain.com>
Committed: Thu Apr 9 19:17:05 2015 +0300

----------------------------------------------------------------------
 .../java/org/apache/ignite/IgniteCluster.java   |  2 +-
 .../processors/cache/GridCacheAdapter.java      |  2 +-
 .../cache/GridCacheProjectionImpl.java          |  2 +-
 .../processors/cache/GridCacheProxyImpl.java    |  2 +-
 .../cache/query/GridCacheQueriesImpl.java       |  2 +-
 .../cache/version/GridCacheVersionEx.java       |  2 +-
 .../IgniteCacheObjectProcessorImpl.java         |  2 +-
 .../datastructures/GridCacheQueueAdapter.java   |  2 +-
 .../util/lang/GridMetadataAwareAdapter.java     |  2 +-
 .../communication/tcp/TcpCommunicationSpi.java  |  2 +-
 .../discovery/tcp/TcpDiscoverySpiAdapter.java   |  2 +-
 .../ignite/tools/javadoc/IgniteLinkTaglet.java  | 20 ++++++++++----------
 12 files changed, 21 insertions(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java b/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
index 02fea14..72be3fb 100644
--- a/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
+++ b/modules/core/src/main/java/org/apache/ignite/IgniteCluster.java
@@ -329,5 +329,5 @@ public interface IgniteCluster extends ClusterGroup, IgniteAsyncSupport
{
     public void resetMetrics();
 
     /** {@inheritDoc} */
-    public IgniteCluster withAsync();
+    @Override public IgniteCluster withAsync();
 }

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
index 5ade136..9281976 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java
@@ -309,7 +309,7 @@ public abstract class GridCacheAdapter<K, V> implements GridCache<K,
V>,
     /**
      * @return Context.
      */
-    public GridCacheContext<K, V> context() {
+    @Override public GridCacheContext<K, V> context() {
         return ctx;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
index 9730c39..77240e4 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProjectionImpl.java
@@ -116,7 +116,7 @@ public class GridCacheProjectionImpl<K, V> implements GridCacheProjectionEx<K,
V
      *
      * @return Cache context.
      */
-    public GridCacheContext<K, V> context() {
+    @Override public GridCacheContext<K, V> context() {
         return cctx;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
index 2e8449e..ee64acf 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProxyImpl.java
@@ -104,7 +104,7 @@ public class GridCacheProxyImpl<K, V> implements GridCacheProxy<K,
V>, Externali
     /**
      * @return Cache context.
      */
-    public GridCacheContext context() {
+    @Override public GridCacheContext context() {
         return ctx;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
index 40839fb..aca1ff0 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueriesImpl.java
@@ -148,7 +148,7 @@ public class GridCacheQueriesImpl<K, V> implements GridCacheQueriesEx<K,
V> {
      *
      * @return Query.
      */
-    public <R> CacheQuery<R> createSpiQuery() {
+    @Override public <R> CacheQuery<R> createSpiQuery() {
         return new GridCacheQueryAdapter<>(ctx,
             SPI,
             null,

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java
index 4bd0c3e..812d656 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/version/GridCacheVersionEx.java
@@ -76,7 +76,7 @@ public class GridCacheVersionEx extends GridCacheVersion {
     }
 
     /** {@inheritDoc} */
-    public GridCacheVersion conflictVersion() {
+    @Override public GridCacheVersion conflictVersion() {
         return drVer;
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/cacheobject/IgniteCacheObjectProcessorImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cacheobject/IgniteCacheObjectProcessorImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cacheobject/IgniteCacheObjectProcessorImpl.java
index 3e02acd..1f761be 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cacheobject/IgniteCacheObjectProcessorImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cacheobject/IgniteCacheObjectProcessorImpl.java
@@ -90,7 +90,7 @@ public class IgniteCacheObjectProcessorImpl extends GridProcessorAdapter
impleme
     }
 
     /** {@inheritDoc} */
-    @Nullable public KeyCacheObject toCacheKeyObject(CacheObjectContext ctx, Object obj,
boolean userObj) {
+    @Override @Nullable public KeyCacheObject toCacheKeyObject(CacheObjectContext ctx, Object
obj, boolean userObj) {
         if (obj instanceof KeyCacheObject)
             return (KeyCacheObject)obj;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheQueueAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheQueueAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheQueueAdapter.java
index 08e3f65..9fd7356 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheQueueAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/datastructures/GridCacheQueueAdapter.java
@@ -523,7 +523,7 @@ public abstract class GridCacheQueueAdapter<T> extends AbstractCollection<T>
imp
 
     /** {@inheritDoc} */
     @SuppressWarnings("unchecked")
-    public void close() {
+    @Override public void close() {
         if (rmvd)
             return;
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
index 6773634..6f5d775 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/lang/GridMetadataAwareAdapter.java
@@ -385,7 +385,7 @@ public class GridMetadataAwareAdapter {
 
     /** {@inheritDoc} */
     @SuppressWarnings({"CloneDoesntDeclareCloneNotSupportedException", "OverriddenMethodCallDuringObjectConstruction"})
-    public Object clone() {
+    @Override public Object clone() {
         try {
             GridMetadataAwareAdapter clone = (GridMetadataAwareAdapter)super.clone();
 

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
index 6cd439b..ff84e5b 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/communication/tcp/TcpCommunicationSpi.java
@@ -738,7 +738,7 @@ public class TcpCommunicationSpi extends IgniteSpiAdapter
      * @param ignite Ignite.
      */
     @IgniteInstanceResource
-    protected void injectResources(Ignite ignite) {
+    @Override protected void injectResources(Ignite ignite) {
         super.injectResources(ignite);
 
         if (ignite != null) {

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiAdapter.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiAdapter.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiAdapter.java
index e949846..9cde198 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiAdapter.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiAdapter.java
@@ -151,7 +151,7 @@ abstract class TcpDiscoverySpiAdapter extends IgniteSpiAdapter implements
Discov
      * @param ignite Ignite.
      */
     @IgniteInstanceResource
-    protected void injectResources(Ignite ignite) {
+    @Override protected void injectResources(Ignite ignite) {
         super.injectResources(ignite);
 
         // Inject resource.

http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d471a0b1/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java
----------------------------------------------------------------------
diff --git a/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java
b/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java
index 96b963e..7667e63 100644
--- a/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java
+++ b/modules/tools/src/main/java/org/apache/ignite/tools/javadoc/IgniteLinkTaglet.java
@@ -35,49 +35,49 @@ public class IgniteLinkTaglet implements Taglet {
     /**
      * Return the name of this custom tag.
      */
-    public String getName() {
+    @Override public String getName() {
         return NAME;
     }
 
     /**
      * @return true since this tag can be used in a field doc comment.
      */
-    public boolean inField() {
+    @Override public boolean inField() {
         return true;
     }
 
     /**
      * @return true since this tag can be used in a constructor doc comment.
      */
-    public boolean inConstructor() {
+    @Override public boolean inConstructor() {
         return true;
     }
 
     /**
      * @return true since this tag can be used in a method doc comment.
      */
-    public boolean inMethod() {
+    @Override public boolean inMethod() {
         return true;
     }
 
     /**
      * @return true since this tag can be used in an overview doc comment.
      */
-    public boolean inOverview() {
+    @Override public boolean inOverview() {
         return true;
     }
 
     /**
      * @return true since this tag can be used in a package doc comment.
      */
-    public boolean inPackage() {
+    @Override public boolean inPackage() {
         return true;
     }
 
     /**
      * @return true since this.
      */
-    public boolean inType() {
+    @Override public boolean inType() {
         return true;
     }
 
@@ -86,7 +86,7 @@ public class IgniteLinkTaglet implements Taglet {
      *
      * @return true since this is an inline tag.
      */
-    public boolean isInlineTag() {
+    @Override public boolean isInlineTag() {
         return true;
     }
 
@@ -117,7 +117,7 @@ public class IgniteLinkTaglet implements Taglet {
      *
      * @param tag <code>Tag</code> representation of this custom tag.
      */
-    public String toString(Tag tag) {
+    @Override public String toString(Tag tag) {
         if (tag.text() == null || tag.text().isEmpty())
             return "";
 
@@ -159,7 +159,7 @@ public class IgniteLinkTaglet implements Taglet {
      *
      * @param tags the array of <code>Tag</code>s representing of this custom
tag.
      */
-    public String toString(Tag[] tags) {
+    @Override public String toString(Tag[] tags) {
         return null;
     }
 }


Mime
View raw message