Compare commits
No commits in common. "9a77e9149bd206c0c6ad57181fd508c7398945e1" and "601e040edd7c084781794548f102851cbab502b8" have entirely different histories.
9a77e9149b
...
601e040edd
1 changed files with 0 additions and 18 deletions
|
|
@ -4,24 +4,6 @@ import java.net.*;
|
|||
|
||||
public abstract class User {
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (this == obj)
|
||||
return true;
|
||||
if (obj == null)
|
||||
return false;
|
||||
if (getClass() != obj.getClass())
|
||||
return false;
|
||||
User other = (User) obj;
|
||||
if (addIP == null) {
|
||||
if (other.addIP != null)
|
||||
return false;
|
||||
} else if (!addIP.equals(other.addIP))
|
||||
return false;
|
||||
if (portTCP != other.portTCP)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
/*** ATTRIBUTS ***/
|
||||
protected String pseudo;
|
||||
protected InetAddress addIP;
|
||||
|
|
|
|||
Loading…
Reference in a new issue