Removed unnecessary string builder
This commit is contained in:
parent
ed8336ee54
commit
41112d29bd
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue