Skip to content

Commit

Permalink
feat: testing codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Dec 14, 2023
1 parent 12f70ce commit bef7d87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ public ResponseEntity<List<PartnerDto>> triggerPartnerProductStockUpdateForMater
if(!materialPattern.matcher(ownMaterialNumber).matches()) {
return new ResponseEntity<>(HttpStatusCode.valueOf(400));
}
ownMaterialNumber.replace("\n","");
ownMaterialNumber.replace("\r", "");
ownMaterialNumber.replace("|","");
ownMaterialNumber = ownMaterialNumber.replace("\n","");
ownMaterialNumber = ownMaterialNumber.replace("\r", "");
ownMaterialNumber = ownMaterialNumber.replace("|","");
Material materialEntity = materialService.findByOwnMaterialNumber(ownMaterialNumber);
log.info("Found material: " + (materialEntity != null) + " " + ownMaterialNumber);
List<Partner> allSupplierPartnerEntities = mprService.findAllSuppliersForOwnMaterialNumber(ownMaterialNumber);
Expand Down

0 comments on commit bef7d87

Please sign in to comment.