remove useless "new string"

This commit is contained in:
ylecollen 2017-01-02 14:19:22 +01:00
parent 2a7c191d84
commit 60bcf865d0

View file

@ -306,7 +306,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
if( null != oneTimeKeysBuffer) { if( null != oneTimeKeysBuffer) {
try { try {
oneTimeKeysJsonObj = new JSONObject(new String(new String(oneTimeKeysBuffer, "UTF-8"))); oneTimeKeysJsonObj = new JSONObject(new String(oneTimeKeysBuffer, "UTF-8"));
//Log.d(LOG_TAG, "## oneTimeKeys(): OneTime Json keys=" + oneTimeKeysJsonObj.toString()); //Log.d(LOG_TAG, "## oneTimeKeys(): OneTime Json keys=" + oneTimeKeysJsonObj.toString());
} catch (Exception e) { } catch (Exception e) {
Log.e(LOG_TAG, "## oneTimeKeys(): Exception - Msg=" + e.getMessage()); Log.e(LOG_TAG, "## oneTimeKeys(): Exception - Msg=" + e.getMessage());