Skip to content

Commit 7cf82ed

Browse files
committed
java doc
1 parent dbc9135 commit 7cf82ed

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/main/java/lsp/LSPUtils.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,10 @@ public LogisticChainElement build() {
217217
}
218218

219219
/**
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.
225224
*/
226225
public static LSPShipment findLspShipment(LSP lsp, Id<LSPShipment> shipmentId){
227226
for (LSPShipment lspShipment : lsp.getShipments()) {

0 commit comments

Comments
 (0)