Skip to content

Commit

Permalink
Issue #4383 - mark other MultiPartFormInputStream fields as volatile
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Dec 4, 2019
1 parent bb931e4 commit 979f88f
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -64,12 +64,12 @@ public class MultiPartFormInputStream
private final MultipartConfigElement _config;
private final File _contextTmpDir;
private final String _contentType;
private Throwable _err;
private File _tmpDir;
private boolean _deleteOnExit;
private boolean _writeFilesWithFilenames;
private boolean _parsed;
private int _bufferSize = 16 * 1024;
private volatile Throwable _err;
private volatile File _tmpDir;
private volatile boolean _deleteOnExit;
private volatile boolean _writeFilesWithFilenames;
private volatile boolean _parsed;
private volatile int _bufferSize = 16 * 1024;

public class MultiPart implements Part
{
Expand Down

0 comments on commit 979f88f

Please sign in to comment.