summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Young <consult.awy@gmail.com>2015-05-01 13:46:11 (GMT)
committerAlan Young <consult.awy@gmail.com>2015-05-01 13:46:39 (GMT)
commit9f5bd1618ef47dce55f4a7afba12512738b421dd (patch)
tree7f41fbbd32a1965f5e28fa78362a61ee94839c8c /src/com/isode
parent6385fd0f848ffd829ca52a04a90989730a10616f (diff)
downloadstroke-9f5bd1618ef47dce55f4a7afba12512738b421dd.zip
stroke-9f5bd1618ef47dce55f4a7afba12512738b421dd.tar.bz2
Make SecurityLabelsCatalog items visible as a List (they are anyway)
Change-Id: I005c81cd04f1e6b2ea5145ca914fae3a02515ae5
Diffstat (limited to 'src/com/isode')
-rw-r--r--src/com/isode/stroke/elements/SecurityLabelsCatalog.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/isode/stroke/elements/SecurityLabelsCatalog.java b/src/com/isode/stroke/elements/SecurityLabelsCatalog.java
index 29cf3f7..9e33973 100644
--- a/src/com/isode/stroke/elements/SecurityLabelsCatalog.java
+++ b/src/com/isode/stroke/elements/SecurityLabelsCatalog.java
@@ -5,7 +5,7 @@
package com.isode.stroke.elements;
import java.util.ArrayList;
-import java.util.Collection;
+import java.util.List;
import com.isode.stroke.jid.JID;
@@ -13,7 +13,7 @@ public class SecurityLabelsCatalog extends Payload {
private JID to_;
private String name_ = "";
private String description_ = "";
- private Collection<Item> items_ = new ArrayList<Item>();
+ private List<Item> items_ = new ArrayList<Item>();
public static class Item {
private SecurityLabel label_;
@@ -49,7 +49,7 @@ public class SecurityLabelsCatalog extends Payload {
to_ = to;
}
- public final Collection<Item> getItems() {
+ public final List<Item> getItems() {
return items_;
}