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 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 >
Original file line number Diff line number Diff 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 ;
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 {
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
You can’t perform that action at this time.
0 commit comments