Bug 41703 - Variable assigned with it's own value.
Summary: Variable assigned with it's own value.
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: unspecified
Hardware: Other All
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
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;
     }
 
     /**