Skip to content

Commit 99eee82

Browse files
authored
Add "static" to "values()" on search scopes (#1204)
1 parent 0b449bd commit 99eee82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gitlab4j-models/src/main/java/org/gitlab4j/models/Constants.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ public static <T> SearchScope<T> forValue(String value) {
919919
return (SearchScope<T>) jsonLookup.get(value);
920920
}
921921

922-
public Set<String> values() {
922+
public static Set<String> values() {
923923
return jsonLookup.keySet();
924924
}
925925

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

978-
public Set<String> values() {
978+
public static Set<String> values() {
979979
return jsonLookup.keySet();
980980
}
981981

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

1033-
public Set<String> values() {
1033+
public static Set<String> values() {
10341034
return jsonLookup.keySet();
10351035
}
10361036

0 commit comments

Comments
 (0)