Skip to content

Commit 1a431c3

Browse files
committed
Fixed issue with a method reference in a stream during the docker build
1 parent 3233ba3 commit 1a431c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/ohdsi/webapi/statistic/service/StatisticService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private List<AccessTrendDto> extractAccessTrends(Path path, List<EndpointDto> en
163163
.map(str -> {
164164
return patterns.stream()
165165
.map(pattern -> pattern.matcher(str))
166-
.filter(Matcher::matches)
166+
.filter(matcher -> matcher.matches())
167167
.map(matcher -> new AccessTrendDto(matcher.group(4), matcher.group(1), showUserInformation ? matcher.group(3) : null))
168168
.findFirst();
169169
})

0 commit comments

Comments
 (0)