Bug 41703 - Variable assigned with it's own value.
Variable assigned with it's own value.
Status: RESOLVED FIXED
Product: Tomcat 6
Classification: Unclassified
Component: Catalina
unspecified
Other All
: P2 normal (vote)
: default
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-02-26 02:18 UTC by Nils Hammar
Modified: 2007-03-26 23:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Hammar 2007-02-26 02:18:39 UTC
The variable this.address is assigned by it's own value instead of assigning the
data provided by the parameter to the method setAddress().

Patch below will take the parameter and assign it to this.address.


Index:
C:/Work/Apache/tomcat6/java/org/apache/catalina/ha/authenticator/SingleSignOnMessage.java
===================================================================
---
C:/Work/Apache/tomcat6/java/org/apache/catalina/ha/authenticator/SingleSignOnMessage.java
(revision 511768)
+++
C:/Work/Apache/tomcat6/java/org/apache/catalina/ha/authenticator/SingleSignOnMessage.java
(working copy)
@@ -71,7 +71,7 @@
      * @param member Member
      */
     public void setAddress(Member member) {
-	this.address = address;
+	this.address = member;
     }
 
     /**