Ensure DiskFileUpload#toString returns a string that uses the correct deleteOnExit (#11628)
Motivation: DiskFileUpload#toString should use the value provided when constructing DiskFileUpload and not the default one Modification: - DiskFileUpload#toString is modified to use the correct deleteOnExit value Result: DiskFileUpload#toString returns a string that uses the correct deleteOnExit
This commit is contained in:
parent
c039f82483
commit
14102eb98c
@ -141,8 +141,7 @@ public class DiskFileUpload extends AbstractDiskHttpData implements FileUpload {
|
||||
HttpHeaderNames.CONTENT_LENGTH + ": " + length() + "\r\n" +
|
||||
"Completed: " + isCompleted() +
|
||||
"\r\nIsInMemory: " + isInMemory() + "\r\nRealFile: " +
|
||||
(file != null ? file.getAbsolutePath() : "null") + " DefaultDeleteAfter: " +
|
||||
deleteOnExitTemporaryFile;
|
||||
(file != null ? file.getAbsolutePath() : "null") + " DeleteAfter: " + deleteOnExit;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user