Skip to content

Commit

Permalink
Merge pull request #56 from lucas7788/upmaster6
Browse files Browse the repository at this point in the history
remove log
  • Loading branch information
lucas7788 authored Jul 10, 2018
2 parents a71a80c + 014e8d4 commit 214f4eb
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
package com.github.ontio.sdk.manager;

import android.content.SharedPreferences;
import android.util.Log;

import com.github.ontio.common.ErrorCode;
import com.github.ontio.common.Helper;
Expand Down Expand Up @@ -72,7 +71,6 @@ public WalletMgr(SharedPreferences sp, SignatureScheme scheme) throws IOExceptio
walletFile = new Wallet();
writeWallet();
} else {
Log.i("ontsdk", "WalletMgr: " + text);
walletInMem = JSON.parseObject(text, Wallet.class);
walletFile = JSON.parseObject(text, Wallet.class);
}
Expand All @@ -86,7 +84,6 @@ private WalletMgr(SharedPreferences sp, String password, KeyType type, Object[]
walletFile = new Wallet();
writeWallet();
} else {
Log.i("ontsdk", "WalletMgr: " + text);
walletInMem = JSON.parseObject(text, Wallet.class);
walletFile = JSON.parseObject(text, Wallet.class);
}
Expand All @@ -100,7 +97,6 @@ private WalletMgr(SharedPreferences sp, String password, KeyType type, Object[]
}

private static void writeFile(SharedPreferences sp, String sets) throws IOException {
Log.i("ontsdk", "writeFile: " + sets);
boolean isSuccess = sp.edit().putString(key, sets).commit();
if (!isSuccess) {
throw new IOException("Wallet File Write Error");
Expand Down

0 comments on commit 214f4eb

Please sign in to comment.