Skip to content

Commit c923e67

Browse files
authored
pre-commit: add XML files to the trailing-whitespace check (apache#9131)
1 parent cea4801 commit c923e67

File tree

179 files changed

+3335
-3339
lines changed

Some content is hidden

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

179 files changed

+3335
-3339
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
- id: mixed-line-ending
6060
exclude: \.(cs|xml)$
6161
- id: trailing-whitespace
62-
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|yaml|yml)$
62+
files: \.(header|in|java|md|properties|py|rb|sh|sql|txt|vue|xml|yaml|yml)$
6363
args: [--markdown-linebreak-ext=md]
6464
exclude: ^services/console-proxy/rdpconsole/src/test/doc/freerdp-debug-log\.txt$
6565
- repo: https://github.com/pycqa/flake8

api/src/main/resources/META-INF/cloudstack/api-config/spring-api-config-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
>
2929

3030
<bean id="apiServiceConfiguration" class="org.apache.cloudstack.config.ApiServiceConfiguration" />
31-
31+
3232
</beans>

api/src/main/resources/META-INF/cloudstack/api-planner/spring-api-planner-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
<bean id="UserDispersingPlanner" class="com.cloud.deploy.UserDispersingPlanner">
3131
<property name="name" value="UserDispersingPlanner" />
3232
</bean>
33-
33+
3434
</beans>

client/src/main/resources/META-INF/cloudstack/webApplicationContext.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2626
http://www.springframework.org/schema/context
2727
http://www.springframework.org/schema/context/spring-context.xsd"
28-
>
28+
>
2929

3030
<!-- There is no reason to put anything here -->
3131

core/src/main/resources/META-INF/cloudstack/allocator/spring-core-allocator-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
2929
http://www.springframework.org/schema/context/spring-context.xsd"
30-
>
30+
>
3131

3232
<bean id="usageEventUtils" class="com.cloud.event.UsageEventUtils" />
3333

core/src/main/resources/META-INF/cloudstack/allocator/spring-core-lifecycle-allocator-context-inheritable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
2828
http://www.springframework.org/schema/context
2929
http://www.springframework.org/schema/context/spring-context.xsd"
30-
>
30+
>
3131

3232
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
3333
<property name="registry" ref="hostAllocatorsRegistry" />

core/src/main/resources/META-INF/cloudstack/api/spring-core-lifecycle-api-context-inheritable.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@
6262
<property name="registry" ref="apiAclCheckersRegistry" />
6363
<property name="typeClass" value="org.apache.cloudstack.acl.APIAclChecker" />
6464
</bean>
65-
65+
6666
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
6767
<property name="registry" ref="querySelectorsRegistry" />
6868
<property name="typeClass" value="org.apache.cloudstack.acl.QuerySelector" />
6969
</bean>
70-
70+
7171
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
7272
<property name="registry" ref="userPasswordEncodersRegistry" />
7373
<property name="typeClass" value="org.apache.cloudstack.auth.UserAuthenticator" />

core/src/main/resources/META-INF/cloudstack/core/spring-core-registry-core-context.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
<bean class="org.apache.cloudstack.spring.lifecycle.registry.DumpRegistry" >
263263
<property name="registries" value="#{registryRegistry.registered}" />
264264
</bean>
265-
265+
266266
<bean id="registryRegistry"
267267
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
268268
</bean>
@@ -276,11 +276,11 @@
276276
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
277277
<property name="excludeKey" value="api.checkers.acl.exclude" />
278278
</bean>
279-
279+
280280
<bean id="querySelectorsRegistry"
281281
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">
282282
<property name="excludeKey" value="query.selectors.exclude" />
283-
</bean>
283+
</bean>
284284

285285
<bean id="apiCommandsRegistry"
286286
class="org.apache.cloudstack.spring.lifecycle.registry.ExtensionRegistry">

core/src/main/resources/META-INF/cloudstack/network/spring-core-lifecycle-network-context-inheritable.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
<property name="typeClass"
9393
value="com.cloud.network.element.Site2SiteVpnServiceProvider" />
9494
</bean>
95-
95+
9696
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
9797
<property name="registry" ref="remoteAccessVPNServiceProviderRegistry" />
9898
<property name="typeClass"

core/src/main/resources/META-INF/cloudstack/storage/spring-lifecycle-storage-context-inheritable.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<property name="typeClass" value="com.cloud.template.TemplateAdapter" />
5353
</bean>
5454

55-
55+
5656
<bean class="org.apache.cloudstack.spring.lifecycle.registry.RegistryLifecycle">
5757
<property name="registry" ref="podAllocatorsRegistry" />
5858
<property name="typeClass"
@@ -76,7 +76,7 @@
7676
<property name="typeClass"
7777
value="org.apache.cloudstack.engine.subsystem.api.storage.DataMotionStrategy" />
7878
</bean>
79-
8079

81-
80+
81+
8282
</beans>

0 commit comments

Comments
 (0)