You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by GitBox <gi...@apache.org> on 2020/11/12 15:26:58 UTC

[GitHub] [shiro] bdemers commented on a change in pull request #266: Fix: flushes ByteArrayOutputStream before using

bdemers commented on a change in pull request #266:
URL: https://github.com/apache/shiro/pull/266#discussion_r522191623



##########
File path: lang/src/main/java/org/apache/shiro/lang/io/DefaultSerializer.java
##########
@@ -47,6 +47,7 @@
             ObjectOutputStream oos = new ObjectOutputStream(bos);
             oos.writeObject(o);
             oos.close();
+	    baos.flush();

Review comment:
       whitespace issue:
   
   ```suggestion
               baos.flush();
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org