Skip to content

Commit

Permalink
Eliminate JENKINS-45892 warning.
Browse files Browse the repository at this point in the history
MavenProbeAction was saving a copy of the project (or, as of 2.74, just a reference) in build.xml.
This was silly because MavenProbeAction itself is transient—it is deleted when the build completes!
  • Loading branch information
jglick committed Jan 5, 2018
1 parent d57c342 commit 0c45df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/maven/MavenProbeAction.java
Expand Up @@ -55,7 +55,7 @@ public final class MavenProbeAction implements Action {
private final transient Channel channel;
private final transient AbstractMavenBuild<?,?> build;

public final AbstractProject<?,?> owner;
public final transient AbstractProject<?,?> owner;

MavenProbeAction(AbstractProject<?,?> owner, Channel channel, AbstractMavenBuild<?,?> build) {
this.channel = channel;
Expand Down

0 comments on commit 0c45df3

Please sign in to comment.