From 4d505da3d29457f902158fe3ec7e68753387de90 Mon Sep 17 00:00:00 2001 From: lynchuh <632955934@qq.com> Date: Wed, 25 May 2022 16:17:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=B8=80=E4=B8=AA=E7=B1=BB=E4=B8=AD?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E5=BC=95=E7=94=A8=E4=B8=8D=E5=90=8C=E5=8C=85?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E5=90=8C=E5=90=8D=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/github/hcsp/Home.java | 6 ++---- src/main/java/com/github/hcsp/pet1/Cat.java | 3 ++- src/main/java/com/github/hcsp/pet2/Cat.java | 4 +++- 3 files changed, 7 insertions(+), 6 deletions(-) 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 { + +}