Skip to content

Commit

Permalink
Reformat using spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed May 22, 2023
1 parent d58719d commit 17787e5
Show file tree
Hide file tree
Showing 40 changed files with 5,616 additions and 7,820 deletions.
8 changes: 4 additions & 4 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 Down Expand Up @@ -143,15 +141,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 -->
<content>${project.reporting.outputDirectory}</content>
<!-- mono-module doesn't require site:stage -->
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase><!-- deploy site with maven-scm-publish-plugin -->
<!-- deploy site with maven-scm-publish-plugin -->
<goals>
<goal>publish-scm</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
Expand Down
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 17787e5

Please sign in to comment.