Skip to content

Commit

Permalink
Downgrade Reflections from 0.9.12 to 0.9.11 (line#2519)
Browse files Browse the repository at this point in the history
.. due to a known regression: ronmamo/reflections#279
  • Loading branch information
trustin authored and jrhee17 committed Feb 22, 2020
1 parent 2830d77 commit 2d16c7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import org.reflections.util.ClasspathHelper;
import org.reflections.util.ConfigurationBuilder;
import org.reflections.util.FilterBuilder;
import org.reflections.util.Utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -82,7 +81,7 @@ private Map<String, String> getAllDocStrings0(ClassLoader classLoader) {

final Reflections reflections = new Reflections(configuration);
final Store store = reflections.getStore();
if (!store.keySet().contains(Utils.index(ResourcesScanner.class))) {
if (!store.keySet().contains(ResourcesScanner.class.getSimpleName())) {
// No resources were found.
return ImmutableMap.of();
}
Expand Down
3 changes: 2 additions & 1 deletion dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,8 @@ org.reactivestreams:

org.reflections:
reflections:
version: '0.9.12'
# Upgrade once https://github.com/ronmamo/reflections/issues/279 is fixed.
version: '0.9.11'
exclusions:
- com.google.errorprone:error_prone_annotations
- com.google.j2objc:j2objc-annotations
Expand Down

0 comments on commit 2d16c7f

Please sign in to comment.