diff options
author | Karsten Thoms | 2018-03-08 16:42:16 +0000 |
---|---|---|
committer | Pascal Rapicault | 2018-03-08 16:44:54 +0000 |
commit | 24340160c151ff44879ba7e15993493b7df8309a (patch) | |
tree | f2fbf17dba293ade3876a44a7c5248587868cd9a /bundles | |
parent | 49a2b23fc14a2b56e34d271081ba71e1a430c6bf (diff) | |
download | rt.equinox.p2-24340160c151ff44879ba7e15993493b7df8309a.tar.gz rt.equinox.p2-24340160c151ff44879ba7e15993493b7df8309a.tar.xz rt.equinox.p2-24340160c151ff44879ba7e15993493b7df8309a.zip |
Bug 532190 - Buffered writing
Change-Id: I4630b8206e2f404573ea0fe971eb21e1aae49832
Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
Diffstat (limited to 'bundles')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/persistence/XMLWriter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/persistence/XMLWriter.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/persistence/XMLWriter.java index 3a532f6ad..ee29a7548 100644 --- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/persistence/XMLWriter.java +++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/persistence/XMLWriter.java @@ -61,7 +61,7 @@ public class XMLWriter implements XMLConstants { private PrintWriter pw; public XMLWriter(OutputStream output, ProcessingInstruction[] piElements) { - this.pw = new PrintWriter(new OutputStreamWriter(output, StandardCharsets.UTF_8), false); + this.pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(output, StandardCharsets.UTF_8)), false); println(ProcessingInstruction.XML_UTF8); this.elements = new Stack<String>(); this.open = false; |