Skip to content

Commit

Permalink
fix(spotless) : format file
Browse files Browse the repository at this point in the history
  • Loading branch information
peachoenixzz committed Mar 23, 2024
1 parent afc824e commit b291713
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
5 changes: 1 addition & 4 deletions kbazaar/src/main/java/com/kampus/kbazaar/cart/Cart.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package com.kampus.kbazaar.cart;

import com.kampus.kbazaar.product.Product;
import lombok.Data;

import jakarta.persistence.EmbeddedId;
import jakarta.persistence.Entity;
import lombok.Getter;
Expand All @@ -19,4 +16,4 @@ public Cart(CartId cartId, Integer quantity) {
this.cartId = cartId;
this.quantity = quantity;
}
}
}
2 changes: 1 addition & 1 deletion kbazaar/src/main/java/com/kampus/kbazaar/cart/CartId.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public CartId(Long shopper_id, Long product_id) {
this.shopper_id = shopper_id;
this.product_id = product_id;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@
import org.springframework.stereotype.Repository;

@Repository
public interface CartRepository extends JpaRepository<Cart, CartId> {

}
public interface CartRepository extends JpaRepository<Cart, CartId> {}
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ public CartService(CartRepository cartRepository) {
public String deleteCartItem(String username, String product_sku) {
return "deleteL: " + username + product_sku;
}
}
}

0 comments on commit b291713

Please sign in to comment.