You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2025/10/24 19:29:38 UTC
(commons-jxpath) branch master updated: Bump org.apache.commons:commons-parent from 89 to 90
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jxpath.git
The following commit(s) were added to refs/heads/master by this push:
new 5dbafaa1 Bump org.apache.commons:commons-parent from 89 to 90
5dbafaa1 is described below
commit 5dbafaa14a43e4d09c1f94a051e3a3ef82b2a131
Author: Gary D. Gregory <ga...@gmail.com>
AuthorDate: Fri Oct 24 15:29:33 2025 -0400
Bump org.apache.commons:commons-parent from 89 to 90
---
pom.xml | 2 +-
src/changes/changes.xml | 2 +-
src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java | 3 +--
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index d1bb9cf4..c9d4c09f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
- <version>89</version>
+ <version>90</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>commons-jxpath</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0dc4412a..3f5f1020 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -53,7 +53,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="Dima1224, Gary Gregory">Make dynamicPropertyHandlerMap in ValueUtils thread-safe #251.</action>
<!-- ADD -->
<!-- UPDATE -->
- <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 81 to 89 #239, #262, #265.</action>
+ <action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 81 to 90 #239, #262, #265.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-beanutils:commons-beanutils from 1.10.1 to 1.11.0.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.19.0 #249.</action>
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-io:commons-io from 2.19.0 to 2.20.0.</action>
diff --git a/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java b/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
index 7a2020af..b41c6694 100644
--- a/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
+++ b/src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
@@ -291,8 +291,7 @@ public class BasicTypeConverter implements TypeConverter {
protected boolean canCreateCollection(final Class type) {
if (!type.isInterface() && (type.getModifiers() & Modifier.ABSTRACT) == 0) {
try {
- type.getConstructor();
- return true;
+ return type.getConstructor() != null;
} catch (final Exception e) {
return false;
}