File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -217,11 +217,10 @@ public LogisticChainElement build() {
217
217
}
218
218
219
219
/**
220
- * Gives back the LspShipment object of the LSP, which matches to the shipmentId
221
- * TODO: This is a workaround. In future it is maybe useful, that the LSP contains a map instead if a Collection to store its shipments.
222
- * @param lsp
223
- * @param shipmentId
224
- * @return The lspShipment object.
220
+ * Gives back the {@link LSPShipment} object of the {@link LSP}, which matches to the shipmentId
221
+ * @param lsp In this LSP this method tries to find the shipment.
222
+ * @param shipmentId Id of the shipment that should be found.
223
+ * @return the lspShipment object or null, if it is not found.
225
224
*/
226
225
public static LSPShipment findLspShipment (LSP lsp , Id <LSPShipment > shipmentId ){
227
226
for (LSPShipment lspShipment : lsp .getShipments ()) {
You can’t perform that action at this time.
0 commit comments