Skip to content

Commit

Permalink
Removed several collections which are updated, but seem to be never a…
Browse files Browse the repository at this point in the history
…ccessed.
  • Loading branch information
dk2k authored and vlsi committed Aug 6, 2024
1 parent 6b65008 commit ca708c8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
import org.slf4j.LoggerFactory;

public class HtmlReportUI implements ActionListener {
private static final Set<String> commands = new HashSet<>();
private static final Logger LOGGER = LoggerFactory.getLogger(HtmlReportUI.class);

private static final String CREATE_REQUEST = "CREATE_REQUEST";
Expand Down Expand Up @@ -82,11 +81,6 @@ public class HtmlReportUI implements ActionListener {
private final ImageIcon inErrorIcon = JMeterUtils.getImage(IMAGES_PREFIX + iconSize +"/dialog-error-5.png");// $NON-NLS-1$
private final ImageIcon completedIcon = JMeterUtils.getImage(IMAGES_PREFIX + iconSize +"/task-complete.png");// $NON-NLS-1$


static {
commands.add(ActionNames.HTML_REPORT);
}

public HtmlReportUI() {
super();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ public class TestPlan extends AbstractTestElement implements Serializable, TestS

private static final String BASEDIR = "basedir";

private transient List<AbstractThreadGroup> threadGroups = new ArrayList<>();

// There's only 1 test plan, so can cache the mode here
private static volatile boolean functionalMode = false;

Expand All @@ -68,7 +66,6 @@ public TestPlanSchema getSchema() {

// create transient item
protected Object readResolve(){
threadGroups = new ArrayList<>();
return this;
}

Expand Down Expand Up @@ -213,7 +210,6 @@ public void addTestElement(TestElement tg) {
* the feature to be added to the AbstractThreadGroup attribute
*/
public void addThreadGroup(AbstractThreadGroup group) {
threadGroups.add(group);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ private void handleOneWay(SampleResult res) throws JMSException {

private void handleRead(JMeterContext context, SampleResult res) {
LOGGER.debug("isRead");
StringBuilder sb = new StringBuilder(75);
res.setSuccessful(true);
Sampler sampler = context.getPreviousSampler();
SampleResult sr = context.getPreviousResult();
Expand All @@ -273,8 +272,6 @@ private void handleRead(JMeterContext context, SampleResult res) {
do {
result = browseQueueForConsumption(sendQueue, jmsSelector, res, buffer, propBuffer);
if (result != null) {
sb.append(result);
sb.append('\n');
sampleCounter++;
}
sampleTries++;
Expand Down

0 comments on commit ca708c8

Please sign in to comment.