Removed unnecessary string builder

This commit is contained in:
cijo-saju 2017-04-08 10:12:40 +05:30
parent ed8336ee54
commit 41112d29bd
1 changed files with 2 additions and 6 deletions

View File

@ -637,12 +637,8 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers
private String getStatus(User user) { private String getStatus(User user) {
if (mAdvancedMode) { if (mAdvancedMode) {
StringBuilder builder = new StringBuilder(); return getString(user.getAffiliation().getResId()) +
builder.append(getString(user.getAffiliation().getResId())); " (" + getString(user.getRole().getResId()) + ')';
builder.append(" (");
builder.append(getString(user.getRole().getResId()));
builder.append(')');
return builder.toString();
} else { } else {
return getString(user.getAffiliation().getResId()); return getString(user.getAffiliation().getResId());
} }