You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/10/14 01:49:25 UTC

DO NOT REPLY [Bug 31711] New: - Clone used incorrectly in o.a.c.u.Enumerator constructor

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31711>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31711

Clone used incorrectly in o.a.c.u.Enumerator constructor

           Summary: Clone used incorrectly in o.a.c.u.Enumerator constructor
           Product: Tomcat 4
           Version: 4.1.30
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vishy.kasar@borland.com


o.a.c.u.Enumerator(Iterator iterator, boolean clone) is actually doing the 
clone when clone is false. It is not doing the clone when the clone is true. 
The logic must be reversed. 

Change if (clone) to if (!clone)

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