Skip to content

Commit

Permalink
Removed @non-null annotations
Browse files Browse the repository at this point in the history
Can't use them with maven at the moment, will re-introduce later
  • Loading branch information
codinguser committed Jan 26, 2015
1 parent 326c424 commit 13dd668
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions app/src/org/gnucash/android/db/AccountsDbAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import android.text.TextUtils;

import android.util.Log;
import android.support.annotation.NonNull;
import org.gnucash.android.R;
import org.gnucash.android.app.GnuCashApplication;
import org.gnucash.android.model.*;
Expand Down Expand Up @@ -1338,7 +1337,7 @@ public int deleteAllRecords(){
return mDb.delete(AccountEntry.TABLE_NAME, null, null);
}

public int getTransactionMaxSplitNum(@NonNull String accountUID) {
public int getTransactionMaxSplitNum(String accountUID) {
Cursor cursor = mDb.query("trans_extra_info",
new String[]{"MAX(trans_split_count)"},
"trans_acct_t_uid IN ( SELECT DISTINCT " + TransactionEntry.TABLE_NAME + "_" + TransactionEntry.COLUMN_UID +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import android.graphics.Color;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v4.widget.SimpleCursorAdapter;
import android.text.TextUtils;
Expand Down

0 comments on commit 13dd668

Please sign in to comment.