mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +00:00
If possible, use generic type inference for constructing objects.
This commit is contained in:
parent
dabbfc878b
commit
bf510b516d
33 changed files with 128 additions and 128 deletions
|
@ -36,7 +36,7 @@ public class Standard {
|
|||
public static final int COLOR_BACKGROUND_BUS = Style.parseColor("#993399");
|
||||
public static final int COLOR_BACKGROUND_FERRY = Style.BLUE;
|
||||
|
||||
public static final Map<Product, Style> STYLES = new HashMap<Product, Style>();
|
||||
public static final Map<Product, Style> STYLES = new HashMap<>();
|
||||
|
||||
static {
|
||||
STYLES.put(Product.HIGH_SPEED_TRAIN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue