aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/crypto
diff options
context:
space:
mode:
authorM. Dietrich <mdt@emdete.de>2014-09-01 10:40:45 +0200
committerM. Dietrich <mdt@emdete.de>2014-09-01 10:40:45 +0200
commit2acf510ea97666919ac066a2bf312f47a386ac56 (patch)
treeb28eb88e6b8335af6b655c40af8ada563b5b93c6 /src/eu/siacs/conversations/crypto
parent3558fa5f5bcbf73ecb5c8174b208ac0c36e708b1 (diff)
optimize string operations a bit
Diffstat (limited to 'src/eu/siacs/conversations/crypto')
-rw-r--r--src/eu/siacs/conversations/crypto/PgpEngine.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/crypto/PgpEngine.java b/src/eu/siacs/conversations/crypto/PgpEngine.java
index 47b1a0cb..430aaf99 100644
--- a/src/eu/siacs/conversations/crypto/PgpEngine.java
+++ b/src/eu/siacs/conversations/crypto/PgpEngine.java
@@ -106,8 +106,8 @@ public class PgpEngine {
outputFile.getAbsolutePath(), options);
int imageHeight = options.outHeight;
int imageWidth = options.outWidth;
- message.setBody("" + outputFile.getSize() + ","
- + imageWidth + "," + imageHeight);
+ message.setBody(Long.toString(outputFile.getSize()) + ','
+ + imageWidth + ',' + imageHeight);
message.setEncryption(Message.ENCRYPTION_DECRYPTED);
PgpEngine.this.mXmppConnectionService
.updateMessage(message);