1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-14 11:39:39 +02:00

Fixed smack sample for updated API

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@11233 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Günther Niess 2009-09-03 08:42:07 +00:00 committed by niess
parent 7d4389c544
commit d334ab0c2a
2 changed files with 11 additions and 11 deletions

View file

@ -193,8 +193,8 @@
<%
RosterEntry entry = roster.getEntry(user);
RosterGroup group;
for (Iterator it=entry.getGroups(); it.hasNext();) {
group = (RosterGroup) it.next();%>
for (Iterator<RosterGroup> it=entry.getGroups().iterator(); it.hasNext();) {
group = it.next();%>
<tr>
<td align="center" width="80%" class=text height=16><%=group.getName()%></td>
<td valign="middle" align="center" width="20%"><a href="moveContact.jsp?action=delete&user=<%=user%>&fromGroup=<%=group.getName()%>"><img src="images/garbage.png" alt="Remove contact from the group" border="0"></a></td>