diff options
| author | Jeremy Whiting | 2020-09-07 10:34:20 +0000 |
|---|---|---|
| committer | Lars Vogel | 2020-09-15 08:13:32 +0000 |
| commit | 46ccfcd6080964a9923a854609a750325f2342ce (patch) | |
| tree | ededb9fb9626eca2e7dc1c1283b3d5735be03f81 | |
| parent | 9f468924ccfd9b6a08bfd408a035aaea88cd711e (diff) | |
| download | eclipse.platform.resources-46ccfcd6080964a9923a854609a750325f2342ce.tar.gz eclipse.platform.resources-46ccfcd6080964a9923a854609a750325f2342ce.tar.xz eclipse.platform.resources-46ccfcd6080964a9923a854609a750325f2342ce.zip | |
Bug 566685 - More efficient write technique in SafeChunkyOutputStream.Y20201027-1200Y20201026-1200Y20201025-1200Y20201024-1200Y20201023-1200Y20201021-1200Y20201020-1200Y20201019-1200Y20201018-1200Y20201017-1200Y20201016-1200Y20201015-1200Y20201014-1200Y20201013-1200Y20201012-1200Y20201011-1200Y20201010-1200Y20201009-1200Y20201008-1200Y20201006-1200Y20201002-1200Y20201001-1200Y20200930-1200Y20200929-1200Y20200929-0550Y20200928-1200Y20200928-0700Y20200928-0600S4_18_0_M1aS4_18_0_M1I20201028-0800I20201028-0610I20201028-0130I20201028-0020I20201027-2350I20201027-1800I20201026-1850I20201026-0840I20201026-0650I20201025-1800I20201025-0040I20201024-1800I20201023-1800I20201023-0250I20201021-1800I20201021-0200I20201020-1800I20201020-0240I20201019-1800I20201018-1800I20201017-1800I20201016-1800I20201016-0000I20201015-1800I20201014-1800I20201013-1800I20201012-1800I20201012-0750I20201012-0320I20201011-1800I20201010-1800I20201009-1800I20201009-0800I20201009-0430I20201007-1800I20201007-1320I20201007-0600I20201006-1800I20201006-0840I20201006-0600I20201005-1800I20201005-0600I20201004-1800I20201004-0600I20201003-1800I20201003-0600I20201002-1800I20201001-1800I20200930-1800I20200929-1800I20200928-1800I20200927-1800I20200926-1800I20200925-1800I20200924-1800I20200924-0430I20200924-0340I20200922-1800I20200921-1800I20200920-1800I20200919-1800I20200918-1800I20200917-1800I20200916-1800I20200916-0410I20200915-1800
Change-Id: Ida150a45ecdc0917acb007cf1da49340fe144c13
| -rw-r--r-- | bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/SafeChunkyOutputStream.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/SafeChunkyOutputStream.java b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/SafeChunkyOutputStream.java index d53c3c2bc..963a88feb 100644 --- a/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/SafeChunkyOutputStream.java +++ b/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/localstore/SafeChunkyOutputStream.java @@ -94,4 +94,11 @@ public class SafeChunkyOutputStream extends FilterOutputStream { open(); super.write(b); } + + @Override + public void write(byte b[], int off, int len) throws IOException { + if (!isOpen) + open(); + out.write(b, off, len); + } } |
