Skip to content
Permalink
Browse files
IGNITE-11943: Add RedundantImport rule to checkstyle - Fixes #6642.
Signed-off-by: Aleksey Plekhanov <plehanov.alex@gmail.com>
  • Loading branch information
Mmuzaf authored and alex-plekhanov committed Jun 27, 2019
1 parent 5550e0e commit 72faf30211c552699a3a4c08783074dd0e8b72e9
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 17 deletions.
@@ -34,6 +34,7 @@

<module name="TreeWalker">
<!-- Import Checks. See: http://checkstyle.sourceforge.net/config_imports.html -->
<module name="RedundantImport"/>
<module name="UnusedImports"/>

<!--Modifiers Checks. See: http://checkstyle.sourceforge.net/config_modifier.html-->
@@ -21,7 +21,6 @@
import org.apache.ignite.compute.gridify.Gridify;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.events.Event;
import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller;
import org.apache.ignite.internal.util.typedef.G;
import org.apache.ignite.internal.util.typedef.X;
import org.apache.ignite.lang.IgnitePredicate;
@@ -20,7 +20,6 @@
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.ignite.jdbc.thin.JdbcThinInsertStatementSelfTest;

/**
* Statement test.
@@ -20,7 +20,6 @@
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.ignite.jdbc.thin.JdbcThinMergeStatementSelfTest;

/**
* MERGE statement test.
@@ -20,7 +20,6 @@
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.ignite.jdbc.thin.JdbcThinUpdateStatementSelfTest;

/**
*
@@ -17,13 +17,6 @@

package org.apache.ignite.internal;

import java.io.UncheckedIOException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import javax.cache.CacheException;
import javax.management.JMException;
import java.io.Externalizable;
import java.io.File;
import java.io.IOException;
@@ -33,10 +26,15 @@
import java.io.ObjectOutput;
import java.io.ObjectStreamException;
import java.io.Serializable;
import java.io.UncheckedIOException;
import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.lang.reflect.Constructor;
import java.nio.charset.Charset;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.util.ArrayList;
@@ -27,7 +27,6 @@
import org.apache.ignite.configuration.CacheConfiguration;
import org.apache.ignite.configuration.IgniteConfiguration;
import org.apache.ignite.internal.IgniteInternalFuture;
import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller;
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.marshaller.Marshaller;
import org.apache.ignite.testframework.GridTestUtils;
@@ -17,8 +17,6 @@

package org.apache.ignite.internal.marshaller.optimized;

import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller;
import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshallerSelfTest;
import org.apache.ignite.marshaller.Marshaller;
import org.apache.ignite.testframework.junits.common.GridCommonTest;

@@ -23,7 +23,6 @@
import java.io.Serializable;
import java.util.concurrent.Callable;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller;
import org.apache.ignite.lang.IgniteRunnable;
import org.apache.ignite.marshaller.GridMarshallerAbstractTest;
import org.apache.ignite.marshaller.Marshaller;
@@ -21,8 +21,6 @@
import java.io.ObjectOutputStream;
import java.io.ObjectStreamField;
import java.io.Serializable;

import org.apache.ignite.internal.marshaller.optimized.OptimizedMarshaller;
import org.apache.ignite.marshaller.GridMarshallerAbstractTest;
import org.apache.ignite.marshaller.Marshaller;
import org.junit.Test;

0 comments on commit 72faf30

Please sign in to comment.