Skip to content

Commit 05c05a6

Browse files
committed
version
1 parent 3ae1313 commit 05c05a6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>com.aliyun.oss</groupId>
1313
<artifactId>aliyun-sdk-oss</artifactId>
14-
<version>3.10.0</version>
14+
<version>3.10.1</version>
1515
<packaging>jar</packaging>
1616
<name>Aliyun OSS SDK for Java</name>
1717
<description>The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service</description>

src/main/java/com/aliyun/oss/ClientConfiguration.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,19 +737,19 @@ public void setRetryStrategy(RetryStrategy retryStrategy) {
737737
}
738738

739739
/**
740-
* Gets whether is enable redirection.
740+
* Gets the flag of http redirection.
741741
*
742-
* @return whether is enable redirection.
742+
* @return the flag of http redirection.
743743
*/
744744
public boolean isRedirectEnable() {
745745
return redirectEnable;
746746
}
747747

748748
/**
749-
* Sets whether is enable redirection.
749+
* Sets the flag of http redirection.
750750
*
751751
* @param redirectEnable
752-
* whether is enable redirection
752+
* Determines whether redirects should be handled automatically.
753753
*/
754754
public void setRedirectEnable(boolean redirectEnable) {
755755
this.redirectEnable = redirectEnable;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=3.10.0
1+
version=3.10.1

src/test/java/com/aliyun/oss/common/utils/VersionUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class VersionUtilTest {
2828
@Test
2929
public void testGetDefaultUserAgent() {
3030
String userAgent = VersionInfoUtils.getDefaultUserAgent();
31-
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.10.0("));
31+
assertTrue(userAgent.startsWith("aliyun-sdk-java/3.10.1("));
3232
assertEquals(userAgent.split("/").length, 4);
3333
assertEquals(userAgent.split(";").length, 2);
3434
assertEquals(userAgent.split("\\(").length, 2);
@@ -38,7 +38,7 @@ public void testGetDefaultUserAgent() {
3838
@Test
3939
public void testGetVersion() {
4040
String version = VersionInfoUtils.getVersion();
41-
assertEquals("3.10.0", version);
41+
assertEquals("3.10.1", version);
4242
}
4343
}
4444

0 commit comments

Comments
 (0)