Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Commit

Permalink
[docs](pixiv-engine): 修改JavaDoc同时修改错误的方法名
Browse files Browse the repository at this point in the history
  • Loading branch information
mikoto2464 committed Jan 23, 2022
1 parent 370c2ad commit ef7c1ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,13 @@ public PixivData getPixivDataByTag(@NotNull String tag, @NotNull PixivDataDao pi
*
* @param tag Tag name.
* @param pixivDataDao Dao object of database.
* @param column Sort by.
* @param type Sorting method.
* @param count The number of pixiv data.
* @return A pixiv data.
* @throws SQLException An error.
*/
public Set<PixivData> getMultiPixiDataByTag(@NotNull String tag, @NotNull PixivDataDao pixivDataDao, Column column, Type type, int count) throws SQLException {
public Set<PixivData> getMultiPixivDataByTag(@NotNull String tag, @NotNull PixivDataDao pixivDataDao, Column column, Type type, int count) throws SQLException {
ArrayList<String> pageArray = getPageArray(type);
ArrayList<PixivData> outputPixivDataArrayList = new ArrayList<>();
int outputPixivDataCount = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/net/mikoto/pixiv/engine/PixivEngineTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void test() {
PixivEngine pixivEngine = new PixivEngine(config);

try {
Set<PixivData> pixivDataSet = pixivEngine.getPixivDataService().getMultiPixiDataByTag("³õÒô", pixivEngine.getPixivDataDao(), Column.bookmark_count, Type.desc, 5);
Set<PixivData> pixivDataSet = pixivEngine.getPixivDataService().getMultiPixivDataByTag("³õÒô", pixivEngine.getPixivDataDao(), Column.bookmark_count, Type.desc, 5);
for (PixivData pixivData :
pixivDataSet) {
config.getLogger().log(pixivData.toJsonObject().toJSONString());
Expand Down

0 comments on commit ef7c1ef

Please sign in to comment.