Skip to content

Commit 88e5988

Browse files
committed
prepare new snapshot
1 parent 6cb1e3e commit 88e5988

File tree

3 files changed

+2
-35
lines changed

3 files changed

+2
-35
lines changed

changelog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[SNAPSHOT]
2+
13
[7.0.0]
24
* Add Polar API (https://www.polar.com/) (thanks to https://github.com/vidi42)
35
* make Response accept resources to autoclose and autoclose it (thanks to https://github.com/drei01)

scribejava-core/src/main/java/com/github/scribejava/core/httpclient/jdk/JDKHttpClient.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,6 @@ private static void addBody(HttpURLConnection connection, MultipartPayload multi
215215
}
216216
}
217217

218-
/**
219-
* @param multipartPayload multipartPayload
220-
* @return ByteArrayOutputStream
221-
* @throws IOException
222-
* @deprecated use {@link com.github.scribejava.core.httpclient.multipart.MultipartUtils#getPayload(
223-
* com.github.scribejava.core.httpclient.multipart.MultipartPayload) }
224-
*/
225-
@Deprecated
226-
static ByteArrayOutputStream getPayload(MultipartPayload multipartPayload) throws IOException {
227-
return MultipartUtils.getPayload(multipartPayload);
228-
}
229-
230218
private static OutputStream prepareConnectionForBodyAndGetOutputStream(HttpURLConnection connection,
231219
int contentLength) throws IOException {
232220

scribejava-core/src/main/java/com/github/scribejava/core/httpclient/multipart/MultipartPayload.java

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -67,34 +67,11 @@ private static Map<String, String> composeHeaders(String subtype, String boundar
6767
return headersOut;
6868
}
6969

70-
/**
71-
*
72-
* @param boundary boundary
73-
* @deprecated use
74-
* {@link com.github.scribejava.core.httpclient.multipart.MultipartUtils#checkBoundarySyntax(java.lang.String)}
75-
*/
76-
@Deprecated
77-
static void checkBoundarySyntax(String boundary) {
78-
MultipartUtils.checkBoundarySyntax(boundary);
79-
}
80-
8170
private static String parseOrGenerateBoundary(Map<String, String> headers) {
8271
final String parsedBoundary = MultipartUtils.parseBoundaryFromHeader(headers.get(HttpClient.CONTENT_TYPE));
8372
return parsedBoundary == null ? MultipartUtils.generateDefaultBoundary() : parsedBoundary;
8473
}
8574

86-
/**
87-
*
88-
* @param contentTypeHeader contentTypeHeader
89-
* @return String
90-
* @deprecated use
91-
* {@link com.github.scribejava.core.httpclient.multipart.MultipartUtils#parseBoundaryFromHeader(java.lang.String)}
92-
*/
93-
@Deprecated
94-
static String parseBoundaryFromHeader(String contentTypeHeader) {
95-
return MultipartUtils.parseBoundaryFromHeader(contentTypeHeader);
96-
}
97-
9875
public void addFileBodyPart(byte[] fileContent) {
9976
addBodyPart(new FileByteArrayBodyPartPayload(fileContent));
10077
}

0 commit comments

Comments
 (0)