Skip to content

Commit 5dbafaa

Browse files
committed
Bump org.apache.commons:commons-parent from 89 to 90
1 parent 0880ecd commit 5dbafaa

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.apache.commons</groupId>
2121
<artifactId>commons-parent</artifactId>
22-
<version>89</version>
22+
<version>90</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>commons-jxpath</groupId>

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ The <action> type attribute can be add,update,fix,remove.
5353
<action type="fix" dev="ggregory" due-to="Dima1224, Gary Gregory">Make dynamicPropertyHandlerMap in ValueUtils thread-safe #251.</action>
5454
<!-- ADD -->
5555
<!-- UPDATE -->
56-
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 81 to 89 #239, #262, #265.</action>
56+
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 81 to 90 #239, #262, #265.</action>
5757
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-beanutils:commons-beanutils from 1.10.1 to 1.11.0.</action>
5858
<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>
5959
<action type="update" dev="ggregory" due-to="Gary Gregory">Bump commons-io:commons-io from 2.19.0 to 2.20.0.</action>

src/main/java/org/apache/commons/jxpath/util/BasicTypeConverter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,7 @@ public boolean canConvert(final Object object, final Class toType) {
291291
protected boolean canCreateCollection(final Class type) {
292292
if (!type.isInterface() && (type.getModifiers() & Modifier.ABSTRACT) == 0) {
293293
try {
294-
type.getConstructor();
295-
return true;
294+
return type.getConstructor() != null;
296295
} catch (final Exception e) {
297296
return false;
298297
}

0 commit comments

Comments
 (0)