forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
ReflectionsException
while scanning docstrings (line#2494)
Motivation: `DocStringsExtractor` makes `Reflections` throw a `ReflectionsException` if a resource folder (e.g. `META-INF/armeria/grpc`) exists but it contains no files. Modifications: - Do not attempt to call `Reflections.getResources()` if the resource folder does not contain any files. Result: - No more `ReflectionsException` while scanning docstrings. - Fixes line#2491
- Loading branch information
Showing
1 changed file
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters