Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
60bcf865
Commit
60bcf865
authored
Jan 02, 2017
by
ylecollen
Browse files
remove useless "new string"
parent
2a7c191d
Changes
1
Hide whitespace changes
Inline
Side-by-side
java/android/OlmLibSdk/olm-sdk/src/main/java/org/matrix/olm/OlmAccount.java
View file @
60bcf865
...
...
@@ -306,7 +306,7 @@ public class OlmAccount extends CommonSerializeUtils implements Serializable {
if
(
null
!=
oneTimeKeysBuffer
)
{
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());
}
catch
(
Exception
e
)
{
Log
.
e
(
LOG_TAG
,
"## oneTimeKeys(): Exception - Msg="
+
e
.
getMessage
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment