Skip to content

Commit 163be8d

Browse files
committed
remove unused local variable
1 parent beaf587 commit 163be8d

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

app/src/org/gnucash/android/ui/transaction/TransactionFormFragment.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,6 @@ public class TransactionFormFragment extends SherlockFragment implements
182182
private String mAccountUID;
183183

184184
private List<Split> mSplitsList = new ArrayList<Split>();
185-
/**
186-
* list to hold deleted splits. This split should only be deleted from
187-
* DB when the transaction is saved.
188-
*/
189-
private List<String> mDeletedSplitUIDList = new ArrayList<String>();
190185

191186
/**
192187
* Create the view and retrieve references to the UI elements
@@ -767,11 +762,6 @@ public void setSplitList(List<Split> splitList, List<String> removedSplitUIDs){
767762
mAmountEditText.setEnabled(false);
768763
setAmountEditViewVisible(View.GONE);
769764
}
770-
771-
// save the deleted UID list. Use add instead of assign in case this
772-
// is called multiple times
773-
// The splits will be actually deleted when the transaction is saved.
774-
mDeletedSplitUIDList.addAll(removedSplitUIDs);
775765
}
776766

777767
/**

0 commit comments

Comments
 (0)