@@ -67,15 +67,11 @@ public StringPart(String name, String value, String contentType, Charset charset
67
67
this (name , value , contentType , charset , null );
68
68
}
69
69
70
- public StringPart (String name , String value , String contentType , Charset charset , String fileName ) {
71
- this (name , value , contentType , charset , fileName , null );
70
+ public StringPart (String name , String value , String contentType , Charset charset , String contentId ) {
71
+ this (name , value , contentType , charset , contentId , null );
72
72
}
73
73
74
- public StringPart (String name , String value , String contentType , Charset charset , String fileName , String contentId ) {
75
- this (name , value , contentType , charset , fileName , contentId , null );
76
- }
77
-
78
- public StringPart (String name , String value , String contentType , Charset charset , String fileName , String contentId , String transferEncoding ) {
74
+ public StringPart (String name , String value , String contentType , Charset charset , String contentId , String transferEncoding ) {
79
75
super (name , contentTypeOrDefault (contentType ), charsetOrDefault (charset ), contentId , transferEncodingOrDefault (transferEncoding ));
80
76
if (value == null )
81
77
throw new NullPointerException ("value" );
@@ -87,7 +83,7 @@ public StringPart(String name, String value, String contentType, Charset charset
87
83
content = value .getBytes (getCharset ());
88
84
this .value = value ;
89
85
}
90
-
86
+
91
87
/**
92
88
* Writes the data to the given OutputStream.
93
89
*
0 commit comments