File tree Expand file tree Collapse file tree
src/main/java/eu/openanalytics/containerproxy/auth/impl Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66 <groupId >eu.openanalytics</groupId >
77 <artifactId >containerproxy</artifactId >
8- <version >0.8.11 </version >
8+ <version >0.8.12-SNAPSHOT </version >
99 <name >ContainerProxy</name >
1010 <packaging >jar</packaging >
1111
Original file line number Diff line number Diff line change @@ -320,6 +320,7 @@ public String getName() {
320320 Object emails = getAttributes ().get (ID_ATTR_EMAILS );
321321 if (emails instanceof String []) return ((String []) emails )[0 ];
322322 else if (emails instanceof JSONArray ) return ((JSONArray ) emails ).get (0 ).toString ();
323+ else if (emails instanceof Collection ) return ((Collection <?>) emails ).stream ().findFirst ().get ().toString ();
323324 else return emails .toString ();
324325 }
325326 else return super .getName ();
You can’t perform that action at this time.
0 commit comments