Commit 0f2e1825 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Modified to not use generics.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@3551 b35dd754-fafc-0310-a699-88a17e54d16e
parent 18ef482d
...@@ -8,16 +8,18 @@ ...@@ -8,16 +8,18 @@
- a copy of which is included in this distribution. - a copy of which is included in this distribution.
--%> --%>
<%@ page import="org.jivesoftware.util.*, <%@ page import="org.jivesoftware.util.JiveGlobals,
org.jivesoftware.wildfire.user.*, org.jivesoftware.util.ParamUtils,
org.jivesoftware.admin.*, org.jivesoftware.wildfire.PresenceManager,
org.jivesoftware.wildfire.*, org.jivesoftware.wildfire.group.Group,
org.xmpp.packet.Presence, org.jivesoftware.wildfire.user.User,
java.net.URLEncoder" org.jivesoftware.wildfire.user.UserNotFoundException"
errorPage="error.jsp" errorPage="error.jsp"
%> %>
<%@ page import="org.jivesoftware.wildfire.group.Group"%> <%@ page import="org.xmpp.packet.Presence"%>
<%@ page import="java.net.URLEncoder"%>
<%@ page import="java.util.Collection"%> <%@ page import="java.util.Collection"%>
<%@ page import="java.util.Iterator"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
...@@ -203,7 +205,7 @@ ...@@ -203,7 +205,7 @@
</td> </td>
<td> <td>
<% <%
Collection<Group> groups = webManager.getGroupManager().getGroups(user); Collection groups = webManager.getGroupManager().getGroups(user);
if (groups.isEmpty()) { if (groups.isEmpty()) {
%> %>
<i>None</i> <i>None</i>
...@@ -211,7 +213,8 @@ ...@@ -211,7 +213,8 @@
} }
else { else {
int count = 0; int count = 0;
for (Group group: groups) { for (Iterator it=groups.iterator();it.hasNext();) {
Group group = (Group) it.next();
if (count != 0) { if (count != 0) {
out.print(", "); out.print(", ");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment