Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在my.cute创建了Cat类。 #158

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/whitelist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/main/java/my/cute/Cat.java
src/main/java/my/cute/my.cute.Cat.java
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Java程序的基本结构练习:在指定的包中创建一个类

请在`my.cute`包中(即`src/main/java/my/cute`目录中)创建一个名为`Cat`的<ruby>公开类<rt>public class</rt></ruby>。在提交Pull Request之前,你应当在本地确保所有代码已经编译通过,并且通过了测试(`mvn clean test`)
请在`my.cute`包中(即`src/main/java/my/cute`目录中)创建一个名为`my.cute.Cat`的<ruby>公开类<rt>public class</rt></ruby>。在提交Pull Request之前,你应当在本地确保所有代码已经编译通过,并且通过了测试(`mvn clean test`)

-----
注意!我们只允许你修改以下文件,对其他文件的修改会被拒绝:
- [src/main/java/my/cute/Cat.java](https://github.com/hcsp/create-an-empty-class-in-package/blob/master/src/main/java/my/cute/Cat.java)
- [src/main/java/my/cute/my.cute.Cat.java](https://github.com/hcsp/create-an-empty-class-in-package/blob/master/src/main/java/my/cute/Cat.java)
-----


Expand Down
4 changes: 4 additions & 0 deletions src/main/java/my/cute/Cat.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package my.cute;

public class Cat {
}