Dieser Commit ist enthalten in:
Ursprung
4ed5f40fed
Commit
41d4ce2472
@ -59,10 +59,6 @@ public class ViewFlagHolder {
|
|||||||
return (T) viewFlags.get(clazz);
|
return (T) viewFlags.get(clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
public <T extends ViewFlag> T getViewFlagOrDefault(Class<T> clazz, T defaultValue) {
|
|
||||||
return (T) viewFlags.getOrDefault(clazz, defaultValue);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void addViewFlag(ViewFlag viewFlag) {
|
public void addViewFlag(ViewFlag viewFlag) {
|
||||||
viewFlags.put(viewFlag.getClass(), viewFlag);
|
viewFlags.put(viewFlag.getClass(), viewFlag);
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren