merge data from this port to another @param other
(Port other)
| 136 | * @param other |
| 137 | */ |
| 138 | public void mergeTo(Port other) { |
| 139 | if(service != null && !service.equals(other.service)) { |
| 140 | other.service = service; |
| 141 | } |
| 142 | if(version != null && !version.equals(other.version)) { |
| 143 | other.version = version; |
| 144 | } |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | public static class Exploit { |