You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ag...@apache.org on 2017/04/26 07:58:28 UTC

ignite git commit: ignite-2.0 - Javadoc fix + code style

Repository: ignite
Updated Branches:
  refs/heads/ignite-2.0 7d33dd50b -> 4be320ac4


ignite-2.0 - Javadoc fix + code style


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

Branch: refs/heads/ignite-2.0
Commit: 4be320ac44f29b927f8b487caa00479fa6add3ff
Parents: 7d33dd5
Author: Alexey Goncharuk <al...@gmail.com>
Authored: Wed Apr 26 10:59:13 2017 +0300
Committer: Alexey Goncharuk <al...@gmail.com>
Committed: Wed Apr 26 10:59:13 2017 +0300

----------------------------------------------------------------------
 .../h2/twostep/msg/GridH2QueryRequest.java      | 26 ++++++++++----------
 1 file changed, 13 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/4be320ac/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/msg/GridH2QueryRequest.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/msg/GridH2QueryRequest.java b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/msg/GridH2QueryRequest.java
index 6741d89..17bb9f6 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/msg/GridH2QueryRequest.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/twostep/msg/GridH2QueryRequest.java
@@ -133,21 +133,20 @@ public class GridH2QueryRequest implements Message, GridCacheQueryMarshallable {
 
     /**
      * @param req Request.
-     * @return {@code this}.
      */
     public GridH2QueryRequest(GridH2QueryRequest req) {
-        this.reqId = req.reqId;
-        this.caches = req.caches;
-        this.topVer = req.topVer;
-        this.parts = req.parts;
-        this.qryParts = req.qryParts;
-        this.pageSize = req.pageSize;
-        this.qrys = req.qrys;
-        this.flags = req.flags;
-        this.tbls = req.tbls;
-        this.timeout = req.timeout;
-        this.params = req.params;
-        this.paramsBytes = req.paramsBytes;
+        reqId = req.reqId;
+        caches = req.caches;
+        topVer = req.topVer;
+        parts = req.parts;
+        qryParts = req.qryParts;
+        pageSize = req.pageSize;
+        qrys = req.qrys;
+        flags = req.flags;
+        tbls = req.tbls;
+        timeout = req.timeout;
+        params = req.params;
+        paramsBytes = req.paramsBytes;
     }
 
     /**
@@ -359,6 +358,7 @@ public class GridH2QueryRequest implements Message, GridCacheQueryMarshallable {
     }
 
     /** {@inheritDoc} */
+    @SuppressWarnings("IfMayBeConditional")
     @Override public void unmarshall(Marshaller m, GridKernalContext ctx) {
         if (params != null)
             return;