geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/security/src/java/org/apache/geronimo/security IdentificationPrincipal.java
Date Sun, 13 Jun 2004 16:52:29 GMT
adc         2004/06/13 09:52:29

  Modified:    modules/security/src/java/org/apache/geronimo/security
                        IdentificationPrincipal.java
  Log:
  Should use equals not ==
  
  Revision  Changes    Path
  1.4       +2 -2      incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/IdentificationPrincipal.java
  
  Index: IdentificationPrincipal.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/IdentificationPrincipal.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- IdentificationPrincipal.java	25 Feb 2004 09:58:08 -0000	1.3
  +++ IdentificationPrincipal.java	13 Jun 2004 16:52:29 -0000	1.4
  @@ -50,7 +50,7 @@
   
           IdentificationPrincipal idPrincipal = (IdentificationPrincipal) another;
   
  -        return id == idPrincipal.id;
  +        return id.equals(idPrincipal.id);
       }
   
       /**
  
  
  

Mime
View raw message