()
| 461 | } |
| 462 | |
| 463 | public InetAddress getAddress(){ |
| 464 | if(mType == Type.ENDPOINT) |
| 465 | return mEndpoint.getAddress(); |
| 466 | |
| 467 | else if(mType == Type.REMOTE) |
| 468 | return mAddress; |
| 469 | |
| 470 | else |
| 471 | return null; |
| 472 | } |
| 473 | |
| 474 | public boolean equals(Target target){ |
| 475 | if(mType == target.getType()){ |
no outgoing calls
no test coverage detected