Skip to content

Commit

Permalink
Bump maven-checkstyle-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
diegolovison authored and gustavolira committed Oct 13, 2022
1 parent 50199a4 commit 19c0364
Show file tree
Hide file tree
Showing 50 changed files with 49 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner;
import io.github.lukehutch.fastclasspathscanner.scanner.ClassInfo;
import io.github.lukehutch.fastclasspathscanner.scanner.ScanResult;

import org.radargun.logging.Log;
import org.radargun.logging.LogFactory;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/radargun/jmx/JMXPoller.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.List;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;

import javax.management.MBeanServerConnection;
import javax.management.Notification;
import javax.management.NotificationFilterSupport;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.radargun.DistStageAck;
import org.radargun.ServiceContext;
import org.radargun.ServiceHelper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.Collections;
import java.util.Map;

import org.radargun.DistStageAck;
import org.radargun.ServiceContext;
import org.radargun.config.Stage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
import java.text.SimpleDateFormat;
import java.util.Date;

import static java.lang.management.ManagementFactory.newPlatformMXBeanProxy;
import com.sun.management.HotSpotDiagnosticMXBean;

import org.radargun.sysmonitor.JmxMonitor;
import org.radargun.traits.JmxConnectionProvider;

import static java.lang.management.ManagementFactory.newPlatformMXBeanProxy;

