mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
remove useless null check: parameter is notnull
This commit is contained in:
@@ -37,9 +37,6 @@ public abstract class SingleEntryIndexer<V> implements DataIndexer<Integer, V, F
|
||||
@Override
|
||||
@NotNull
|
||||
public final Map<Integer, V> map(@NotNull FileContent inputData) {
|
||||
if (inputData == null) {
|
||||
return Collections.emptyMap();
|
||||
}
|
||||
final V value = computeValue(inputData);
|
||||
if (value == null && !myAcceptNullValues) {
|
||||
return Collections.emptyMap();
|
||||
|
||||
Reference in New Issue
Block a user