Skip to content

Commit

Permalink
[FIXED JENKINS-25375] Restore deprecated method override for binary c…
Browse files Browse the repository at this point in the history
…ompatibility.
  • Loading branch information
jglick committed Oct 30, 2014
1 parent e6f72ad commit bf1112f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/hudson/tasks/junit/JUnitParser.java
Expand Up @@ -26,6 +26,7 @@
import hudson.model.TaskListener;
import hudson.tasks.test.TestResultParser;
import hudson.*;
import hudson.model.AbstractBuild;
import hudson.model.Run;
import hudson.remoting.VirtualChannel;

Expand Down Expand Up @@ -68,6 +69,11 @@ public String getTestResultLocationMessage() {
return Messages.JUnitParser_TestResultLocationMessage();
}

@Deprecated
@Override public TestResult parse(String testResultLocations, AbstractBuild build, Launcher launcher, TaskListener listener) throws InterruptedException, IOException {
return (TestResult) super.parse(testResultLocations, build, launcher, listener);
}

@Override
public TestResult parseResult(String testResultLocations,
Run<?,?> build, FilePath workspace, Launcher launcher,
Expand Down

0 comments on commit bf1112f

Please sign in to comment.