UserLocalServiceUtil.updateOpenId(user.getUserId(), openId);
}
catch (NoSuchUserException nsue2) {
FetchRequest fetch = FetchRequest.createFetchRequest();
URL endpoint = discovered.getOPEndpoint();
<BUG>String openIdProvider = "default";
if (isYahooOpenId(endpoint)) {
openIdProvider = "yahoo";
fetch.addAttribute(</BUG>
_OPEN_ID_ATTR_EMAIL,

UserLocalServiceUtil.updateOpenId(user.getUserId(), openId);
}
catch (NoSuchUserException nsue2) {
FetchRequest fetch = FetchRequest.createFetchRequest();
URL endpoint = discovered.getOPEndpoint();
String openIdHost = getOpenIdHostType(endpoint);
String[] openIdAXTypes = PropsUtil.getArray
(PropsKeys.OPEN_ID_AX_TYPES, new Filter(openIdHost));
for (String openIdAXType : openIdAXTypes) {
if (openIdAXType.equals(_OPEN_ID_ATTR_EMAIL)) {
fetch.addAttribute(
_OPEN_ID_ATTR_EMAIL,
