Skip to content

Commit 656b441

Browse files
authored
maintenance: Update Spacing of XML (iluwatar#1864)
PR Set 2 of 4
1 parent 37d9ff3 commit 656b441

File tree

44 files changed

+973
-1108
lines changed

Some content is hidden

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

44 files changed

+973
-1108
lines changed

delegation/pom.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,14 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2927
<parent>
3028
<artifactId>java-design-patterns</artifactId>
3129
<groupId>com.iluwatar</groupId>
3230
<version>1.25.0-SNAPSHOT</version>
3331
</parent>
3432
<modelVersion>4.0.0</modelVersion>
35-
3633
<artifactId>delegation</artifactId>
37-
3834
<dependencies>
3935
<dependency>
4036
<groupId>org.junit.jupiter</groupId>

dependency-injection/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

dirty-flag/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

domain-model/pom.xml

Lines changed: 48 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -23,56 +23,51 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
29-
<parent>
30-
<artifactId>java-design-patterns</artifactId>
31-
<groupId>com.iluwatar</groupId>
32-
<version>1.25.0-SNAPSHOT</version>
33-
</parent>
34-
<modelVersion>4.0.0</modelVersion>
35-
36-
<artifactId>domain-model</artifactId>
37-
38-
<dependencies>
39-
<dependency>
40-
<groupId>com.h2database</groupId>
41-
<artifactId>h2</artifactId>
42-
</dependency>
43-
<dependency>
44-
<groupId>org.junit.jupiter</groupId>
45-
<artifactId>junit-jupiter-engine</artifactId>
46-
<scope>test</scope>
47-
</dependency>
48-
<dependency>
49-
<groupId>org.mockito</groupId>
50-
<artifactId>mockito-core</artifactId>
51-
</dependency>
52-
<dependency>
53-
<groupId>org.joda</groupId>
54-
<artifactId>joda-money</artifactId>
55-
<version>1.0.1</version>
56-
</dependency>
57-
</dependencies>
58-
<build>
59-
<plugins>
60-
<plugin>
61-
<groupId>org.apache.maven.plugins</groupId>
62-
<artifactId>maven-assembly-plugin</artifactId>
63-
<executions>
64-
<execution>
65-
<configuration>
66-
<archive>
67-
<manifest>
68-
<mainClass>com.iluwatar.domainmodel.App</mainClass>
69-
</manifest>
70-
</archive>
71-
</configuration>
72-
</execution>
73-
</executions>
74-
</plugin>
75-
</plugins>
76-
</build>
77-
78-
</project>
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27+
<parent>
28+
<artifactId>java-design-patterns</artifactId>
29+
<groupId>com.iluwatar</groupId>
30+
<version>1.25.0-SNAPSHOT</version>
31+
</parent>
32+
<modelVersion>4.0.0</modelVersion>
33+
<artifactId>domain-model</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>com.h2database</groupId>
37+
<artifactId>h2</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<scope>test</scope>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.mockito</groupId>
46+
<artifactId>mockito-core</artifactId>
47+
</dependency>
48+
<dependency>
49+
<groupId>org.joda</groupId>
50+
<artifactId>joda-money</artifactId>
51+
<version>1.0.1</version>
52+
</dependency>
53+
</dependencies>
54+
<build>
55+
<plugins>
56+
<plugin>
57+
<groupId>org.apache.maven.plugins</groupId>
58+
<artifactId>maven-assembly-plugin</artifactId>
59+
<executions>
60+
<execution>
61+
<configuration>
62+
<archive>
63+
<manifest>
64+
<mainClass>com.iluwatar.domainmodel.App</mainClass>
65+
</manifest>
66+
</archive>
67+
</configuration>
68+
</execution>
69+
</executions>
70+
</plugin>
71+
</plugins>
72+
</build>
73+
</project>

double-buffer/pom.xml

Lines changed: 39 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -23,47 +23,42 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
28-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
29-
<parent>
30-
<artifactId>java-design-patterns</artifactId>
31-
<groupId>com.iluwatar</groupId>
32-
<version>1.25.0-SNAPSHOT</version>
33-
</parent>
34-
<modelVersion>4.0.0</modelVersion>
35-
36-
<artifactId>double-buffer</artifactId>
37-
38-
<dependencies>
39-
<dependency>
40-
<groupId>org.apache.commons</groupId>
41-
<artifactId>commons-lang3</artifactId>
42-
</dependency>
43-
<dependency>
44-
<groupId>org.junit.jupiter</groupId>
45-
<artifactId>junit-jupiter-engine</artifactId>
46-
<scope>test</scope>
47-
</dependency>
48-
</dependencies>
49-
<build>
50-
<plugins>
51-
<plugin>
52-
<groupId>org.apache.maven.plugins</groupId>
53-
<artifactId>maven-assembly-plugin</artifactId>
54-
<executions>
55-
<execution>
56-
<configuration>
57-
<archive>
58-
<manifest>
59-
<mainClass>com.iluwatar.doublebuffer.App</mainClass>
60-
</manifest>
61-
</archive>
62-
</configuration>
63-
</execution>
64-
</executions>
65-
</plugin>
66-
</plugins>
67-
</build>
68-
69-
</project>
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27+
<parent>
28+
<artifactId>java-design-patterns</artifactId>
29+
<groupId>com.iluwatar</groupId>
30+
<version>1.25.0-SNAPSHOT</version>
31+
</parent>
32+
<modelVersion>4.0.0</modelVersion>
33+
<artifactId>double-buffer</artifactId>
34+
<dependencies>
35+
<dependency>
36+
<groupId>org.apache.commons</groupId>
37+
<artifactId>commons-lang3</artifactId>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<scope>test</scope>
43+
</dependency>
44+
</dependencies>
45+
<build>
46+
<plugins>
47+
<plugin>
48+
<groupId>org.apache.maven.plugins</groupId>
49+
<artifactId>maven-assembly-plugin</artifactId>
50+
<executions>
51+
<execution>
52+
<configuration>
53+
<archive>
54+
<manifest>
55+
<mainClass>com.iluwatar.doublebuffer.App</mainClass>
56+
</manifest>
57+
</archive>
58+
</configuration>
59+
</execution>
60+
</executions>
61+
</plugin>
62+
</plugins>
63+
</build>
64+
</project>
Lines changed: 23 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
12
<!--
23
34
The MIT License
@@ -23,30 +24,26 @@
2324
2425
-->
2526
<configuration>
26-
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
27-
<file>double-checked-locking.log</file>
28-
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
29-
<fileNamePattern>double-checked-locking-%d.log</fileNamePattern>
30-
<maxHistory>5</maxHistory>
31-
</rollingPolicy>
32-
<encoder>
33-
<pattern>%-5p [%d{ISO8601,UTC}] %c: %m%n</pattern>
34-
</encoder>
35-
</appender>
36-
37-
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
38-
<encoder>
39-
<pattern>%-5p [%d{ISO8601,UTC}] %c: %m%n</pattern>
40-
</encoder>
41-
</appender>
42-
43-
<logger name="com.iluwatar" additivity="false">
44-
<level value="DEBUG"/>
45-
<appender-ref ref="FILE"/>
46-
</logger>
47-
48-
<root level="WARN">
49-
<appender-ref ref="STDOUT"/>
50-
</root>
51-
27+
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
28+
<file>double-checked-locking.log</file>
29+
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
30+
<fileNamePattern>double-checked-locking-%d.log</fileNamePattern>
31+
<maxHistory>5</maxHistory>
32+
</rollingPolicy>
33+
<encoder>
34+
<pattern>%-5p [%d{ISO8601,UTC}] %c: %m%n</pattern>
35+
</encoder>
36+
</appender>
37+
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
38+
<encoder>
39+
<pattern>%-5p [%d{ISO8601,UTC}] %c: %m%n</pattern>
40+
</encoder>
41+
</appender>
42+
<logger name="com.iluwatar" additivity="false">
43+
<level value="DEBUG" />
44+
<appender-ref ref="FILE" />
45+
</logger>
46+
<root level="WARN">
47+
<appender-ref ref="STDOUT" />
48+
</root>
5249
</configuration>

double-dispatch/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
44
The MIT License
@@ -23,8 +23,7 @@
2323
THE SOFTWARE.
2424
2525
-->
26-
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
27-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2827
<modelVersion>4.0.0</modelVersion>
2928
<parent>
3029
<groupId>com.iluwatar</groupId>

0 commit comments

Comments
 (0)