Skip to content

Commit

Permalink
Remove the default value for ignoreSSL
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonTian committed Jul 5, 2024
1 parent 133ceab commit 9850312
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
matrix:
# test against latest update of each major Java version, as well as specific updates of LTS versions:
# 20, 21还不支持,报错是Source option 7 is no longer supported. Use 8 or later.
java: [7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19]
java: [7, 8, 11, 17]
fail-fast: false

steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class RuntimeOptions extends TeaModel {

// ignore SSL validation
@NameInMap("ignoreSSL")
public Boolean ignoreSSL = true;
public Boolean ignoreSSL;

// privite key for client certificate
@NameInMap("key")
Expand Down
2 changes: 1 addition & 1 deletion java/src/test/java/com/aliyun/teautil/CommonTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void assertAsArrayTest() {
List<RuntimeOptions> list4 = new ArrayList<>();
RuntimeOptions option = new RuntimeOptions();
list4.add(option);
Assert.assertEquals(true, ((RuntimeOptions) Common.assertAsArray(list4).get(0)).ignoreSSL);
Assert.assertEquals(null, ((RuntimeOptions) Common.assertAsArray(list4).get(0)).ignoreSSL);
}

@Test
Expand Down

0 comments on commit 9850312

Please sign in to comment.