You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ko...@apache.org on 2021/11/15 14:59:15 UTC

[ignite-3] branch main updated: IGNITE-15919 Missing inspection UnusedImports (#447)

This is an automated email from the ASF dual-hosted git repository.

korlov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new f3b2dd3  IGNITE-15919 Missing inspection UnusedImports (#447)
f3b2dd3 is described below

commit f3b2dd3ce6d0f7c4942fda6b584f3489edc057ec
Author: korlov42 <ko...@gridgain.com>
AuthorDate: Mon Nov 15 17:59:08 2021 +0300

    IGNITE-15919 Missing inspection UnusedImports (#447)
---
 check-rules/checkstyle-rules.xml                                       | 3 +++
 .../apache/ignite/client/handler/requests/table/ClientTableCommon.java | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/check-rules/checkstyle-rules.xml b/check-rules/checkstyle-rules.xml
index bdbb5d0..b706e25 100644
--- a/check-rules/checkstyle-rules.xml
+++ b/check-rules/checkstyle-rules.xml
@@ -63,6 +63,9 @@
   </module>
 
   <module name="TreeWalker">
+    <!-- Import Checks. See: http://checkstyle.sourceforge.net/config_imports.html -->
+    <module name="UnusedImports"/>
+
     <module name="OuterTypeFilename"/>
     <module name="IllegalTokenText">
       <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
diff --git a/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java b/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java
index b92d247..3a3be62 100644
--- a/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java
+++ b/modules/client-handler/src/main/java/org/apache/ignite/client/handler/requests/table/ClientTableCommon.java
@@ -43,7 +43,6 @@ import org.apache.ignite.lang.NodeStoppingException;
 import org.apache.ignite.table.Tuple;
 import org.apache.ignite.table.manager.IgniteTables;
 import org.jetbrains.annotations.NotNull;
-import org.msgpack.core.MessageFormat;
 
 /**
  * Common table functionality.