com.atlassian.jira.user.util
Class UserNameEqualsUtil

java.lang.Object
  extended by com.atlassian.jira.user.util.UserNameEqualsUtil

public class UserNameEqualsUtil
extends Object

Simple class that will compare a user/user string/user combination, in a null safe way, to determine if the user names are equal.

Since:
v3.13

Constructor Summary
UserNameEqualsUtil()
           
 
Method Summary
 boolean equals(String user1Name, com.atlassian.crowd.embedded.api.User user2)
           
 boolean equals(String user1Name, User user2)
          Deprecated. Use equals(String, com.atlassian.crowd.embedded.api.User) instead. Since v4.3
 boolean equals(com.atlassian.crowd.embedded.api.User user1, com.atlassian.crowd.embedded.api.User user2)
           
 boolean equals(User user1, User user2)
          Deprecated. Use equals(com.atlassian.crowd.embedded.api.User, com.atlassian.crowd.embedded.api.User) instead. Since v4.3
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserNameEqualsUtil

public UserNameEqualsUtil()
Method Detail

equals

public boolean equals(String user1Name,
                      com.atlassian.crowd.embedded.api.User user2)

equals

public boolean equals(String user1Name,
                      User user2)
Deprecated. Use equals(String, com.atlassian.crowd.embedded.api.User) instead. Since v4.3


equals

public boolean equals(com.atlassian.crowd.embedded.api.User user1,
                      com.atlassian.crowd.embedded.api.User user2)

equals

public boolean equals(User user1,
                      User user2)
Deprecated. Use equals(com.atlassian.crowd.embedded.api.User, com.atlassian.crowd.embedded.api.User) instead. Since v4.3



Copyright © 2002-2011 Atlassian. All Rights Reserved.