Skip to content

Commit

Permalink
Merge pull request #516 from ZeligsoftDev/streams/v2-issues/513
Browse files Browse the repository at this point in the history
Issue #513: Fix NPE on elements with no name
  • Loading branch information
eposse authored Jul 17, 2024
2 parents dd9c120 + 72b16b6 commit 34ec832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static String getNameOrId(Object obj) {
Object nameVal = eObj.eGet(attribute);
if (nameVal instanceof List) {
nameOrId = stringFromList((List)nameVal);
} else {
} else if (nameVal instanceof String) {
nameOrId = (String) nameVal.toString();
}
found = true;
Expand Down

0 comments on commit 34ec832

Please sign in to comment.