Skip to content

Commit b8fbab2

Browse files
github-actionsgithub-actions
github-actions
authored and
github-actions
committed
Formatted with Google Java Formatter
1 parent 682c74b commit b8fbab2

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

accessing-data-mysql/src/main/java/com/examplehub/accessingdatamysql/User.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
@Entity // This tells Hibernate to make a table out of this class
99
public class User {
1010
@Id
11-
@GeneratedValue(strategy=GenerationType.AUTO)
11+
@GeneratedValue(strategy = GenerationType.AUTO)
1212
private Integer id;
1313

1414
private String name;
@@ -38,4 +38,4 @@ public String getEmail() {
3838
public void setEmail(String email) {
3939
this.email = email;
4040
}
41-
}
41+
}

accessing-data-mysql/src/main/java/com/examplehub/accessingdatamysql/UserRepository.java

+1-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
import org.springframework.data.repository.CrudRepository;
44

5-
65
// This will be AUTO IMPLEMENTED by Spring into a Bean called userRepository
76
// CRUD refers Create, Read, Update, Delete
87

9-
public interface UserRepository extends CrudRepository<User, Integer> {
10-
11-
}
8+
public interface UserRepository extends CrudRepository<User, Integer> {}

accessing-data-mysql/src/test/java/com/examplehub/accessingdatamysql/AccessingDataJpaApplicationTests.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
@SpringBootTest
77
class AccessingDataJpaApplicationTests {
88

9-
@Test
10-
void contextLoads() {
11-
}
12-
9+
@Test
10+
void contextLoads() {}
1311
}

runner/src/test/java/com/examplehub/runner/RunnerApplicationTests.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
@SpringBootTest
77
class RunnerApplicationTests {
88

9-
@Test
10-
void contextLoads() {
11-
}
12-
9+
@Test
10+
void contextLoads() {}
1311
}

0 commit comments

Comments
 (0)