[java-identity-provider] 03/04: Remove warning from ProgressReportingOutputStream

Rod Widdowson rdw at steadingsoftware.com
Sun Oct 4 13:51:50 UTC 2020


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=890fc7dca3a783284b7b007756ab309ef2df1849

commit 890fc7dca3a783284b7b007756ab309ef2df1849
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Oct 4 13:29:08 2020 +0100

    Remove warning from ProgressReportingOutputStream
---
 .../net/shibboleth/idp/installer/ProgressReportingOutputStream.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/ProgressReportingOutputStream.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/ProgressReportingOutputStream.java
index 1518f3e7b..fe08a0ea3 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/ProgressReportingOutputStream.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/ProgressReportingOutputStream.java
@@ -48,7 +48,7 @@ public class ProgressReportingOutputStream extends BufferedOutputStream {
     }
 
     /** {@inheritDoc} */
-    public void write(final byte[] b, final int off, final int len) throws IOException {
+    public synchronized void write(final byte[] b, final int off, final int len) throws IOException {
         super.write(b, off, len);
         written += len;
         if (written > PROGRESS_EVERY) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list