Skip to content

Commit c97297b

Browse files
authored
Merge branch 'master' into FUSION-17975
2 parents 927d0e0 + 1e0189b commit c97297b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/main/java/com/qiniu/storage/AutoRegion.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private void setupDeadline() {
294294
deadline = System.currentTimeMillis() / 1000 + ttl;
295295
}
296296
}
297-
297+
// CHECKSTYLE:OFF
298298
private class ServerRets {
299299
long ttl;
300300

@@ -305,6 +305,7 @@ private class ServerRets {
305305
ServerRet uc;
306306
ServerRet api;
307307
ServerRet io;
308+
@SuppressWarnings({"MemberName"})
308309
ServerRet io_src;
309310

310311
Region createRegion() {
@@ -356,7 +357,7 @@ Region createRegion() {
356357
ioSrcHost, rsHost, rsfHost, apiHost, ucHost);
357358
}
358359
}
359-
360+
// CHECKSTYLE:ON
360361
private class ServerRet {
361362
HostInfoRet src;
362363
HostInfoRet acc;

src/main/java/com/qiniu/storage/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public Configuration clone() {
146146
try {
147147
Configuration configuration = (Configuration) super.clone();
148148
if (region != null) {
149-
configuration.region = (Region)region.clone();
149+
configuration.region = (Region) region.clone();
150150
}
151151
return configuration;
152152
} catch (CloneNotSupportedException e) {

src/test/java/test/com/qiniu/storage/BucketTest2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ public void testDefaultIoSrcDomainDownload() {
574574
String url = "";
575575
try {
576576
url = new DownloadUrl(domain, false, key).buildURL();
577-
url = TestConfig.testAuth.privateDownloadUrl(url, 3600);
577+
url = TestConfig.testAuth.privateDownloadUrl(url, 180);
578578
} catch (QiniuException e) {
579579
fail(e);
580580
}

0 commit comments

Comments
 (0)