Drop null cast
This commit is contained in:
parent
240fa4b510
commit
b0a0438f14
|
|
@ -350,7 +350,7 @@ public class ModelBakeryHelpers {
|
|||
}
|
||||
|
||||
private static <T extends Comparable<T>> T getValueHelper(Property<T> property, String value) {
|
||||
return property.getValue(value).orElse((T) null);
|
||||
return property.getValue(value).orElse(null);
|
||||
}
|
||||
|
||||
private static final Splitter COMMA_SPLITTER = Splitter.on(',');
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user