(Object obj)
| 57 | } |
| 58 | |
| 59 | @Override |
| 60 | public boolean equals(Object obj) { |
| 61 | if (this == obj) { |
| 62 | return true; |
| 63 | } |
| 64 | if (obj == null) { |
| 65 | return false; |
| 66 | } |
| 67 | if (getClass() != obj.getClass()) { |
| 68 | return false; |
| 69 | } |
| 70 | Status other = (Status) obj; |
| 71 | if (description == null) { |
| 72 | if (other.description != null) { |
| 73 | return false; |
| 74 | } |
| 75 | } else if (!description.equals(other.description)) { |
| 76 | return false; |
| 77 | } |
| 78 | if (name == null) { |
| 79 | if (other.name != null) { |
| 80 | return false; |
| 81 | } |
| 82 | } else if (!name.equals(other.name)) { |
| 83 | return false; |
| 84 | } |
| 85 | return true; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Is {@code this} a passing state for the operation: {@link Status#OK} or {@link Status#BATCHED_OK}. |
no outgoing calls