File tree Expand file tree Collapse file tree 3 files changed +7
-14
lines changed
Expand file tree Collapse file tree 3 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 77 "id": "8f4112296b480386",
88 "type": "leaf",
99 "state": {
10- "type": "markdown",
11- "state": {
12- "file": "中间件/MongoDB/MongoDB快速上手.md",
13- "mode": "source",
14- "source": false
15- }
10+ "type": "empty",
11+ "state": {}
1612 }
1713 }
1814 ],
7773 "state": {
7874 "type": "backlink",
7975 "state": {
80- "file": "中间件/MongoDB/MongoDB快速上手.md",
8176 "collapseAll": false,
8277 "extraContext": false,
8378 "sortOrder": "alphabetical",
9489 "state": {
9590 "type": "outgoing-link",
9691 "state": {
97- "file": "中间件/MongoDB/MongoDB快速上手.md",
9892 "linksCollapsed": false,
9993 "unlinkedCollapsed": true
10094 }
116110 "type": "leaf",
117111 "state": {
118112 "type": "outline",
119- "state": {
120- "file": "中间件/MongoDB/MongoDB快速上手.md"
121- }
113+ "state": {}
122114 }
123115 }
124116 ],
131123 "active": "8f4112296b480386",
132124 "lastOpenFiles": [
133125 "java/阿里开发手册笔记.md",
126+ "中间件/MongoDB/MongoDB快速上手.md",
134127 "java/Java8新特性.md",
135128 "java/Java8 LocalDataTime String互转格式报错.md",
136129 "java/Java AIO&BIO&NIO学习.md",
137130 "java/Swagger学习及knife4j学习.md",
138131 "java/多线程学习/多线程学习六、Java并发编程三大特征:原子性、可见性、有序性以及volatile保证可见性分析进一步分析.md",
139132 "软件工程/DevOps.md",
140133 "Linux/Linux常用命令.md",
141- "AlgorithmAndDataStructure/算法/5-递归.md",
142- "SpringCloud/黑马SpringCloud-阿里巴巴/Centos7安装Docker.md"
134+ "AlgorithmAndDataStructure/算法/5-递归.md"
143135 ]
144136}
Original file line number Diff line number Diff line change @@ -164,4 +164,5 @@ public class Test {
164164- 远程调用返回对象时,一律要求进行空指针判断,防止 NPE 。
165165- 对于 Session 中获取的数据,建议进行 NPE 检查,避免空指针。
166166- 级联调用 obj. getA(). getB(). getC();一连串调用,易产生 NPE 。
167- 正例:使用 JDK8 的 Optional 类来防止 NPE 问题。
167+ 正例:使用 JDK8 的 Optional 类来防止 NPE 问题。
168+
You can’t perform that action at this time.
0 commit comments