From 7c46892b6588e32033c1207f5086c906e9554f7f Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Fri, 16 Feb 2024 12:48:07 -0300 Subject: [PATCH] Remove unused method --- .../java/io/fabric8/maven/MavenJDOMWriter.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/io/fabric8/maven/MavenJDOMWriter.java b/src/main/java/io/fabric8/maven/MavenJDOMWriter.java index 765dd5a..6a50924 100644 --- a/src/main/java/io/fabric8/maven/MavenJDOMWriter.java +++ b/src/main/java/io/fabric8/maven/MavenJDOMWriter.java @@ -7,7 +7,6 @@ package io.fabric8.maven; -import java.io.OutputStreamWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Collection; @@ -88,8 +87,6 @@ class MavenJDOMWriter { */ private String lineSeparator; - private static final String LS = System.lineSeparator(); - // ----------------/ // - Constructors -/ // ----------------/ @@ -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. *