version 1.1, 1999/04/21 16:07:06
|
version 1.2, 1999/04/23 14:06:46
|
Line 28 public class HTTPPermission implements P
|
Line 28 public class HTTPPermission implements P
|
public boolean equals(Object another) { |
public boolean equals(Object another) { |
if (another instanceof HTTPPermission) { |
if (another instanceof HTTPPermission) { |
return method.equals(((HTTPPermission)another).getMethod()); |
return method.equals(((HTTPPermission)another).getMethod()); |
|
} else { |
|
return method.equals(another.toString()); |
} |
} |
return false; |
|
} |
} |
|
|
public String toString() { |
public String toString() { |