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

Source compatibility with new cores using Jakarta Servlet #292

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading