Skip to content

Commit

Permalink
Disposer.requiresWorkspace is final
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Oct 23, 2020
1 parent e3e6f75 commit af19950
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,6 @@ public void setUp(@Nonnull Context context, @Nonnull Run<?, ?> build, @Nonnull T
context.setDisposer(new DisposerWithoutWorkspaceRequirement());
}
public static final class DisposerWithoutWorkspaceRequirement extends Disposer {
// TODO: Remove once the minimum core version for this plugin is 2.258 or newer.
public boolean requiresWorkspace() { return false; }
@Override public void tearDown(@Nonnull Run<?, ?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws IOException, InterruptedException {
listener.getLogger().println("<<< workspace context not needed, but provided.");
}
Expand Down

0 comments on commit af19950

Please sign in to comment.