Skip to content

Commit 7791e99

Browse files
author
Stephane Landelle
committed
minor clean up
1 parent 1ce2e01 commit 7791e99

File tree

22 files changed

+120
-187
lines changed

22 files changed

+120
-187
lines changed

api/src/main/java/org/asynchttpclient/Realm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public static class RealmBuilder {
260260
private String methodName = "GET";
261261
private boolean usePreemptive = false;
262262
private String domain = System.getProperty("http.auth.ntlm.domain", "");
263-
private String enc = "UTF-8";
263+
private String enc = StandardCharsets.UTF_8.name();
264264
private String host = "localhost";
265265
private boolean messageType2Received = false;
266266

api/src/main/java/org/asynchttpclient/RequestBuilderBase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import org.asynchttpclient.multipart.Part;
2121
import org.asynchttpclient.util.AsyncHttpProviderUtils;
22+
import org.asynchttpclient.util.StandardCharsets;
2223
import org.asynchttpclient.util.UTF8UrlEncoder;
2324
import org.slf4j.Logger;
2425
import org.slf4j.LoggerFactory;
@@ -406,7 +407,7 @@ private void addQueryParameters(URI uri) {
406407
if (useRawUrl) {
407408
addQueryParameter(query.substring(0, pos), query.substring(pos + 1));
408409
} else {
409-
addQueryParameter(URLDecoder.decode(query.substring(0, pos), "UTF-8"), URLDecoder.decode(query.substring(pos + 1), "UTF-8"));
410+
addQueryParameter(URLDecoder.decode(query.substring(0, pos), StandardCharsets.UTF_8.name()), URLDecoder.decode(query.substring(pos + 1), StandardCharsets.UTF_8.name()));
410411
}
411412
} catch (UnsupportedEncodingException e) {
412413
throw new RuntimeException(e);

api/src/main/java/org/asynchttpclient/consumers/AppendableBodyConsumer.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
package org.asynchttpclient.consumers;
1414

1515
import org.asynchttpclient.BodyConsumer;
16+
import org.asynchttpclient.util.StandardCharsets;
1617

1718
import java.io.Closeable;
1819
import java.io.IOException;
@@ -33,12 +34,9 @@ public AppendableBodyConsumer(Appendable appendable, String encoding) {
3334

3435
public AppendableBodyConsumer(Appendable appendable) {
3536
this.appendable = appendable;
36-
this.encoding = "UTF-8";
37+
this.encoding = StandardCharsets.UTF_8.name();
3738
}
3839

39-
/**
40-
* {@inheritDoc}
41-
*/
4240
@Override
4341
public void consume(ByteBuffer byteBuffer) throws IOException {
4442
appendable.append(new String(byteBuffer.array(),
@@ -47,9 +45,6 @@ public void consume(ByteBuffer byteBuffer) throws IOException {
4745
encoding));
4846
}
4947

50-
/**
51-
* {@inheritDoc}
52-
*/
5348
@Override
5449
public void close() throws IOException {
5550
if (appendable instanceof Closeable) {

api/src/main/java/org/asynchttpclient/org/jboss/netty/handler/codec/http/HttpConstants.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
import java.nio.charset.Charset;
1919

20+
import org.asynchttpclient.util.StandardCharsets;
21+
2022
public final class HttpConstants {
2123

2224
/**
@@ -67,7 +69,7 @@ public final class HttpConstants {
6769
/**
6870
* Default character set (UTF-8)
6971
*/
70-
public static final Charset DEFAULT_CHARSET = Charset.forName("UTF-8");
72+
public static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
7173

7274
private HttpConstants() {
7375
// Unused

api/src/main/java/org/asynchttpclient/resumable/PropertiesBasedResumableProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private static String append(Map.Entry<String, Long> e) {
102102
public Map<String, Long> load() {
103103
Scanner scan = null;
104104
try {
105-
scan = new Scanner(new File(TMP, storeName), "UTF-8");
105+
scan = new Scanner(new File(TMP, storeName), StandardCharsets.UTF_8.name());
106106
scan.useDelimiter("[=\n]");
107107

108108
String key;

api/src/test/java/org/asynchttpclient/async/AsyncProvidersBasicTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
import org.asynchttpclient.Response;
5656
import org.asynchttpclient.multipart.Part;
5757
import org.asynchttpclient.multipart.StringPart;
58+
import org.asynchttpclient.util.StandardCharsets;
5859
import org.testng.annotations.Test;
5960

6061
public abstract class AsyncProvidersBasicTest extends AbstractBasicTest {
@@ -653,7 +654,7 @@ public void asyncDoPostMultiPartTest() throws Exception {
653654
try {
654655
final CountDownLatch l = new CountDownLatch(1);
655656

656-
Part p = new StringPart("foo", "bar", "UTF-8");
657+
Part p = new StringPart("foo", "bar", StandardCharsets.UTF_8.name());
657658

658659
client.preparePost(getTargetUrl()).addBodyPart(p).execute(new AsyncCompletionHandlerAdapter() {
659660

@@ -1598,7 +1599,7 @@ public void mirrorByteTest() throws Exception {
15981599
try {
15991600
Response response = client.preparePost(getTargetUrl()).setBody("MIRROR").execute().get();
16001601
assertEquals(response.getStatusCode(), 200);
1601-
assertEquals(new String(response.getResponseBodyAsBytes(), "UTF-8"), "MIRROR");
1602+
assertEquals(new String(response.getResponseBodyAsBytes(), StandardCharsets.UTF_8), "MIRROR");
16021603
} finally {
16031604
client.close();
16041605
}

api/src/test/java/org/asynchttpclient/async/AuthTimeoutTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.asynchttpclient.Realm;
3030
import org.asynchttpclient.Response;
3131
import org.asynchttpclient.util.AsyncHttpProviderUtils;
32+
import org.asynchttpclient.util.StandardCharsets;
3233
import org.eclipse.jetty.server.Request;
3334
import org.eclipse.jetty.server.Server;
3435
import org.eclipse.jetty.server.handler.AbstractHandler;
@@ -71,8 +72,8 @@ public void handle(String s, Request r, HttpServletRequest request, HttpServletR
7172
OutputStream out = response.getOutputStream();
7273
if (request.getHeader("X-Content") != null) {
7374
String content = request.getHeader("X-Content");
74-
response.setHeader("Content-Length", String.valueOf(content.getBytes("UTF-8").length));
75-
out.write(content.substring(1).getBytes("UTF-8"));
75+
response.setHeader("Content-Length", String.valueOf(content.getBytes(StandardCharsets.UTF_8).length));
76+
out.write(content.substring(1).getBytes(StandardCharsets.UTF_8));
7677
} else {
7778
response.setStatus(200);
7879
}

api/src/test/java/org/asynchttpclient/async/BasicAuthTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import org.asynchttpclient.SimpleAsyncHttpClient;
4141
import org.asynchttpclient.consumers.AppendableBodyConsumer;
4242
import org.asynchttpclient.generators.InputStreamBodyGenerator;
43+
import org.asynchttpclient.util.StandardCharsets;
4344
import org.eclipse.jetty.server.Request;
4445
import org.eclipse.jetty.server.Server;
4546
import org.eclipse.jetty.server.handler.AbstractHandler;
@@ -117,7 +118,7 @@ public void handle(String s, Request r, HttpServletRequest request, HttpServletR
117118
response.addHeader("X-Auth", request.getHeader("Authorization"));
118119
response.addHeader("X-Content-Length", String.valueOf(request.getContentLength()));
119120
response.setStatus(200);
120-
response.getOutputStream().write("content".getBytes("UTF-8"));
121+
response.getOutputStream().write("content".getBytes(StandardCharsets.UTF_8));
121122
response.getOutputStream().flush();
122123
response.getOutputStream().close();
123124
}

api/src/test/java/org/asynchttpclient/async/ErrorResponseTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@
1818

1919
import org.asynchttpclient.AsyncHttpClient;
2020
import org.asynchttpclient.Response;
21+
import org.asynchttpclient.util.StandardCharsets;
2122
import org.eclipse.jetty.server.Request;
2223
import org.eclipse.jetty.server.handler.AbstractHandler;
2324
import org.testng.annotations.Test;
2425

2526
import javax.servlet.ServletException;
2627
import javax.servlet.http.HttpServletRequest;
2728
import javax.servlet.http.HttpServletResponse;
29+
2830
import java.io.IOException;
2931
import java.io.OutputStream;
3032
import java.util.concurrent.Future;
@@ -50,7 +52,7 @@ public void handle(String s, Request r, HttpServletRequest request, HttpServletR
5052
response.setContentType("text/plain");
5153
response.setStatus(400);
5254
OutputStream out = response.getOutputStream();
53-
out.write(BAD_REQUEST_STR.getBytes("UTF-8"));
55+
out.write(BAD_REQUEST_STR.getBytes(StandardCharsets.UTF_8));
5456
out.flush();
5557
}
5658
}

api/src/test/java/org/asynchttpclient/async/FilePartLargeFileTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import org.asynchttpclient.AsyncHttpClientConfig;
2828
import org.asynchttpclient.Response;
2929
import org.asynchttpclient.multipart.FilePart;
30+
import org.asynchttpclient.util.StandardCharsets;
3031
import org.eclipse.jetty.server.Request;
3132
import org.eclipse.jetty.server.handler.AbstractHandler;
3233
import org.testng.annotations.Test;
@@ -62,7 +63,7 @@ public void handle(String arg0, Request arg1, HttpServletRequest req, HttpServle
6263
public void testPutImageFile() throws Exception {
6364
AsyncHttpClient client = getAsyncHttpClient(new AsyncHttpClientConfig.Builder().setRequestTimeoutInMs(100 * 6000).build());
6465
try {
65-
Response response = client.preparePut(getTargetUrl()).addBodyPart(new FilePart("test", LARGE_IMAGE_FILE, "application/octet-stream", "UTF-8")).execute().get();
66+
Response response = client.preparePut(getTargetUrl()).addBodyPart(new FilePart("test", LARGE_IMAGE_FILE, "application/octet-stream", StandardCharsets.UTF_8.name())).execute().get();
6667
assertEquals(response.getStatusCode(), 200);
6768
} finally {
6869
client.close();
@@ -75,7 +76,7 @@ public void testPutLargeTextFile() throws Exception {
7576

7677
AsyncHttpClient client = getAsyncHttpClient(null);
7778
try {
78-
Response response = client.preparePut(getTargetUrl()).addBodyPart(new FilePart("test", file, "application/octet-stream", "UTF-8")).execute().get();
79+
Response response = client.preparePut(getTargetUrl()).addBodyPart(new FilePart("test", file, "application/octet-stream", StandardCharsets.UTF_8.name())).execute().get();
7980
assertEquals(response.getStatusCode(), 200);
8081
} finally {
8182
client.close();

api/src/test/java/org/asynchttpclient/async/MultipartUploadTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void testSendingSmallFilesAndByteArray() {
136136
try {
137137
tmpFile = File.createTempFile("textbytearray", ".txt");
138138
os = new FileOutputStream(tmpFile);
139-
IOUtils.write(expectedContents.getBytes("UTF-8"), os);
139+
IOUtils.write(expectedContents.getBytes(StandardCharsets.UTF_8), os);
140140
tmpFileCreated = true;
141141

142142
testFiles.add(tmpFile);
@@ -169,10 +169,10 @@ public void testSendingSmallFilesAndByteArray() {
169169

170170
RequestBuilder builder = new RequestBuilder("POST");
171171
builder.setUrl("http://localhost" + ":" + port1 + "/upload/bob");
172-
builder.addBodyPart(new FilePart("file1", testResource1File, "text/plain", "UTF-8"));
172+
builder.addBodyPart(new FilePart("file1", testResource1File, "text/plain", StandardCharsets.UTF_8.name()));
173173
builder.addBodyPart(new FilePart("file2", testResource2File, "application/x-gzip", null));
174-
builder.addBodyPart(new StringPart("Name", "Dominic", "UTF-8"));
175-
builder.addBodyPart(new FilePart("file3", testResource3File, "text/plain", "UTF-8"));
174+
builder.addBodyPart(new StringPart("Name", "Dominic", StandardCharsets.UTF_8.name()));
175+
builder.addBodyPart(new FilePart("file3", testResource3File, "text/plain", StandardCharsets.UTF_8.name()));
176176

177177
builder.addBodyPart(new StringPart("Age", "3", AsyncHttpProviderUtils.DEFAULT_CHARSET.name()));
178178
builder.addBodyPart(new StringPart("Height", "shrimplike", AsyncHttpProviderUtils.DEFAULT_CHARSET.name()));

api/src/test/java/org/asynchttpclient/async/NonAsciiContentLengthTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727

2828
import org.asynchttpclient.AsyncHttpClient;
2929
import org.asynchttpclient.AsyncHttpClient.BoundRequestBuilder;
30+
import org.asynchttpclient.util.StandardCharsets;
3031
import org.asynchttpclient.Response;
3132
import org.eclipse.jetty.server.Request;
3233
import org.eclipse.jetty.server.handler.AbstractHandler;
@@ -78,11 +79,11 @@ public void testNonAsciiContentLength() throws Exception {
7879
protected void execute(String body) throws IOException, InterruptedException, ExecutionException {
7980
AsyncHttpClient client = getAsyncHttpClient(null);
8081
try {
81-
BoundRequestBuilder r = client.preparePost(getTargetUrl()).setBody(body).setBodyEncoding("UTF-8");
82+
BoundRequestBuilder r = client.preparePost(getTargetUrl()).setBody(body).setBodyEncoding(StandardCharsets.UTF_8.name());
8283
Future<Response> f = r.execute();
8384
Response resp = f.get();
8485
assertEquals(resp.getStatusCode(), 200);
85-
assertEquals(body, resp.getResponseBody("UTF-8"));
86+
assertEquals(body, resp.getResponseBody(StandardCharsets.UTF_8.name()));
8687
} finally {
8788
client.close();
8889
}

api/src/test/java/org/asynchttpclient/async/QueryParametersTest.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import org.asynchttpclient.AsyncHttpClient;
1919
import org.asynchttpclient.Response;
20+
import org.asynchttpclient.util.StandardCharsets;
2021
import org.eclipse.jetty.server.Request;
2122
import org.eclipse.jetty.server.handler.AbstractHandler;
2223
import org.slf4j.LoggerFactory;
@@ -25,6 +26,7 @@
2526
import javax.servlet.ServletException;
2627
import javax.servlet.http.HttpServletRequest;
2728
import javax.servlet.http.HttpServletResponse;
29+
2830
import java.io.IOException;
2931
import java.net.URLDecoder;
3032
import java.net.URLEncoder;
@@ -90,10 +92,10 @@ public void testUrlRequestParametersEncoding() throws IOException, ExecutionExce
9092

9193
AsyncHttpClient client = getAsyncHttpClient(null);
9294
try {
93-
String requestUrl2 = URL + URLEncoder.encode(REQUEST_PARAM, "UTF-8");
95+
String requestUrl2 = URL + URLEncoder.encode(REQUEST_PARAM, StandardCharsets.UTF_8.name());
9496
LoggerFactory.getLogger(QueryParametersTest.class).info("Executing request [{}] ...", requestUrl2);
9597
Response response = client.prepareGet(requestUrl2).execute().get();
96-
String s = URLDecoder.decode(response.getHeader("q"), "UTF-8");
98+
String s = URLDecoder.decode(response.getHeader("q"), StandardCharsets.UTF_8.name());
9799
assertEquals(s, REQUEST_PARAM);
98100
} finally {
99101
client.close();
@@ -107,7 +109,7 @@ public void urlWithColonTest_Netty() throws Exception {
107109
String query = "test:colon:";
108110
Response response = c.prepareGet(String.format("http://127.0.0.1:%d/foo/test/colon?q=%s", port1, query)).setHeader("Content-Type", "text/html").execute().get(TIMEOUT, TimeUnit.SECONDS);
109111

110-
assertEquals(response.getHeader("q"), URLEncoder.encode(query, "UTF-8"));
112+
assertEquals(response.getHeader("q"), URLEncoder.encode(query, StandardCharsets.UTF_8.name()));
111113
} finally {
112114
c.close();
113115
}
@@ -120,7 +122,7 @@ public void urlWithColonTest_JDK() throws Exception {
120122
String query = "test:colon:";
121123
Response response = c.prepareGet(String.format("http://127.0.0.1:%d/foo/test/colon?q=%s", port1, query)).setHeader("Content-Type", "text/html").execute().get(TIMEOUT, TimeUnit.SECONDS);
122124

123-
assertEquals(response.getHeader("q"), URLEncoder.encode(query, "UTF-8"));
125+
assertEquals(response.getHeader("q"), URLEncoder.encode(query, StandardCharsets.UTF_8.name()));
124126
} finally {
125127
c.close();
126128
}

api/src/test/java/org/asynchttpclient/async/RemoteSiteTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import org.asynchttpclient.Request;
3535
import org.asynchttpclient.RequestBuilder;
3636
import org.asynchttpclient.Response;
37+
import org.asynchttpclient.util.StandardCharsets;
3738
import org.testng.annotations.Test;
3839

3940
/**
@@ -185,7 +186,7 @@ public void asyncFullBodyProperlyRead() throws Exception {
185186
public void testUrlRequestParametersEncoding() throws Exception {
186187
AsyncHttpClient client = getAsyncHttpClient(null);
187188
try {
188-
String requestUrl2 = URL + URLEncoder.encode(REQUEST_PARAM, "UTF-8");
189+
String requestUrl2 = URL + URLEncoder.encode(REQUEST_PARAM, StandardCharsets.UTF_8.name());
189190
logger.info(String.format("Executing request [%s] ...", requestUrl2));
190191
Response response = client.prepareGet(requestUrl2).execute().get();
191192
assertEquals(response.getStatusCode(), 301);

api/src/test/java/org/asynchttpclient/async/SimpleAsyncHttpClientTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.asynchttpclient.multipart.ByteArrayPart;
3333
import org.asynchttpclient.simple.HeaderMap;
3434
import org.asynchttpclient.simple.SimpleAHCTransferListener;
35+
import org.asynchttpclient.util.StandardCharsets;
3536
import org.testng.annotations.Test;
3637

3738
public abstract class SimpleAsyncHttpClientTest extends AbstractBasicTest {
@@ -301,7 +302,7 @@ public void testCloseMasterInvalidDerived() throws Exception {
301302
public void testMultiPartPut() throws Exception {
302303
SimpleAsyncHttpClient client = new SimpleAsyncHttpClient.Builder().setProviderClass(getProviderClass()).setUrl(getTargetUrl() + "/multipart").build();
303304
try {
304-
Response response = client.put(new ByteArrayPart("baPart", "testMultiPart".getBytes("utf-8"), "application/test", "utf-8", "fileName")).get();
305+
Response response = client.put(new ByteArrayPart("baPart", "testMultiPart".getBytes(StandardCharsets.UTF_8), "application/test", StandardCharsets.UTF_8.name(), "fileName")).get();
305306

306307
String body = response.getResponseBody();
307308
String contentType = response.getHeader("X-Content-Type");
@@ -325,7 +326,7 @@ public void testMultiPartPut() throws Exception {
325326
public void testMultiPartPost() throws Exception {
326327
SimpleAsyncHttpClient client = new SimpleAsyncHttpClient.Builder().setProviderClass(getProviderClass()).setUrl(getTargetUrl() + "/multipart").build();
327328
try {
328-
Response response = client.post(new ByteArrayPart("baPart", "testMultiPart".getBytes("utf-8"), "application/test", "utf-8", "fileName")).get();
329+
Response response = client.post(new ByteArrayPart("baPart", "testMultiPart".getBytes(StandardCharsets.UTF_8), "application/test", StandardCharsets.UTF_8.name(), "fileName")).get();
329330

330331
String body = response.getResponseBody();
331332
String contentType = response.getHeader("X-Content-Type");

api/src/test/java/org/asynchttpclient/async/util/TestUtils.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
import org.apache.commons.io.FileUtils;
3333
import org.asynchttpclient.async.HostnameVerifierTest;
34+
import org.asynchttpclient.util.StandardCharsets;
3435
import org.eclipse.jetty.security.ConstraintMapping;
3536
import org.eclipse.jetty.security.ConstraintSecurityHandler;
3637
import org.eclipse.jetty.security.HashLoginService;
@@ -69,7 +70,7 @@ public class TestUtils {
6970
LARGE_IMAGE_FILE = new File(TestUtils.class.getClassLoader().getResource("300k.png").toURI());
7071
LARGE_IMAGE_BYTES = FileUtils.readFileToByteArray(LARGE_IMAGE_FILE);
7172
SIMPLE_TEXT_FILE = new File(TestUtils.class.getClassLoader().getResource("SimpleTextFile.txt").toURI());
72-
SIMPLE_TEXT_FILE_STRING = FileUtils.readFileToString(SIMPLE_TEXT_FILE, "UTF-8");
73+
SIMPLE_TEXT_FILE_STRING = FileUtils.readFileToString(SIMPLE_TEXT_FILE, StandardCharsets.UTF_8);
7374
} catch (Exception e) {
7475
throw new ExceptionInInitializerError(e);
7576
}

api/src/test/java/org/asynchttpclient/multipart/MultipartBodyTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
import java.io.File;
1616
import java.io.IOException;
17-
import java.io.UnsupportedEncodingException;
1817
import java.net.URISyntaxException;
1918
import java.net.URL;
2019
import java.nio.ByteBuffer;
@@ -23,6 +22,7 @@
2322

2423
import org.asynchttpclient.Body;
2524
import org.asynchttpclient.FluentCaseInsensitiveStringsMap;
25+
import org.asynchttpclient.util.StandardCharsets;
2626
import org.testng.Assert;
2727
import org.testng.annotations.Test;
2828

@@ -37,13 +37,10 @@ public void testBasics() {
3737
parts.add(new FilePart("filePart", testFile));
3838

3939
// add a byte array
40-
try {
41-
parts.add(new ByteArrayPart("baPart", "testMultiPart".getBytes("utf-8"), "application/test", "utf-8", "fileName"));
42-
} catch (UnsupportedEncodingException ignore) {
43-
}
40+
parts.add(new ByteArrayPart("baPart", "testMultiPart".getBytes(StandardCharsets.UTF_8), "application/test", StandardCharsets.UTF_8.name(), "fileName"));
4441

4542
// add a string
46-
parts.add(new StringPart("stringPart", "testString", "utf-8"));
43+
parts.add(new StringPart("stringPart", "testString", StandardCharsets.UTF_8.name()));
4744

4845
compareContentLength(parts);
4946
}

0 commit comments

Comments
 (0)