Skip to content

Commit fecb422

Browse files
committed
update docs
1 parent 7db6b64 commit fecb422

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+360
-399
lines changed

.editorconfig

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
1-
# EditorConfig helps developers define and maintain consistent
2-
# coding styles between different editors and IDEs
3-
# http://editorconfig.org
4-
# 所有文件换行使用 Unix like 风格(LF),bat 文件使用 win 风格(CRLF)
5-
# 缩进 java 4 个空格,其他所有文件 2 个空格
1+
# EditorConfig 用于在 IDE 中检查代码的基本 Code Style
2+
# @see: https://editorconfig.org/
3+
4+
# 配置说明:
5+
# 所有文件换行使用 Unix 风格(LF),*.bat 文件使用 Windows 风格(CRLF)
6+
# java / sh 文件缩进 4 个空格,其他所有文件缩进 2 个空格
67

78
root = true
89

910
[*]
10-
# Unix-style newlines with a newline ending every file
1111
end_of_line = lf
12-
13-
# Change these settings to your own preference
1412
indent_size = 2
15-
indent_style = space
13+
indent_style = tab
1614
max_line_length = 120
17-
18-
# We recommend you to keep these unchanged
1915
charset = utf-8
2016
trim_trailing_whitespace = true
2117
insert_final_newline = true
2218

23-
[*.bat]
19+
[*.{bat, cmd}]
2420
end_of_line = crlf
2521

26-
[*.java]
22+
[*.{java, groovy, kt, sh}]
2723
indent_size = 4
2824

2925
[*.md]

.gitignore

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
1-
################ JAVA ################
2-
# temp folders
1+
# ---------------------------------------------------------------------
2+
# more gitignore templates see https://github.com/github/gitignore
3+
# ---------------------------------------------------------------------
4+
5+
# ------------------------------- java -------------------------------
6+
# compiled folders
37
classes
48
target
59
logs
10+
.mtj.tmp/
611

7-
# temp files
12+
# compiled files
813
*.class
14+
15+
# bluej files
16+
*.ctxt
17+
18+
# package files #
919
*.jar
1020
*.war
11-
*.versionsBackup
21+
*.nar
22+
*.ear
23+
*.zip
24+
*.tar.gz
25+
*.rar
26+
27+
# virtual machine crash logs
28+
hs_err_pid*
29+
30+
# maven plugin temp files
31+
.flattened-pom.xml
1232

1333

14-
################ JAVASCRIPT ################
34+
# ------------------------------- javascript -------------------------------
1535
# dependencies
1636
node_modules
1737

@@ -29,11 +49,11 @@ yarn-error.log*
2949
bundle*.js
3050

3151

32-
################ IDEA ################
52+
# ------------------------------- intellij -------------------------------
3353
.idea
3454
*.iml
3555

3656

37-
################ Eclipse ################
57+
# ------------------------------- eclipse -------------------------------
3858
.classpath
3959
.project

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JavaCore
22

3-
> :coffee: JavaCore 是对 Java 核心技术的经验总结。
3+
> JavaCore 是对 Java 核心技术的经验总结。
44
>
55
> - 🔁 项目同步维护:[Github](https://github.com/dunwu/javacore/) | [Gitee](https://gitee.com/turnon/javacore/)
66
> - 📖 电子书阅读:[Github Pages](https://dunwu.github.io/javacore/) | [Gitee Pages](http://turnon.gitee.io/javacore/)
@@ -73,7 +73,7 @@
7373

7474
> [Java 虚拟机](docs/jvm) 记录了 JVM 的基本机制。
7575
76-
- [第一章 运行时数据区域](docs/jvm/运行时数据区域.md)
76+
- [第一章 运行时数据区域](docs/jvm/jvm-memory.md)
7777
- [第二章 垃圾收集](docs/jvm/jvm-gc.md)
7878
- [第三章 类加载机制](docs/jvm/jvm-class-loader.md)
7979
- [第四章 JVM 调优](docs/jvm/jvm-performance.md)

docs/.nojekyll

Whitespace-only changes.

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JavaCore
22

3-
> :coffee: JavaCore 是对 Java 核心技术的经验总结。
3+
> JavaCore 是对 Java 核心技术的经验总结。
44
>
55
> - 🔁 项目同步维护:[Github](https://github.com/dunwu/javacore) | [Gitee](https://gitee.com/turnon/javacore)
66
> - 📖 电子书阅读:[Github Pages](https://dunwu.github.io/javacore/) | [Gitee Pages](http://turnon.gitee.io/javacore)

docs/advanced/Java8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> JDK8 升级常见问题章节是我个人的经验整理。其他内容基本翻译自 [java8-tutorial](https://github.com/winterbe/java8-tutorial)
44
>
5-
> :notebook: 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
5+
> 📓 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
66
77
<!-- TOC depthFrom:2 depthTo:2 -->
88

docs/advanced/Java本地化.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Java 本地化
22

3-
> :notebook: 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
3+
> 📓 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
44
55
<!-- TOC depthFrom:2 depthTo:3 -->
66

docs/advanced/Java正则.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Java 正则
22

3-
> :notebook: 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
3+
> 📓 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
44
55
<!-- TOC depthFrom:2 depthTo:3 -->
66

docs/advanced/Java编码和加密.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Java 编码和加密
22

3-
> :notebook: 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
3+
> 📓 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
44
55
<!-- TOC depthFrom:2 depthTo:3 -->
66

docs/basics/Java反射.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# 深入理解 Java 反射和动态代理
22

3-
> :notebook: 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
3+
> 📓 本文已归档到:「[javacore](https://github.com/dunwu/javacore)
44
>
5-
> :keyboard: 本文中的示例代码已归档到:「[javacore](https://github.com/dunwu/javacore/tree/master/codes/basics/src/main/java/io/github/dunwu/javacore/reflect)
5+
> 🔁 本文中的示例代码已归档到:「[javacore](https://github.com/dunwu/javacore/tree/master/codes/javacore-basics/src/main/java/io/github/dunwu/javacore/reflect)
66
77
<!-- TOC depthFrom:2 depthTo:3 -->
88

0 commit comments

Comments
 (0)