[Change] AdultContentDetector, PixivURL 整理代码, 补充Javadoc;

This commit is contained in:
2020-06-01 16:12:33 +08:00
parent 4c03a0f7d9
commit 0fafddc715
2 changed files with 5 additions and 3 deletions

View File

@ -173,6 +173,7 @@ public class PixivURL {
/**
* 查询用户收藏.<br/>
* 该URL返回HTML页面需要进行解析.<br/>
* <p>注意: 该接口需要登陆</p>
* 需要替换的文本:<br/>
* {pageIndex} - 页数, 超出了则结果为空<br/>
*/
@ -345,6 +346,7 @@ public class PixivURL {
* @param mode 要检查的RankingMode项
* @return 如果支持返回true
*/
@SuppressWarnings("BooleanMethodIsAlwaysInverted")
public boolean isSupportedMode(RankingMode mode) {
return Arrays.binarySearch(supportedMode, mode) >= 0;
}