Skip to content

Commit

Permalink
format the code as per the google checkstyle (iluwatar#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergejsvisockis committed Apr 15, 2024
1 parent fedbb99 commit 8940396
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions active-record/src/main/java/com/iluwatar/activerecord/Customer.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class Customer {

private Long id;
private String customerNumber;
private String firstName;
private String lastName;
private List<Order> orders;
private Long id;
private String customerNumber;
private String firstName;
private String lastName;
private List<Order> orders;

public Customer findById(Long id) {
return new Customer();
}
public Customer findById(Long id) {
return new Customer();
}

public Customer findByNumber(String customerNumber) {
return new Customer();
}
public Customer findByNumber(String customerNumber) {
return new Customer();
}

public List<Customer> findAll() {
return List.of();
}
public List<Customer> findAll() {
return List.of();
}

public void save(Customer customer) {
public void save(Customer customer) {

}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
@AllArgsConstructor
public class Order {

private Long id;
private String orderNumber;
private Long id;
private String orderNumber;
}

0 comments on commit 8940396

Please sign in to comment.