mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-02-01 10:42:01 -05:00
fixing errors reported by spotbugs
This commit is contained in:
@@ -112,10 +112,11 @@ public class ManageGroupActivity extends CatimaAppCompatActivity implements Mana
|
||||
}
|
||||
|
||||
mActionBar = getSupportActionBar();
|
||||
|
||||
if (mActionBar == null){
|
||||
throw(new RuntimeException("mActionBar is not expected to be null here"));
|
||||
}
|
||||
mActionBar.setDisplayHomeAsUpEnabled(true);
|
||||
mActionBar.setDisplayShowHomeEnabled(true);
|
||||
|
||||
}
|
||||
|
||||
private void resetGroupNameTextColor() {
|
||||
@@ -349,7 +350,6 @@ public class ManageGroupActivity extends CatimaAppCompatActivity implements Mana
|
||||
@Override
|
||||
public void onRowClicked(int inputPosition)
|
||||
{
|
||||
Cursor selected = mAdapter.getCursor();
|
||||
mAdapter.toggleSelection(inputPosition);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user