Skip to content

fix build doc #612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/com/qiniu/media/apis/ApiPrefop.java
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@
return this.pipeline;
}

/**

Check warning on line 381 in src/main/java/com/qiniu/media/apis/ApiPrefop.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/media/apis/ApiPrefop.java#L381

First sentence should end with a period. [JavadocStyle]
* 获取变量值
* 如果没有,则表示通过 `api+fops` 命令提交的任务,否则遵循规则 `<source>: <source_id>`,其中 `<source>` 当前可选 `workflow` 或 `trigger`
* 如果没有,则表示通过 `api+fops` 命令提交的任务,否则遵循规则 `{source}:{source_id}`,其中 `{source}` 当前可选 `workflow` 或 `trigger`

Check warning on line 383 in src/main/java/com/qiniu/media/apis/ApiPrefop.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/media/apis/ApiPrefop.java#L383

Line is longer than 80 characters (found 116). [LineLength]
*
* @return taskFrom
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/qiniu/processing/OperationStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
/***
* taskFrom
* 1. 如果没有 taskFrom, 则表示是通过 api+fops命令 提交的任务, 否则见 2
* 2. taskFrom 字段规则: <source>: <source_id>,其中 source 当前可选: workflow|trigger
* 2. taskFrom 字段规则: {source}:{source_id},其中 source 当前可选: workflow|trigger
**/
public String taskFrom;

Check warning on line 38 in src/main/java/com/qiniu/processing/OperationStatus.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/processing/OperationStatus.java#L38

Variable 'taskFrom' must be private and have accessor methods. [VisibilityModifier]

/**
* 云处理操作的处理队列
Expand Down
7 changes: 7 additions & 0 deletions src/main/java/com/qiniu/storage/Retry.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,25 @@

public interface Interval {

/**

Check warning on line 96 in src/main/java/com/qiniu/storage/Retry.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/storage/Retry.java#L96

First sentence should end with a period. [JavadocStyle]
* 重试时间间隔,单位:毫秒
*
* @return 重试时间间隔
**/
int interval();
}

public interface RetryCondition {

/**

Check warning on line 106 in src/main/java/com/qiniu/storage/Retry.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/storage/Retry.java#L106

First sentence should end with a period. [JavadocStyle]
* 是否需要重试
*
* @param request 请求
* @param response 响应
* @param exception 异常
* @return 是否需要重试
**/
boolean shouldRetry(Api.Request request, Api.Response response, QiniuException exception);

Check warning on line 114 in src/main/java/com/qiniu/storage/Retry.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/storage/Retry.java#L114

Line is longer than 80 characters (found 98). [LineLength]
}

public interface HostFreezeCondition {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/qiniu/util/UrlUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,15 @@
}


/**

Check warning on line 210 in src/main/java/com/qiniu/util/UrlUtils.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/util/UrlUtils.java#L210

First sentence should end with a period. [JavadocStyle]
* 如果 host 包含 scheme 则优先使用 host 中包含的 scheme
* 如果 host 不包含 scheme 则按照 useHttps 增加 scheme
*
* @param host 域名
* @param useHttps 是否使用 https
* @return 合成后的 url
*/
public static String setHostScheme(String host, boolean useHttps) {

Check warning on line 218 in src/main/java/com/qiniu/util/UrlUtils.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/util/UrlUtils.java#L218

Parameter host should be final. [FinalParameters]

Check warning on line 218 in src/main/java/com/qiniu/util/UrlUtils.java

View check run for this annotation

qiniu-x / stylecheck

src/main/java/com/qiniu/util/UrlUtils.java#L218

Parameter useHttps should be final. [FinalParameters]
if (host == null || StringUtils.isNullOrEmpty(host)) {
return null;
}
Expand Down
Loading