diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-03-20 14:02:41 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-03-20 14:02:41 +0000 |
commit | 68ce432da9e37e5e9e9618c860cc6c60bdcb7a8c (patch) | |
tree | 57c962d4b4d17ee5c3c59f63a6ae9f1a24f294b1 /id.oa | |
parent | 9f771e681c26f7ad70e084b67511af74ab583d8a (diff) | |
download | moa-id-spss-68ce432da9e37e5e9e9618c860cc6c60bdcb7a8c.tar.gz moa-id-spss-68ce432da9e37e5e9e9618c860cc6c60bdcb7a8c.tar.bz2 moa-id-spss-68ce432da9e37e5e9e9618c860cc6c60bdcb7a8c.zip |
Enumeration enum: enum ist Schlüsselwort ab 1.5; geändert.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@679 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.oa')
-rw-r--r-- | id.oa/html/index.jsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/id.oa/html/index.jsp b/id.oa/html/index.jsp index 9e75d5e08..35e49d743 100644 --- a/id.oa/html/index.jsp +++ b/id.oa/html/index.jsp @@ -10,8 +10,8 @@ <table border="1">
<%
/* collect parameters from request */
- for (Enumeration enum = request.getHeaderNames(); enum.hasMoreElements(); ) {
- String key = (String) enum.nextElement();
+ for (Enumeration headers = request.getHeaderNames(); headers.hasMoreElements(); ) {
+ String key = (String) headers.nextElement();
String value = request.getHeader(key); %>
<tr><td><%=key%></td><td><%=value%></td></tr>
<% } %>
@@ -26,8 +26,8 @@ <table border="1">
<%
/* collect parameters from request */
- for (Enumeration enum = request.getParameterNames(); enum.hasMoreElements(); ) {
- String name = (String) enum.nextElement();
+ for (Enumeration params = request.getParameterNames(); params.hasMoreElements(); ) {
+ String name = (String) params.nextElement();
String value = request.getParameter(name); %>
<tr><td><%=name%></td><td><%=value%></td></tr>
<% } %>
|