sebb 2005/01/04 11:40:14
Modified: src/protocol/http/org/apache/jmeter/protocol/http/control
CookieManager.java
Log:
Rename "enum" variable to avoid clash with Java 1.5 keyword
Revision Changes Path
1.32 +5 -5
jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java
Index: CookieManager.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- CookieManager.java 10 Dec 2004 21:32:52 -0000 1.31
+++ CookieManager.java 4 Jan 2005 19:40:14 -0000 1.32
@@ -1,6 +1,6 @@
// $Header$
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -282,9 +282,9 @@
return null;
StringBuffer header = new StringBuffer();
- for (PropertyIterator enum = getCookies().iterator();
enum.hasNext();)
+ for (PropertyIterator iter = getCookies().iterator();
iter.hasNext();)
{
- Cookie cookie = (Cookie) enum.next().getObjectValue();
+ Cookie cookie = (Cookie) iter.next().getObjectValue();
// Add a leading dot to the host name so that host X matches
// domain .X. This is a breach of the standard, but it's how
// browsers behave:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]