summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTarun Gupta <tarun1995gupta@gmail.com>2015-06-26 08:20:59 (GMT)
committerKevin Smith <kevin.smith@isode.com>2015-07-06 13:52:48 (GMT)
commitfcdff3f162995170469833a82f607903e660812d (patch)
treee9d3cc18c8454b43ebdc1e9b9568d1f4456b59eb /src/com/isode/stroke/elements/Last.java
parent79b532d8b6702a5599e7a3eac1416f562405668e (diff)
downloadstroke-fcdff3f162995170469833a82f607903e660812d.zip
stroke-fcdff3f162995170469833a82f607903e660812d.tar.bz2
Minor Fixes for Elements.
Adds Block Element, BlockList, and Unblock Element. Updates some Elements just for consistency. Updates Last Element, its Parser and Serializer for consistency with Swiften. License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Test-Information: None. Change-Id: If40c2516b944b1939db08721bb4de4554c3264f6
Diffstat (limited to 'src/com/isode/stroke/elements/Last.java')
-rw-r--r--src/com/isode/stroke/elements/Last.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/isode/stroke/elements/Last.java b/src/com/isode/stroke/elements/Last.java
index b2b2805..e25994c 100644
--- a/src/com/isode/stroke/elements/Last.java
+++ b/src/com/isode/stroke/elements/Last.java
@@ -10,19 +10,19 @@
package com.isode.stroke.elements;
public class Last extends Payload {
- Long seconds_;
+ private int seconds_ = 0;
public Last() {}
- public Last(final Long seconds) {
+ public Last(final int seconds) {
setSeconds(seconds);
}
- public void setSeconds(final Long seconds) {
+ public void setSeconds(final int seconds) {
seconds_ = seconds;
}
- public Long getSeconds() {
+ public int getSeconds() {
return seconds_;
}
}