public class HeapDumpTask extends JmxMonitor implements PeriodicStage.PeriodicTask {

private HotSpotDiagnosticMXBean heapDumpMXBean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.lang.management.ManagementFactory;
import java.util.Collection;

import javax.management.MBeanServer;
import javax.management.ObjectName;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages.monitor;

import java.util.List;

import org.radargun.DistStageAck;
import org.radargun.StageResult;
import org.radargun.config.Stage;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/radargun/stages/test/Stressor.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private void runInternal() {
try {
logic.run(operation);
if (thinkTime > 0)
sleep(thinkTime);
sleep(thinkTime);
} catch (OperationLogic.RequestException e) {
if (stage.exitOnFailure) {
// it will stop all stressor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import net.bytebuddy.implementation.bind.annotation.Origin;
import net.bytebuddy.implementation.bind.annotation.RuntimeType;
import net.bytebuddy.implementation.bind.annotation.SuperCall;

import org.HdrHistogram.Histogram;

public class MethodInterceptor {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
import net.bytebuddy.agent.builder.AgentBuilder;
import net.bytebuddy.implementation.MethodDelegation;
import net.bytebuddy.matcher.ElementMatchers;

import org.HdrHistogram.Histogram;
import org.radargun.config.Property;
import org.radargun.logging.Log;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/radargun/sysmonitor/GcMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.List;
import java.util.Set;
import java.util.concurrent.TimeUnit;

import javax.management.MBeanServerConnection;
import javax.management.ObjectName;

Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/radargun/sysmonitor/JmxMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.IOException;
import java.lang.management.ManagementFactory;
import java.text.NumberFormat;

import javax.management.AttributeNotFoundException;
import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.utils;

import java.lang.reflect.Type;

import org.radargun.config.Converter;

/**
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/radargun/utils/EnvsConverter.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.lang.reflect.Type;
import java.util.Map;
import java.util.TreeMap;

import org.radargun.config.Converter;
import org.radargun.logging.Log;
import org.radargun.logging.LogFactory;
Expand Down
1 change: 1 addition & 0 deletions core/src/main/java/org/radargun/utils/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.util.jar.JarFile;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;

import javax.management.MBeanServer;

import com.sun.management.HotSpotDiagnosticMXBean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages.cache.generators;

import java.util.Random;

import org.radargun.config.DefinitionElement;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages.cache.generators;

import java.nio.ByteBuffer;

import org.radargun.config.DefinitionElement;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.Date;
import java.util.Random;

import org.radargun.config.DefinitionElement;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages.cache.generators;

import java.util.Random;

import org.radargun.config.DefinitionElement;

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages;

import java.util.List;

import org.radargun.DistStageAck;
import org.radargun.StageResult;
import org.radargun.config.Namespace;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package org.radargun;

import java.util.List;

import javax.ws.rs.core.Cookie;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Response;

import org.radargun.stages.test.Invocation;
import org.radargun.traits.RESTOperations;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages;

import java.util.List;

import org.radargun.DistStageAck;
import org.radargun.StageResult;
import org.radargun.config.Namespace;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.stages;

import java.util.List;

import org.radargun.DistStageAck;
import org.radargun.StageResult;
import org.radargun.config.Namespace;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

import java.util.Collections;
import java.util.List;

import javax.ws.rs.core.Cookie;
import javax.ws.rs.core.NewCookie;
import javax.ws.rs.core.Response;

import org.radargun.Operation;
import org.radargun.RESTOperationInvocations;
import org.radargun.Version;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package org.radargun.traits;

import java.util.List;

import javax.ws.rs.core.Cookie;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.core.Response;

import org.radargun.Operation;

/**
Expand Down
2 changes: 1 addition & 1 deletion parent/main/resources/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<module name="ImportOrder">
<property name="groups" value="java,javax,*"/>
<property name="ordered" value="true"/>
<property name="separated" value="false"/>
<property name="separated" value="true"/>
<property name="option" value="bottom"/>
<property name="sortStaticImportsAlphabetically" value="true"/>
</module>
Expand Down
2 changes: 1 addition & 1 deletion parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<version>3.2.0</version>
<configuration>
<configLocation>main/resources/checkstyle.xml</configLocation>
<suppressionsLocation>main/resources/checkstyle-suppressions.xml</suppressionsLocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import com.couchbase.client.java.CouchbaseCluster;
import com.couchbase.client.java.env.CouchbaseEnvironment;
import com.couchbase.client.java.env.DefaultCouchbaseEnvironment;

import org.radargun.Service;
import org.radargun.config.Property;
import org.radargun.traits.Lifecycle;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.api.command.CreateContainerCmd;
import com.github.dockerjava.api.command.DockerCmdExecFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.concurrent.ScheduledThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;

import javax.management.MBeanServerConnection;

import org.radargun.Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;

import org.radargun.logging.Log;
import org.radargun.logging.LogFactory;
import org.radargun.traits.ConfigurationProvider;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.hazelcast.core.EntryListener;
import com.hazelcast.core.IMap;
import com.hazelcast.core.MapEvent;

import org.radargun.traits.ContinuousQuery;
import org.radargun.traits.Query;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.Collections;
import java.util.List;

import com.hazelcast.client.HazelcastClient;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.core.HazelcastInstance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.lang.management.ManagementFactory;
import java.util.HashMap;
import java.util.Map;

import javax.management.MBeanServer;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import javax.management.MBeanServerConnection;
import javax.management.ObjectName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.Map;
import java.util.Set;
import java.util.concurrent.Future;

import javax.transaction.Status;
import javax.transaction.TransactionManager;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.List;
import java.util.Properties;
import java.util.Set;

import javax.management.MBeanAttributeInfo;
import javax.management.MBeanInfo;
import javax.management.MBeanServer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import javax.management.Attribute;
import javax.management.AttributeList;
import javax.management.MBeanAttributeInfo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import org.infinispan.commons.util.FileLookupFactory;
import org.infinispan.commons.util.concurrent.jdk8backported.ForkJoinPool;
import org.infinispan.configuration.parsing.ConfigurationBuilderHolder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Set;

import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;

import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;

import javax.management.MBeanServerConnection;
import javax.management.MalformedObjectNameException;
import javax.management.ObjectName;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.radargun.service;

import java.util.concurrent.TimeUnit;

import org.infinispan.remoting.transport.jgroups.JGroupsTransport;
import org.jgroups.protocols.TP;
import org.radargun.Service;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.lang.reflect.Field;
import java.util.Map;
import java.util.concurrent.ThreadPoolExecutor;

import org.jgroups.protocols.TP;
import org.jgroups.stack.Protocol;
import org.jgroups.stack.ProtocolStack;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.net.URISyntaxException;
import java.net.URL;
import java.util.Properties;

import javax.cache.Caching;
import javax.cache.spi.CachingProvider;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.Map;
import java.util.Properties;
import java.util.Set;

import javax.management.MBeanAttributeInfo;
import javax.management.MBeanInfo;
import javax.management.MBeanServer;
Expand Down
Loading

0 comments on commit 19c0364

Please sign in to comment.