From 3c5119eb7614a8c4f19bf0d80658271196d0f656 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Sun, 5 May 2024 03:56:11 -0600 Subject: [PATCH] Remove recently introduced trailing white space --- .../java/hudson/plugins/git/GitPublisherTest.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/test/java/hudson/plugins/git/GitPublisherTest.java b/src/test/java/hudson/plugins/git/GitPublisherTest.java index e0fd8fd508..7b159bf130 100644 --- a/src/test/java/hudson/plugins/git/GitPublisherTest.java +++ b/src/test/java/hudson/plugins/git/GitPublisherTest.java @@ -79,7 +79,7 @@ /** * Tests for {@link GitPublisher} - * + * * @author Kohsuke Kawaguchi */ public class GitPublisherTest extends AbstractGitProject { @@ -681,7 +681,6 @@ public void testMergeAndPushWithSkipTagEnabled() throws Exception { scm.getExtensions().add(new LocalBranch("integration")); project.setScm(scm); - project.getPublishersList().add(new TestGitPublisher( Collections.emptyList(), Collections.singletonList(new BranchToPush("origin", "integration")), @@ -755,7 +754,7 @@ public void testMergeAndPushWithCharacteristicEnvVar() throws Exception { FreeStyleProject project = setupSimpleProject("master"); /* - * JOB_NAME seemed like the more obvious choice, but when run from a + * JOB_NAME seemed like the more obvious choice, but when run from a * multi-configuration job, the value of JOB_NAME includes an equals * sign. That makes log parsing and general use of the variable more * difficult. JENKINS_SERVER_COOKIE is a characteristic env var which @@ -886,8 +885,8 @@ protected GitClient getGitClient( gitClient.config(GitClient.ConfigLevel.LOCAL, "tag.gpgSign", "false"); return gitClient; } - } - + } + private boolean existsTag(String tag) throws InterruptedException { return existsTagInRepo(testGitClient, tag); } @@ -942,7 +941,4 @@ public boolean perform(AbstractBuild build, Launcher launcher, BuildListen return true; } - - - }