Skip to content

Commit 182b988

Browse files
committed
code review
1 parent 393d4d2 commit 182b988

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

springdoc-openapi-data-rest/src/main/java/org/springdoc/data/rest/core/DataRestRouterOperationService.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ private Optional<Entry<RequestMappingInfo, HandlerMethod>> getSearchEntry(Map<Re
273273
*/
274274
private boolean isSearchControllerPresent(RequestMappingInfo requestMappingInfo, HandlerMethod handlerMethod, RequestMethod requestMethod) {
275275
if (!UNDOCUMENTED_REQUEST_METHODS.contains(requestMethod)) {
276-
PatternsRequestCondition patternsRequestCondition = requestMappingInfo.getPatternsCondition();
277276
Set<String> patterns = getActivePatterns(requestMappingInfo);
278277
if (!CollectionUtils.isEmpty(patterns)) {
279278
Map<String, String> regexMap = new LinkedHashMap<>();

0 commit comments

Comments
 (0)