Skip to content
Snippets Groups Projects
Commit 4e3b30cb authored by anttil's avatar anttil
Browse files

SSDM-3112: fix null checks

SVN: 35611
parent 70394b9c
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,6 @@ public class DataGlobalSearchBridge<T extends DataPE> extends GlobalSearchBridge
put(values, "Perm ID", data.getPermId());
put(values, "Registration date", dateFormat.format(data.getRegistrationDate()));
put(values, "Modification date", dateFormat.format(data.getModificationDate()));
put(values, "Access date", dateFormat.format(data.getAccessDate()));
put(values, "DataSet type", data.getDataSetType().getCode());
addProperties(values, data.getProperties());
addPerson(values, "registrator", data.getRegistrator());
......
......@@ -160,7 +160,7 @@ public abstract class GlobalSearchBridge<T extends IEntityWithMetaprojects> impl
List<String> indexedValues = new ArrayList<>();
for (Map.Entry<String, IndexedValue> entry : data.entrySet())
{
if (entry.getValue() == null)
if (entry.getValue().displayValue == null)
{
continue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment