Commit aadd45f 1 parent fcded65 commit aadd45f Copy full SHA for aadd45f
File tree 1 file changed +3
-2
lines changed
spi/src/main/java/com/microsoft/dagx/spi/types/domain/transfer
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
15
15
@ JsonDeserialize (builder = TransferType .Builder .class )
16
16
public class TransferType {
17
- private String contentType ;
17
+ private static final String DEFAULT_CONTENT_TYPE = "application/octet-stream" ;
18
+ private String contentType = DEFAULT_CONTENT_TYPE ;
18
19
private boolean isFinite = true ;
19
20
20
21
public String getContentType () {
@@ -27,7 +28,7 @@ public boolean isFinite() {
27
28
28
29
@ JsonPOJOBuilder (withPrefix = "" )
29
30
public static final class Builder {
30
- private String contentType = "application/octet-stream" ;
31
+ private String contentType = DEFAULT_CONTENT_TYPE ;
31
32
private boolean isFinite = true ;
32
33
33
34
private Builder () {
You can’t perform that action at this time.
0 commit comments