Skip to content

Commit c79f61a

Browse files
committed
Apply spotless
1 parent 7241b2c commit c79f61a

40 files changed

+5617
-7823
lines changed

pom.xml

+5-5
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:[email protected]:codehaus-plexus/plexus-xml.git</connection>
3634
<developerConnection>scm:git:[email protected]: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>
@@ -148,15 +146,17 @@ limitations under the License.
148146
<groupId>org.apache.maven.plugins</groupId>
149147
<artifactId>maven-scm-publish-plugin</artifactId>
150148
<configuration>
151-
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
149+
<!-- mono-module doesn't require site:stage -->
150+
<content>${project.reporting.outputDirectory}</content>
152151
</configuration>
153152
<executions>
154153
<execution>
154+
<!-- deploy site with maven-scm-publish-plugin -->
155155
<id>scm-publish</id>
156-
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
157156
<goals>
158157
<goal>publish-scm</goal>
159158
</goals>
159+
<phase>site-deploy</phase>
160160
</execution>
161161
</executions>
162162
</plugin>

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

+6-11
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)