Skip to content

Commit d3d6bb1

Browse files
committed
Apply spotless
1 parent 7241b2c commit d3d6bb1

40 files changed

+5630
-7836
lines changed

pom.xml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
32
<!--
43
Copyright The Codehaus Foundation.
54
@@ -15,7 +14,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1514
See the License for the specific language governing permissions and
1615
limitations under the License.
1716
-->
18-
1917
<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">
2018
<modelVersion>4.0.0</modelVersion>
2119

@@ -34,8 +32,8 @@ limitations under the License.
3432
<scm>
3533
<connection>scm:git:git@github.com:codehaus-plexus/plexus-xml.git</connection>
3634
<developerConnection>scm:git:git@github.com:codehaus-plexus/plexus-xml.git</developerConnection>
37-
<url>http://github.com/codehaus-plexus/plexus-xml</url>
3835
<tag>master</tag>
36+
<url>http://github.com/codehaus-plexus/plexus-xml</url>
3937
</scm>
4038
<issueManagement>
4139
<system>github</system>
@@ -78,6 +76,19 @@ limitations under the License.
7876
</dependency>
7977
</dependencies>
8078

79+
<repositories>
80+
<repository>
81+
<releases>
82+
<enabled>false</enabled>
83+
</releases>
84+
<snapshots>
85+
<enabled>true</enabled>
86+
</snapshots>
87+
<id>oss.snapshots</id>
88+
<url>https://oss.sonatype.org/content/repositories/plexus-snapshots/</url>
89+
</repository>
90+
</repositories>
91+
8192
<build>
8293
<pluginManagement>
8394
<plugins>
@@ -148,15 +159,17 @@ limitations under the License.
148159
<groupId>org.apache.maven.plugins</groupId>
149160
<artifactId>maven-scm-publish-plugin</artifactId>
150161
<configuration>
151-
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
162+
<!-- mono-module doesn't require site:stage -->
163+
<content>${project.reporting.outputDirectory}</content>
152164
</configuration>
153165
<executions>
154166
<execution>
167+
<!-- deploy site with maven-scm-publish-plugin -->
155168
<id>scm-publish</id>
156-
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
157169
<goals>
158170
<goal>publish-scm</goal>
159171
</goals>
172+
<phase>site-deploy</phase>
160173
</execution>
161174
</executions>
162175
</plugin>
@@ -209,17 +222,4 @@ limitations under the License.
209222
</build>
210223
</profile>
211224
</profiles>
212-
213-
<repositories>
214-
<repository>
215-
<releases>
216-
<enabled>false</enabled>
217-
</releases>
218-
<snapshots>
219-
<enabled>true</enabled>
220-
</snapshots>
221-
<id>oss.snapshots</id>
222-
<url>https://oss.sonatype.org/content/repositories/plexus-snapshots/</url>
223-
</repository>
224-
</repositories>
225225
</project>

src/main/java/org/codehaus/plexus/util/xml/CompactXMLWriter.java

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,18 @@
2222
/**
2323
*
2424
*/
25-
public class CompactXMLWriter
26-
extends PrettyPrintXMLWriter
27-
{
25+
public class CompactXMLWriter extends PrettyPrintXMLWriter {
2826

29-
public CompactXMLWriter( PrintWriter writer )
30-
{
31-
super( writer );
27+
public CompactXMLWriter(PrintWriter writer) {
28+
super(writer);
3229
}
3330

34-
public CompactXMLWriter( Writer writer )
35-
{
36-
super( writer );
31+
public CompactXMLWriter(Writer writer) {
32+
super(writer);
3733
}
3834

3935
@Override
40-
protected void endOfLine()
41-
{
36+
protected void endOfLine() {
4237
// override parent: don't write anything at end of line
4338
}
4439
}

0 commit comments

Comments
 (0)