Skip to content

Commit eea8a91

Browse files
author
AmiyahJo
committed
fix: sentence fix (remove a period)
1 parent 4afa255 commit eea8a91

File tree

1 file changed

+1
-1
lines changed
  • lesson_14/exceptions/exceptions_app/src/main/java/com/codedifferently/lesson14/ecommerce

1 file changed

+1
-1
lines changed

lesson_14/exceptions/exceptions_app/src/main/java/com/codedifferently/lesson14/ecommerce/EcommerceSystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public void addProduct(String productId, String name) {
2020
public String placeOrder(String productId, int quantity) throws ProductNotFoundException {
2121
Product product = products.get(productId);
2222
if (product == null) {
23-
throw new ProductNotFoundException("Product with ID " + productId + " not found.");
23+
throw new ProductNotFoundException("Product with ID " + productId + " not found");
2424
}
2525
String orderId = UUID.randomUUID().toString();
2626
orders.put(orderId, new Order(orderId, product, quantity));

0 commit comments

Comments
 (0)