|
@@ -2,7 +2,10 @@ package edu.nju.service;
|
|
|
|
|
|
import java.nio.charset.StandardCharsets;
|
|
|
import java.util.*;
|
|
|
+import java.util.stream.Collectors;
|
|
|
|
|
|
+import com.google.common.cache.Cache;
|
|
|
+import com.google.common.cache.CacheBuilder;
|
|
|
import edu.nju.dao.*;
|
|
|
import edu.nju.entities.*;
|
|
|
import edu.nju.model.*;
|
|
@@ -752,9 +755,9 @@ public class AnalyzeService {
|
|
|
|
|
|
public AnalyseVO2 getReviewAnalyseVO2(String caseId, String taskId){
|
|
|
|
|
|
- Cache<String,String> cache = CacheBuilder.newBuilder().build();
|
|
|
- cache.put("word","Hello Guava Cache");
|
|
|
- System.out.println(cache.getIfPresent("word"));
|
|
|
+// Cache<String,String> cache = CacheBuilder.newBuilder().build();
|
|
|
+// cache.put("word","Hello Guava Cache");
|
|
|
+// System.out.println(cache.getIfPresent("word"));
|
|
|
|
|
|
|
|
|
Task task=taskDao.findById(taskId);
|