| Conditions | 7 |
| Total Lines | 15 |
| Code Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | package it.cnr.istc.pst.cognition.koala.reasoner.observation; |
||
| 75 | @Override |
||
| 76 | public boolean equals(Object obj) { |
||
| 77 | if (this == obj) |
||
| 78 | return true; |
||
| 79 | if (obj == null) |
||
| 80 | return false; |
||
| 81 | if (getClass() != obj.getClass()) |
||
| 82 | return false; |
||
| 83 | ObservationReasonerUpdate other = (ObservationReasonerUpdate) obj; |
||
| 84 | if (eventId == null) { |
||
| 85 | if (other.eventId != null) |
||
| 86 | return false; |
||
| 87 | } else if (!eventId.equals(other.eventId)) |
||
| 88 | return false; |
||
| 89 | return true; |
||
| 90 | } |
||
| 100 |