We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 814d755 commit ff2b548Copy full SHA for ff2b548
src/test/java/org/apache/ibatis/scripting/xmltags/OgnlCacheTest.java
@@ -42,9 +42,7 @@ class DataClass {
42
List<Future<Object>> futures = new ArrayList<>();
43
context.put("data", new DataClass());
44
ExecutorService executor = Executors.newCachedThreadPool();
45
- IntStream.range(0, run).forEach(i -> {
46
- futures.add(executor.submit(() -> OgnlCache.getValue("data.id", context)));
47
- });
+ IntStream.range(0, run).forEach(i -> futures.add(executor.submit(() -> OgnlCache.getValue("data.id", context))));
48
for (int i = 0; i < run; i++) {
49
assertNotNull(futures.get(i).get());
50
}
0 commit comments