Commit ea2e121
committed
[ISSUE #14815] build(style): align Checkstyle with Spotless and enable spotless:check in CI
- Change lineWrappingIndentation from 0 to 4 to match continuation_indentation=1
- Change arrayInitIndent from 8 to 4 to match continuation_indentation_for_array_initializer=1
- Remove all // @Formatter:off/on workarounds (no longer needed)
- Re-format modules affected by continuation_indentation_for_array_initializer change
- Add checkstyle:check and spotless:check to CI check step
Signed-off-by: cxhello <caixiaohuichn@gmail.com>1 parent 6271307 commit ea2e121
569 files changed
Lines changed: 5732 additions & 4488 deletions
File tree
- .github/workflows
- ai-registry-adaptor/src/main/java/com/alibaba/nacos/airegistry/controller
- ai/src
- main/java/com/alibaba/nacos/ai/service/repository
- test/java/com/alibaba/nacos/ai
- pipeline
- repository
- service/pipeline
- storage
- api/src
- main/java/com/alibaba/nacos/api
- ability
- constant
- initializer
- register/impl
- ai
- constant
- listener
- model
- a2a
- agentspecs
- mcp
- registry
- prompt
- skills
- remote/request
- annotation
- common
- config
- ability
- annotation
- filter
- listener
- remote
- request
- cluster
- response
- exception
- api
- runtime
- lock
- remote/response
- model
- response
- v2
- naming
- ability
- listener
- pojo
- healthcheck
- maintainer
- remote
- request
- response
- selector
- utils
- plugin
- remote
- ability
- request
- response
- selector
- context
- utils
- test/java/com/alibaba/nacos
- api
- ability
- register/impl
- ai
- constant
- listener
- model
- a2a
- agentspecs
- mcp
- registry
- prompt
- skills
- remote
- request
- response
- annotation
- cmdb/pojo
- config
- ability
- listener
- model
- remote
- request
- cluster
- response
- cluster
- exception
- api
- runtime
- lock
- model
- remote
- request
- response
- model
- response
- v2
- naming
- ability
- listener
- pojo
- builder
- healthcheck
- impl
- maintainer
- remote
- request
- response
- utils
- plugin
- remote
- ability
- request
- response
- selector
- context
- utils
- client
- ai
- config
- lock
- naming
- client-basic/src
- main/java/com/alibaba/nacos/client/auth/ram/utils
- test/java/com/alibaba/nacos/client/auth/oidc
- client/src
- main/java/com/alibaba/nacos/client
- ai/event
- config/utils
- naming
- event
- selector
- test/java/com/alibaba/nacos/client/ai
- remote
- utils
- common/src/main/java/com/alibaba/nacos/common
- codec
- utils
- config/src
- main/java/com/alibaba/nacos/config/server
- service
- dump
- repository/embedded
- test/java/com/alibaba/nacos/config/server/service/repository
- embedded
- extrnal
- consistency/src/test/java/com/alibaba/nacos/consistency
- console/src/main/java/com/alibaba/nacos
- console
- aot
- controller/v3/config
- core/src
- main/java/com/alibaba/nacos/core/cluster
- test/java/com/alibaba/nacos/core
- distributed/raft
- monitor/topn
- logger-adapter-impl
- log4j2-adapter/src
- main/java/com/alibaba/nacos/logger/adapter/log4j2
- test/java/com/alibaba/nacos/logger/adapter/log4j2
- logback-adapter-12/src
- main/java/com/alibaba/nacos/logger/adapter/logback12
- test/java/com/alibaba/nacos/logger/adapter/logback12
- naming/src/main/java/com/alibaba/nacos/naming/controllers
- plugin-default-impl
- nacos-default-ai-pipeline-plugin/src/main/java/com/alibaba/nacos/plugin/ai/pipeline/spi/impl
- nacos-default-auth-plugin/src/main/java/com/alibaba/nacos/plugin/auth/impl
- configuration/autoconfiguration
- controller/v3
- nacos-default-datasource-plugin
- nacos-datasource-plugin-base/src
- main/java/com/alibaba/nacos/plugin/datasource/impl
- base
- dialect
- enums
- test/java/com/alibaba/nacos/plugin/datasource
- mapper
- nacos-datasource-plugin-derby/src
- main/java/com/alibaba/nacos/plugin/datasource/impl
- derby
- dialect
- enums/derby
- test/java/com/alibaba/nacos/plugin/datasource/impl
- derby
- enums/derby
- nacos-datasource-plugin-mysql/src
- main/java/com/alibaba/nacos/plugin/datasource/impl
- dialect
- enums/mysql
- mysql
- test/java/com/alibaba/nacos/plugin/datasource/impl
- enums/mysql
- mysql
- nacos-datasource-plugin-oracle/src
- main/java/com/alibaba/nacos/plugin/datasource/impl
- dialect
- enums/oracle
- oracle
- test/java/com/alibaba/nacos/plugin/datasource/impl
- enums/oracle
- oracle
- nacos-datasource-plugin-postgresql/src
- main/java/com/alibaba/nacos/plugin/datasource/impl
- dialect
- enums/postgresql
- postgresql
- test/java/com/alibaba/nacos/plugin/datasource/impl
- enums/postgresql
- postgresql
- plugin/config/src/test/java/com/alibaba/nacos/plugin/config
- server/src/main/java/com/alibaba/nacos
- style
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
109 | | - | |
110 | 107 | | |
111 | | - | |
112 | | - | |
| 108 | + | |
| 109 | + | |
113 | 110 | | |
114 | | - | |
115 | 111 | | |
116 | 112 | | |
117 | 113 | | |
| |||
135 | 131 | | |
136 | 132 | | |
137 | 133 | | |
138 | | - | |
139 | 134 | | |
140 | | - | |
141 | | - | |
| 135 | + | |
| 136 | + | |
142 | 137 | | |
143 | | - | |
144 | 138 | | |
145 | 139 | | |
146 | 140 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
ai/src/main/java/com/alibaba/nacos/ai/service/repository/EmbeddedAiResourcePersistServiceImpl.java
Lines changed: 12 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
150 | | - | |
151 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
| 448 | + | |
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
0 commit comments