portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed/src/java/org/apache/jetspeed/om/security UserNamePrincipal.java
Date Tue, 11 Feb 2003 20:30:58 GMT
taylor      2003/02/11 12:30:58

  Modified:    src/java/org/apache/jetspeed/om/security
                        UserNamePrincipal.java
  Log:
  Bug fix: 16942 - UserNamePrincipal.equals had wrong comparison
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/UserNamePrincipal.java
  
  Index: UserNamePrincipal.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/java/org/apache/jetspeed/om/security/UserNamePrincipal.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UserNamePrincipal.java	28 Jun 2002 05:37:31 -0000	1.2
  +++ UserNamePrincipal.java	11 Feb 2003 20:30:58 -0000	1.3
  @@ -83,9 +83,9 @@
        */
       public boolean equals(Object another)
       {
  -        if (!(another instanceof UserIdPrincipal))
  +        if (!(another instanceof UserNamePrincipal))
               return false;
  -        UserIdPrincipal principal = (UserIdPrincipal)another;
  +        UserNamePrincipal principal = (UserNamePrincipal)another;
           return this.getName().equals(principal.getName());
       }
   
  
  
  

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


Mime
View raw message