-/**
+/*
* Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
}
private Port getPortFromInput(final UpdatePortInput input) {
- return input.getUpdatedPort().getPort().getPort().get(0);
+ return input.getUpdatedPort().getPort().nonnullPort().values().iterator().next();
}
}