You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2019/08/04 09:50:47 UTC
[camel] 02/04: Delete not used method
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5d8b4142ca8a63b03222a7b2a459413cf12a3d80
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Aug 4 11:37:05 2019 +0200
Delete not used method
---
.../src/main/java/org/apache/camel/converter/IOConverter.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java b/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java
index 8f99cbe..6a068f7 100644
--- a/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java
+++ b/core/camel-base/src/main/java/org/apache/camel/converter/IOConverter.java
@@ -94,10 +94,6 @@ public final class IOConverter {
return IOHelper.toWriter(os, ExchangeHelper.getCharsetName(exchange));
}
- public static BufferedWriter toWriter(File file, boolean append, String charset) throws IOException {
- return IOHelper.toWriter(new FileOutputStream(file, append), charset);
- }
-
@Converter
public static Reader toReader(InputStream in, Exchange exchange) throws IOException {
return IOHelper.buffered(new InputStreamReader(in, ExchangeHelper.getCharsetName(exchange)));