Skip to content

Pull #34814: apply RemoveUnusedPrivateFields #34814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 @@ -802,8 +802,6 @@ public static class GenericBroadcasterImpl implements Broadcaster {
public abstract static class GenericEventBroadcasterImpl<T extends Event>
extends GenericBroadcasterImpl implements EventBroadcaster {

private Class<T>[] subscribingEvents;

private Channel<T> channel;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public class Inventor {
public String publicName;
private PlaceOfBirth placeOfBirth;
private Date birthdate;
private int sinNumber;
private String nationality;
private String[] inventions;
public String randomField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -377,15 +377,11 @@ public jakarta.xml.bind.Unmarshaller createUnmarshaller() {
@XmlRootElement
@SuppressWarnings("unused")
public static class DummyRootElement {

private DummyType t = new DummyType();
}

@XmlType
@SuppressWarnings("unused")
public static class DummyType {

private String s = "Hello";
}

@SuppressWarnings("unused")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
import org.springframework.util.StringUtils;
import org.springframework.util.StringValueResolver;
import org.springframework.web.HttpRequestHandler;
import org.springframework.web.accept.ContentNegotiationManager;
import org.springframework.web.context.request.ServletWebRequest;
import org.springframework.web.context.support.ServletContextResource;
import org.springframework.web.cors.CorsConfiguration;
Expand Down Expand Up @@ -123,8 +122,6 @@ public class ResourceHttpRequestHandler extends WebContentGenerator

private @Nullable ResourceRegionHttpMessageConverter resourceRegionHttpMessageConverter;

private @Nullable ContentNegotiationManager contentNegotiationManager;

private final Map<String, MediaType> mediaTypes = new HashMap<>(4);

private @Nullable CorsConfiguration corsConfiguration;
Expand Down