mirror of https://github.com/FreeRDP/FreeRDP
Fix #6085: Java string comparison should prefer equals
This commit is contained in:
parent
971be4fe9b
commit
4259f5c561
|
@ -113,7 +113,7 @@ public class HomeActivity extends AppCompatActivity
|
|||
String curSection = separatedListAdapter.getSectionForPosition(position);
|
||||
Log.v(TAG, "Clicked on item id " + separatedListAdapter.getItemId(position) +
|
||||
" in section " + curSection);
|
||||
if (curSection == sectionLabelBookmarks)
|
||||
if (curSection.equals(sectionLabelBookmarks))
|
||||
{
|
||||
String refStr = view.getTag().toString();
|
||||
if (ConnectionReference.isManualBookmarkReference(refStr) ||
|
||||
|
|
Loading…
Reference in New Issue