Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 15c59ec

Browse files
committed
更新
1 parent 3f4cab6 commit 15c59ec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class Main implements CommandExecutor,Listener{
9696
<dependency>
9797
<groupId>top.qscraft</groupId>
9898
<artifactId>dodoopenjava</artifactId>
99-
<version>3.2.2</version>
99+
<version>3.2.3</version>
100100
</dependency>
101101
</dependencies>
102102
```
@@ -109,7 +109,7 @@ public class Main implements CommandExecutor,Listener{
109109
}
110110
111111
dependencies {
112-
implementation 'top.qscraft:dodoopenjava:3.2.2'
112+
implementation 'top.qscraft:dodoopenjava:3.2.3'
113113
}
114114
```
115115
### 教程(过于古老,无参考价值,改日重写)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>io.github.minecraftchampions.dodoopenjava</groupId>
1515
<artifactId>DodoOpenJava</artifactId>
16-
<version>3.2.2</version>
16+
<version>3.2.3</version>
1717
<packaging>jar</packaging>
1818
<name>DodoOpenJava</name>
1919

src/main/java/io/github/minecraftchampions/dodoopenjava/ApiResultsLogger.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void addResult(@NonNull Result result) {
4646
*
4747
* @return 日志
4848
*/
49-
public CompletableFuture<ConcurrentSkipListMap<Long, LinkedHashSet<Result>>> getAllLogs() {
49+
public CompletableFuture<Map<Long, LinkedHashSet<Result>>> getAllLogs() {
5050
return getLogs(null, null);
5151
}
5252

@@ -57,7 +57,7 @@ public CompletableFuture<ConcurrentSkipListMap<Long, LinkedHashSet<Result>>> get
5757
* @param endDate 结束
5858
* @return 日志
5959
*/
60-
public CompletableFuture<ConcurrentSkipListMap<Long, LinkedHashSet<Result>>> getLogs(Date startDate, Date endDate) {
60+
public CompletableFuture<Map<Long, LinkedHashSet<Result>>> getLogs(Date startDate, Date endDate) {
6161
long startTimestamp;
6262
long endTimestamp;
6363
if (startDate == null) {
@@ -80,7 +80,7 @@ public CompletableFuture<ConcurrentSkipListMap<Long, LinkedHashSet<Result>>> get
8080
* @param endTimestamp 结束
8181
* @return 日志
8282
*/
83-
public CompletableFuture<ConcurrentSkipListMap<Long, LinkedHashSet<Result>>> getLogs(long startTimestamp, long endTimestamp) {
83+
public CompletableFuture<Map<Long, LinkedHashSet<Result>>> getLogs(long startTimestamp, long endTimestamp) {
8484
return CompletableFuture.supplyAsync(() -> {
8585
Map<Long, LinkedHashSet<Result>> subMap = resultsLogMap.subMap(startTimestamp, true, endTimestamp, true);
8686
ConcurrentSkipListMap<Long, LinkedHashSet<Result>> deepCopiedMap = new ConcurrentSkipListMap<>();

0 commit comments

Comments
 (0)