Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Feb 16, 2024
1 parent 695d760 commit 7c46892
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/main/java/io/fabric8/maven/MavenJDOMWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

package io.fabric8.maven;

import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.Collection;
Expand Down Expand Up @@ -88,8 +87,6 @@ class MavenJDOMWriter {
*/
private String lineSeparator;

private static final String LS = System.lineSeparator();

// ----------------/
// - Constructors -/
// ----------------/
Expand All @@ -99,19 +96,6 @@ public MavenJDOMWriter() {
lineSeparator = "\n";
} // -- org.apache.maven.model.io.jdom.MavenJDOMWriter()

/**
* Method write.
*
* @param project
* @param writer
* @param document
*/
public void write(Model project, Document document, String encoding, OutputStreamWriter writer)
throws java.io.IOException {
Format format = Format.getRawFormat().setEncoding(encoding).setLineSeparator(LS);
write(project, document, writer, format);
} // -- void write(Model, Document, OutputStreamWriter)

/**
* Method write.
*
Expand Down

0 comments on commit 7c46892

Please sign in to comment.