This is an automated email from the ASF dual-hosted git repository. jackie pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push: new 183144f07f Upgrade reflections from 0.9.11 to 0.10.2 (#12885) 183144f07f is described below commit 183144f07f72d8fa9eb6e2196328a981a7ce04ec Author: Chaitanya Deepthi <45308220+deepthi...@users.noreply.github.com> AuthorDate: Thu Apr 11 15:46:48 2024 -0400 Upgrade reflections from 0.9.11 to 0.10.2 (#12885) --- .../main/java/org/apache/pinot/spi/utils/PinotReflectionUtils.java | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pinot-spi/src/main/java/org/apache/pinot/spi/utils/PinotReflectionUtils.java b/pinot-spi/src/main/java/org/apache/pinot/spi/utils/PinotReflectionUtils.java index bcc55cd530..582f4ae8ab 100644 --- a/pinot-spi/src/main/java/org/apache/pinot/spi/utils/PinotReflectionUtils.java +++ b/pinot-spi/src/main/java/org/apache/pinot/spi/utils/PinotReflectionUtils.java @@ -53,7 +53,7 @@ public class PinotReflectionUtils { try { synchronized (REFLECTION_LOCK) { return new Reflections(new ConfigurationBuilder().setUrls(ClasspathHelper.forPackage(packageName)) - .filterInputsBy(new FilterBuilder.Include(regexPattern))).getTypesAnnotatedWith(annotation); + .filterInputsBy(new FilterBuilder().includePattern(regexPattern))).getTypesAnnotatedWith(annotation); } } catch (Throwable t) { // Log an error then re-throw it because this method is usually called in a static block, where exception might @@ -73,7 +73,7 @@ public class PinotReflectionUtils { urls.addAll(ClasspathHelper.forPackage(packageName)); } return new Reflections(new ConfigurationBuilder().setUrls(urls) - .filterInputsBy(new FilterBuilder.Include(regexPattern))).getTypesAnnotatedWith(annotation); + .filterInputsBy(new FilterBuilder().includePattern(regexPattern))).getTypesAnnotatedWith(annotation); } } catch (Throwable t) { // Log an error then re-throw it because this method is usually called in a static block, where exception might @@ -93,7 +93,7 @@ public class PinotReflectionUtils { try { synchronized (REFLECTION_LOCK) { return new Reflections(new ConfigurationBuilder().setUrls(ClasspathHelper.forPackage(packageName)) - .filterInputsBy(new FilterBuilder.Include(regexPattern)) + .filterInputsBy(new FilterBuilder().includePattern(regexPattern)) .setScanners(new MethodAnnotationsScanner())).getMethodsAnnotatedWith(annotation); } } catch (Throwable t) { diff --git a/pom.xml b/pom.xml index 75984c5591..f2fdb36efd 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ <quartz.version>2.3.2</quartz.version> <calcite.version>1.36.0</calcite.version> <lucene.version>9.8.0</lucene.version> - <reflections.version>0.9.11</reflections.version> + <reflections.version>0.10.2</reflections.version> <!-- helix-core, spark-core use libraries from io.dropwizard.metrics --> <dropwizard-metrics.version>4.2.25</dropwizard-metrics.version> <snappy-java.version>1.1.10.5</snappy-java.version> --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org