String creationMethod = profileEntity.getCreationMethod(); history.setCreationMethod(CreationMethod.isValid(creationMethod) ? CreationMethod.fromValue(creationMethod) : CreationMethod.WEBSITE); history.setSource(getSponsor(profileEntity));
String creationMethod = profileEntity.getCreationMethod(); history.setCreationMethod(CreationMethod.isValid(creationMethod) ? CreationMethod.fromValue(creationMethod) : CreationMethod.WEBSITE); history.setSource(getSponsor(profileEntity));