New Storage: Testsuite fails when JPA Map storage is enabled for groups
Closes #11369
This commit is contained in:
parent
f48d468641
commit
3d1118223b
1 changed files with 1 additions and 6 deletions
|
@ -67,12 +67,7 @@ public class MapGroupAdapter extends AbstractGroupModel<MapGroupEntity> {
|
|||
|
||||
@Override
|
||||
public String getFirstAttribute(String name) {
|
||||
List<String> attributeValues = this.entity.getAttribute(name);
|
||||
if (attributeValues == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return attributeValues.get(0);
|
||||
return getAttributeStream(name).findFirst().orElse(null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue