Skip to content

[CQ] Declaration Redundancy: remove unnecessary final method modifiers #7999

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

Merged
merged 1 commit into from
Apr 4, 2025
Merged
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 @@ -45,15 +45,15 @@ protected void setDirectly(@NotNull Boolean value) {
myValue = value;
}

public final void initialize(@NotNull Boolean value) {
public void initialize(@NotNull Boolean value) {
if (isSet) {
return;
}
setDirectly(value);
isSet = true;
}

public final void set(@NotNull Boolean value) {
public void set(@NotNull Boolean value) {
if (!isValueEqual(value)) {
//setNotificationsEnabled(false);
setDirectly(value);
Expand All @@ -71,12 +71,12 @@ public String toString() {
return get().toString();
}

public final void addConstraint(Object constraint) {
public void addConstraint(Object constraint) {
// This is only a partial implementation of the Android Studio class. If someone tries to use constraints more implementation is needed.
throw new Error("constraints not supported");
}

public final void addListener(Object listener) {
public void addListener(Object listener) {
// This is only a partial implementation of the Android Studio class. If someone tries to use listeners more implementation is needed.
throw new Error("listeners not supported");
}
Expand Down