From 9f5bd1618ef47dce55f4a7afba12512738b421dd Mon Sep 17 00:00:00 2001 From: Alan Young Date: Fri, 1 May 2015 15:46:11 +0200 Subject: Make SecurityLabelsCatalog items visible as a List (they are anyway) Change-Id: I005c81cd04f1e6b2ea5145ca914fae3a02515ae5 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 items_ = new ArrayList(); + private List items_ = new ArrayList(); public static class Item { private SecurityLabel label_; @@ -49,7 +49,7 @@ public class SecurityLabelsCatalog extends Payload { to_ = to; } - public final Collection getItems() { + public final List getItems() { return items_; } -- cgit v0.10.2-6-g49f6