aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml/Element.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/xml/Element.java')
-rw-r--r--src/eu/siacs/conversations/xml/Element.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eu/siacs/conversations/xml/Element.java b/src/eu/siacs/conversations/xml/Element.java
index d23a81baf..a09946c22 100644
--- a/src/eu/siacs/conversations/xml/Element.java
+++ b/src/eu/siacs/conversations/xml/Element.java
@@ -146,10 +146,10 @@ public class Element {
}
public void setAttribute(String name, long value) {
- this.setAttribute(name, "" + value);
+ this.setAttribute(name, Long.toString(value));
}
public void setAttribute(String name, int value) {
- this.setAttribute(name, "" + value);
+ this.setAttribute(name, Integer.toString(value));
}
}