Spacing corrections

This commit is contained in:
Thialfihar 2014-04-02 13:21:11 +02:00
parent 269f7feb89
commit a3a5085afb

View File

@ -568,15 +568,14 @@ public class EditKeyActivity extends ActionBarActivity implements EditorListener
} }
} }
private void checkEmptyIDsWanted() private void checkEmptyIDsWanted() {
{
try { try {
ArrayList<String> userIDs = getUserIds(mUserIdsView); ArrayList<String> userIDs = getUserIds(mUserIdsView);
List<Boolean> newIDs = mUserIdsView.getNewIDFlags(); List<Boolean> newIDs = mUserIdsView.getNewIDFlags();
ArrayList<String> originalIDs = mUserIdsView.getOriginalIDs(); ArrayList<String> originalIDs = mUserIdsView.getOriginalIDs();
int curID = 0; int curID = 0;
for (String userID : userIDs) { for (String userID : userIDs) {
if ( userID.equals("") && (!userID.equals(originalIDs.get(curID)) || newIDs.get(curID) ) ) { if (userID.equals("") && (!userID.equals(originalIDs.get(curID)) || newIDs.get(curID))) {
AlertDialog.Builder alert = new AlertDialog.Builder( AlertDialog.Builder alert = new AlertDialog.Builder(
EditKeyActivity.this); EditKeyActivity.this);