You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2005/01/04 20:39:25 UTC

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control AuthManager.java

sebb        2005/01/04 11:39:25

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/control
                        AuthManager.java
  Log:
  Rename "enum" variable to avoid clash with Java 1.5 keyword
  
  Revision  Changes    Path
  1.13      +6 -6      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java
  
  Index: AuthManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/control/AuthManager.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- AuthManager.java	10 Dec 2004 21:32:52 -0000	1.12
  +++ AuthManager.java	4 Jan 2005 19:39:25 -0000	1.13
  @@ -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.
  @@ -209,11 +209,11 @@
           if (url2 != null) s2= url2.toString();
           
           // TODO should really return most specific (i.e. longest) match.
  -        for (PropertyIterator enum = getAuthObjects().iterator();
  -            enum.hasNext();
  +        for (PropertyIterator iter = getAuthObjects().iterator();
  +            iter.hasNext();
               )
           {
  -            Authorization auth = (Authorization) enum.next().getObjectValue();
  +            Authorization auth = (Authorization) iter.next().getObjectValue();
               
               String uRL = auth.getURL();
   			if (s1.startsWith(uRL) || s2 != null && s2.startsWith(uRL))
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org