Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Source compatibility with new cores using Jakarta Servlet
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored and centic9 committed Oct 9, 2024
1 parent cc85322 commit 81a93e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import org.kohsuke.stapler.StaplerRequest;

public class BranchCoverageColumnTest {

Expand Down Expand Up @@ -69,7 +70,7 @@ protected synchronized void saveNextBuildNumber() {
@Test
public void testDescriptor() throws FormException {
assertNotNull(sut.getDescriptor());
assertNotNull(sut.getDescriptor().newInstance(null, JSONObject.fromObject("{\"key\":\"value\"}")));
assertNotNull(sut.getDescriptor().newInstance((StaplerRequest) null, JSONObject.fromObject("{\"key\":\"value\"}")));
assertNotNull(sut.getDescriptor().getDisplayName());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.util.SortedMap;

import static org.junit.Assert.*;
import org.kohsuke.stapler.StaplerRequest;

public class JaCoCoColumnTest {
private JaCoCoColumn jaCoCoColumn;
Expand Down Expand Up @@ -71,7 +72,7 @@ protected synchronized void saveNextBuildNumber() {
public void testDescriptor() throws FormException {
assertNotNull(jaCoCoColumn.getDescriptor());
assertNotNull(
jaCoCoColumn.getDescriptor().newInstance(null, JSONObject.fromObject("{\"key\":\"value\"}")));
jaCoCoColumn.getDescriptor().newInstance((StaplerRequest) null, JSONObject.fromObject("{\"key\":\"value\"}")));
assertNotNull(jaCoCoColumn.getDescriptor().getDisplayName());
}

Expand Down

0 comments on commit 81a93e7

Please sign in to comment.