Skip to content

Commit

Permalink
Merge pull request #517 from ZeligsoftDev/streams/v3-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 1876961 + c591e50 commit dc434d4
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 dc434d4

Please sign in to comment.