mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-25 16:07:12 -07:00
Formatting.
This commit is contained in:
parent
52cb935c72
commit
b108dafcf8
1 changed files with 1 additions and 2 deletions
|
@ -179,8 +179,7 @@ public class Main {
|
|||
// extracts file name from header field
|
||||
int index = disposition.indexOf("filename=");
|
||||
if (index > 0) {
|
||||
fileName = disposition.substring(index + 10,
|
||||
disposition.length() - 1);
|
||||
fileName = disposition.substring(index + 10, disposition.length() - 1);
|
||||
}
|
||||
} else {
|
||||
// extracts file name from URL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue