@Override
Element collect(ReportField reportField, ReportBuilder reportBuilder) {
switch (reportField) {
case USER_EMAIL:
String email = prefs.getString(ACRA.PREF_USER_EMAIL_ADDRESS, null);
<BUG>return email != null ? new SimpleElement(email) : ACRAConstants.NOT_AVAILABLE;
</BUG>
case SHARED_PREFERENCES:
try {
return collect();

@Override
Element collect(ReportField reportField, ReportBuilder reportBuilder) {
switch (reportField) {
case USER_EMAIL:
String email = prefs.getString(ACRA.PREF_USER_EMAIL_ADDRESS, null);
return email != null ? new StringElement(email) : ACRAConstants.NOT_AVAILABLE;
case SHARED_PREFERENCES:
try {
return collect();
