diff --git a/src/main/java/com/github/hcsp/Home.java b/src/main/java/com/github/hcsp/Home.java index 3146268..aa5798a 100644 --- a/src/main/java/com/github/hcsp/Home.java +++ b/src/main/java/com/github/hcsp/Home.java @@ -1,9 +1,7 @@ package com.github.hcsp; -import com.github.hcsp.pet1.Cat; -import com.github.hcsp.pet2.Cat; public class Home { - Cat cat1; - Cat cat2; + com.github.hcsp.pet1.Cat cat1; + com.github.hcsp.pet2.Cat cat2; } diff --git a/src/main/java/com/github/hcsp/pet1/Cat.java b/src/main/java/com/github/hcsp/pet1/Cat.java index 4adfa9f..782f19b 100644 --- a/src/main/java/com/github/hcsp/pet1/Cat.java +++ b/src/main/java/com/github/hcsp/pet1/Cat.java @@ -1,3 +1,4 @@ package com.github.hcsp.pet1; -public class Cat {} +public class Cat { +} diff --git a/src/main/java/com/github/hcsp/pet2/Cat.java b/src/main/java/com/github/hcsp/pet2/Cat.java index 58fea11..d1ea1b3 100644 --- a/src/main/java/com/github/hcsp/pet2/Cat.java +++ b/src/main/java/com/github/hcsp/pet2/Cat.java @@ -1,3 +1,5 @@ package com.github.hcsp.pet2; -public class Cat {} +public class Cat { + +}