java中public类名必须跟文件名一致,将不一致的StackBasedOnLinkedList修改成一致;在.gitignore中配置IntelliJ idea项目配置相关文件。

This commit is contained in:
Jerry Luo 2019-04-15 20:20:27 +08:00
parent 02cfee487e
commit 1d21c00144
No known key found for this signature in database
GPG Key ID: 54F89CE0464FFA9D
2 changed files with 6 additions and 2 deletions

6
.gitignore vendored
View File

@ -44,4 +44,8 @@ bld/
[Ll]og/
# Visual Studio 2015/2017 cache/options directory
.vs/
.vs/
**/*.idea
**/*.iml
**/*out

View File

@ -5,7 +5,7 @@ package stack;
*
* Author: Zheng
*/
public class StackBasedLinkedList {
public class StackBasedOnLinkedList {
private Node top = null;
public void push(int value) {