(Place other)
| 74 | } |
| 75 | |
| 76 | public Place setTo(Place other) { |
| 77 | if (other == null) { |
| 78 | return this; |
| 79 | } |
| 80 | if (!other.displayName.isEmpty()) { |
| 81 | this.displayName = other.displayName; |
| 82 | } |
| 83 | this.start.setTo(other.start); |
| 84 | this.end.setTo(other.end); |
| 85 | return this; |
| 86 | } |
| 87 | |
| 88 | public boolean correctCoordinates() { |
| 89 | boolean changed = Position.bringInOrder(this.start, this.end); |
no outgoing calls
no test coverage detected