ARTEMIS-5104 Remove unused private fields

This commit is contained in:
Clebert Suconic 2024-10-16 11:39:38 -04:00 committed by clebertsuconic
parent c78d87de9b
commit 9c17ea4037
7 changed files with 0 additions and 21 deletions

View File

@ -202,7 +202,6 @@ public class ActiveMQMessage implements javax.jms.Message {
private boolean clientAck;
private long jmsDeliveryTime;
/*

View File

@ -24,7 +24,6 @@ import org.apache.activemq.artemis.boot.Artemis;
import org.apache.activemq.artemis.cli.commands.Run;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
@ -33,8 +32,6 @@ import org.apache.maven.project.MavenProject;
@Mojo(name = "cli", defaultPhase = LifecyclePhase.VERIFY, threadSafe = true)
public class ArtemisCLIPlugin extends ArtemisAbstractPlugin {
private PluginDescriptor descriptor;
@Parameter(defaultValue = "${noServer}")
boolean ignore;

View File

@ -28,7 +28,6 @@ import java.util.Map;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
@ -54,11 +53,6 @@ public class ArtemisDependencyDocPlugin extends ArtemisAbstractPlugin {
@Parameter
String name;
/**
* The plugin descriptor
*/
private PluginDescriptor descriptor;
@Parameter
private String[] groupOrder;

View File

@ -27,7 +27,6 @@ import java.util.Set;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
@ -39,11 +38,6 @@ public class ArtemisDependencyScanPlugin extends ArtemisAbstractPlugin {
@Parameter
String name;
/**
* The plugin descriptor
*/
private PluginDescriptor descriptor;
@Parameter
private String[] libListWithDeps;

View File

@ -121,8 +121,6 @@ public final class ActiveMQRASessionFactoryImpl extends ActiveMQConnectionForCon
*/
private final Set<TemporaryTopic> tempTopics = new HashSet<>();
private boolean allowLocalTransaction;
/**
* Constructor
*

View File

@ -45,7 +45,6 @@ public final class ReplicationPrimaryIsStoppingMessage extends PacketImpl {
}
}
private int finalMessage;
private PrimaryStopping primaryStopping;
public ReplicationPrimaryIsStoppingMessage() {

View File

@ -20,7 +20,6 @@ import java.util.function.Consumer;
import org.apache.activemq.artemis.api.core.ActiveMQException;
import org.apache.activemq.artemis.api.core.Message;
import org.apache.activemq.artemis.api.core.SimpleString;
import org.apache.activemq.artemis.core.paging.PagingStore;
import org.apache.activemq.artemis.core.server.MessageReference;
import org.apache.activemq.artemis.core.server.Queue;
import org.apache.activemq.artemis.core.server.ServerConsumer;
@ -38,7 +37,6 @@ public class GroupFirstMessageReference implements MessageReference {
private final MessageReference messageReference;
private final SimpleString key;
private volatile Message message;
private volatile PagingStore owner;
public GroupFirstMessageReference(SimpleString key, MessageReference messageReference) {
this.messageReference = messageReference;