Trace Refactor #233
@ -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