This repository was archived by the owner on Dec 4, 2025. It is now read-only.
Commit fc30b26
committed
refactor: replace stream peek with forEach
Affected files:
- IRestDocTemplate.java
- JavadocDocBuildTemplate.java
- RpcDocBuildTemplate.java
Improved code clarity and performance by using forEach() instead of stream.peek() in the listed files.1 parent a3d8f86 commit fc30b26
3 files changed
Lines changed: 3 additions & 3 deletions
File tree
- src/main/java/com/ly/doc/template
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments