Skip to content

Commit

Permalink
Apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 16, 2023
1 parent 7241b2c commit d3d6bb1
Show file tree
Hide file tree
Showing 40 changed files with 5,630 additions and 7,836 deletions.
36 changes: 18 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright The Codehaus Foundation.
Expand All @@ -15,7 +14,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<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">
<modelVersion>4.0.0</modelVersion>

Expand All @@ -34,8 +32,8 @@ limitations under the License.
<scm>
<connection>scm:git:git@github.com:codehaus-plexus/plexus-xml.git</connection>
<developerConnection>scm:git:git@github.com:codehaus-plexus/plexus-xml.git</developerConnection>
<url>http://github.com/codehaus-plexus/plexus-xml</url>
<tag>master</tag>
<url>http://github.com/codehaus-plexus/plexus-xml</url>
</scm>
<issueManagement>
<system>github</system>
Expand Down Expand Up @@ -78,6 +76,19 @@ limitations under the License.
</dependency>
</dependencies>

<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>oss.snapshots</id>
<url>https://oss.sonatype.org/content/repositories/plexus-snapshots/</url>
</repository>
</repositories>

<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -148,15 +159,17 @@ limitations under the License.
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<configuration>
<content>${project.reporting.outputDirectory}</content><!-- mono-module doesn't require site:stage -->
<!-- mono-module doesn't require site:stage -->
<content>${project.reporting.outputDirectory}</content>
</configuration>
<executions>
<execution>
<!-- deploy site with maven-scm-publish-plugin -->
<id>scm-publish</id>
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
<goals>
<goal>publish-scm</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
Expand Down Expand Up @@ -209,17 +222,4 @@ limitations under the License.
</build>
</profile>
</profiles>

<repositories>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>oss.snapshots</id>
<url>https://oss.sonatype.org/content/repositories/plexus-snapshots/</url>
</repository>
</repositories>
</project>
17 changes: 6 additions & 11 deletions src/main/java/org/codehaus/plexus/util/xml/CompactXMLWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,18 @@
/**
*
*/
public class CompactXMLWriter
extends PrettyPrintXMLWriter
{
public class CompactXMLWriter extends PrettyPrintXMLWriter {

public CompactXMLWriter( PrintWriter writer )
{
super( writer );
public CompactXMLWriter(PrintWriter writer) {
super(writer);
}

public CompactXMLWriter( Writer writer )
{
super( writer );
public CompactXMLWriter(Writer writer) {
super(writer);
}

@Override
protected void endOfLine()
{
protected void endOfLine() {
// override parent: don't write anything at end of line
}
}
Loading

0 comments on commit d3d6bb1

Please sign in to comment.