File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
test/java/com/aliyun/oss/common/utils Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11
11
12
12
<groupId >com.aliyun.oss</groupId >
13
13
<artifactId >aliyun-sdk-oss</artifactId >
14
- <version >3.10.0 </version >
14
+ <version >3.10.1 </version >
15
15
<packaging >jar</packaging >
16
16
<name >Aliyun OSS SDK for Java</name >
17
17
<description >The Aliyun OSS SDK for Java used for accessing Aliyun Object Storage Service</description >
Original file line number Diff line number Diff line change @@ -737,19 +737,19 @@ public void setRetryStrategy(RetryStrategy retryStrategy) {
737
737
}
738
738
739
739
/**
740
- * Gets whether is enable redirection.
740
+ * Gets the flag of http redirection.
741
741
*
742
- * @return whether is enable redirection.
742
+ * @return the flag of http redirection.
743
743
*/
744
744
public boolean isRedirectEnable () {
745
745
return redirectEnable ;
746
746
}
747
747
748
748
/**
749
- * Sets whether is enable redirection.
749
+ * Sets the flag of http redirection.
750
750
*
751
751
* @param redirectEnable
752
- * whether is enable redirection
752
+ * Determines whether redirects should be handled automatically.
753
753
*/
754
754
public void setRedirectEnable (boolean redirectEnable ) {
755
755
this .redirectEnable = redirectEnable ;
Original file line number Diff line number Diff line change 1
- version =3.10.0
1
+ version =3.10.1
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class VersionUtilTest {
28
28
@ Test
29
29
public void testGetDefaultUserAgent () {
30
30
String userAgent = VersionInfoUtils .getDefaultUserAgent ();
31
- assertTrue (userAgent .startsWith ("aliyun-sdk-java/3.10.0 (" ));
31
+ assertTrue (userAgent .startsWith ("aliyun-sdk-java/3.10.1 (" ));
32
32
assertEquals (userAgent .split ("/" ).length , 4 );
33
33
assertEquals (userAgent .split (";" ).length , 2 );
34
34
assertEquals (userAgent .split ("\\ (" ).length , 2 );
@@ -38,7 +38,7 @@ public void testGetDefaultUserAgent() {
38
38
@ Test
39
39
public void testGetVersion () {
40
40
String version = VersionInfoUtils .getVersion ();
41
- assertEquals ("3.10.0 " , version );
41
+ assertEquals ("3.10.1 " , version );
42
42
}
43
43
}
44
44
You can’t perform that action at this time.
0 commit comments