From d0cb6f5249000db8233538c7f94d0238824ab5c0 Mon Sep 17 00:00:00 2001 From: Alex Earl Date: Wed, 19 Aug 2020 15:17:27 -0700 Subject: [PATCH] Fix use of term --- .../emailext/ExtendedEmailPublisherMatrixTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherMatrixTest.java b/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherMatrixTest.java index 7168baf79..7e9fc416a 100644 --- a/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherMatrixTest.java +++ b/src/test/java/hudson/plugins/emailext/ExtendedEmailPublisherMatrixTest.java @@ -88,7 +88,7 @@ public void testPreBuildMatrixBuildSendParentOnly() throws Exception { } @Test - public void testPreBuildMatrixBuildSendAgentssOnly() throws Exception{ + public void testPreBuildMatrixBuildSendAgentsOnly() throws Exception{ addAgentToProject(0,1,2); List recProviders = Collections.emptyList(); publisher.setMatrixTriggerMode(MatrixTriggerMode.ONLY_CONFIGURATIONS); @@ -164,11 +164,11 @@ private void addEmailType( EmailTrigger trigger ) { }} ); } - private void addAgentToProject(int ... agentInxes ) throws IOException { + private void addAgentToProject(int ... agentInxes) throws IOException { AxisList list = new AxisList(); List values = new LinkedList<>(); - for (int slaveInx : agentInxes) { - values.add(agents.get(slaveInx).getLabelString()); + for (int agentInx : agentInxes) { + values.add(agents.get(agentInx).getLabelString()); } list.add(new Axis("label",values)); project.setAxes(list);