Skip to content

Commit

Permalink
Merge pull request #1103 from HubSpot/update-guava
Browse files Browse the repository at this point in the history
Update guava to 31.1
  • Loading branch information
jasmith-hs authored Aug 5, 2023
2 parents 3fb854b + e24f9ef commit e76c74c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

<dep.javassist.version>3.24.1-GA</dep.javassist.version>
<dep.plugin.jacoco.version>0.8.3</dep.plugin.jacoco.version>
<dep.guava.version>31.1-jre</dep.guava.version>
<dep.error-prone.version>2.19.1</dep.error-prone.version>

<basepom.test.add.opens>
--add-opens=java.base/java.lang=ALL-UNNAMED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ public static <T extends Tag> Optional<EagerTagDecorator<T>> getEagerTagDecorato
if (TAG_CLASSES_TO_SKIP.contains(clazz)) {
return Optional.empty();
}
if (EAGER_TAG_OVERRIDES.containsKey(clazz)) {
EagerTagDecorator<?> decorator = EAGER_TAG_OVERRIDES
.get(clazz)
Class<? extends EagerTagDecorator<? extends Tag>> eagerOverrideClass = EAGER_TAG_OVERRIDES.get(
clazz
);
if (eagerOverrideClass != null) {
EagerTagDecorator<?> decorator = eagerOverrideClass
.getDeclaredConstructor(clazz)
.newInstance(tag);
if (decorator.getTag().getClass() == clazz) {
Expand Down

0 comments on commit e76c74c

Please sign in to comment.