Skip to content

Commit

Permalink
Add "static" to "values()" on search scopes (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Dec 4, 2024
1 parent 0b449bd commit 99eee82
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ public static <T> SearchScope<T> forValue(String value) {
return (SearchScope<T>) jsonLookup.get(value);
}

public Set<String> values() {
public static Set<String> values() {
return jsonLookup.keySet();
}

Expand Down Expand Up @@ -975,7 +975,7 @@ public static <T> GroupSearchScope<T> forValue(String value) {
return (GroupSearchScope<T>) jsonLookup.get(value);
}

public Set<String> values() {
public static Set<String> values() {
return jsonLookup.keySet();
}

Expand Down Expand Up @@ -1030,7 +1030,7 @@ public static <T> ProjectSearchScope<T> forValue(String value) {
return (ProjectSearchScope<T>) jsonLookup.get(value);
}

public Set<String> values() {
public static Set<String> values() {
return jsonLookup.keySet();
}

Expand Down

0 comments on commit 99eee82

Please sign in to comment.