Commit b5bbc3b8 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Code cleanup.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@4792 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9eef5c52
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<% admin.init(request, response, session, application, out ); %> <% admin.init(request, response, session, application, out ); %>
<%! // List of allowed usernames: <%! // List of allowed usernames:
static Map authorizedUsernames = new HashMap(); static Map<String, String> authorizedUsernames = new HashMap<String, String>();
static { static {
for (JID jid : XMPPServer.getInstance().getAdmins()) { for (JID jid : XMPPServer.getInstance().getAdmins()) {
// Only allow local users to log into the admin console // Only allow local users to log into the admin console
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
} }
} }
} }
static final String go(String url) { static String go(String url) {
if (url == null) { if (url == null) {
return "index.jsp"; return "index.jsp";
} }
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
String url = ParamUtils.getParameter(request,"url"); String url = ParamUtils.getParameter(request,"url");
// The user auth token: // The user auth token:
AuthToken authToken = null; AuthToken authToken;
// Check the request/response for a login token // Check the request/response for a login token
...@@ -245,7 +245,7 @@ ...@@ -245,7 +245,7 @@
<td>&nbsp;</td> <td>&nbsp;</td>
</tr> </tr>
</table> </table>
<script language="JavaScript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
document.loginForm.username.focus(); document.loginForm.username.focus();
//--> //-->
......
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