Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cc317f8

Browse files
committed
Replaced tabs with spaces
1 parent ece35e6 commit cc317f8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/com/alexbbb/uploadservice/FileToUpload.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public FileToUpload(final String path,
3939
this.file = new File(path);
4040
this.paramName = parameterName;
4141
this.contentType = contentType;
42+
4243
if (fileName == null || "".equals(fileName)) {
4344
this.fileName = this.file.getName();
4445
} else {
@@ -61,10 +62,10 @@ public byte[] getMultipartHeader() throws UnsupportedEncodingException {
6162
.append(NEW_LINE);
6263

6364
if (contentType != null) {
64-
builder.append("Content-Type: ")
65-
.append(contentType)
66-
.append(NEW_LINE);
67-
}
65+
builder.append("Content-Type: ")
66+
.append(contentType)
67+
.append(NEW_LINE);
68+
}
6869

6970
builder.append(NEW_LINE);
7071

0 commit comments

Comments
 (0)