commit | 73b5551fd046e68eebf9699426a3d570ea8bcf7f | [log] [tgz] |
---|---|---|
author | Ken Gilmer <kgilmer@apache.org> | Mon Dec 17 19:32:45 2012 +0000 |
committer | Ken Gilmer <kgilmer@apache.org> | Mon Dec 17 19:32:45 2012 +0000 |
tree | 2c73f6bb673bb1479c28c1be40514806ce46322b | |
parent | 347309317b7986da3880af3cac0a8d542d6922c9 [diff] |
Fixed error in tests that use Java 1.5+ keyword enum. git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1423106 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/httplite/core/src/test/java/org/apache/felix/httplite/osgi/test/cases/TestParameters.java b/httplite/core/src/test/java/org/apache/felix/httplite/osgi/test/cases/TestParameters.java index 62b57c5..cb3d321 100644 --- a/httplite/core/src/test/java/org/apache/felix/httplite/osgi/test/cases/TestParameters.java +++ b/httplite/core/src/test/java/org/apache/felix/httplite/osgi/test/cases/TestParameters.java
@@ -67,11 +67,11 @@ assertTrue( client.getResponseCode() == 200 ); int headerCount = 0; - Enumeration enum = testServlet.getHeaderNames(); - while (enum.hasMoreElements()) + Enumeration e = testServlet.getHeaderNames(); + while (e.hasMoreElements()) { headerCount++; - System.out.println("header: " + enum.nextElement().toString()); + System.out.println("header: " + e.nextElement().toString()); }