Skip to content

Commit b6de020

Browse files
committed
Upgrade beanutils dependency to avoid potential security issue
1 parent 4e521d9 commit b6de020

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
<version>2.17.1</version>
7373
</dependency>
7474
<dependency>
75-
<groupId>commons-beanutils</groupId>
76-
<artifactId>commons-beanutils</artifactId>
77-
<version>1.9.4</version>
75+
<groupId>org.apache.commons</groupId>
76+
<artifactId>commons-beanutils2</artifactId>
77+
<version>2.0.0-M1</version>
7878
</dependency>
7979
<dependency>
8080
<groupId>commons-logging</groupId>

src/main/java/com/sforce/ws/bind/XmlObjectWrapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
import javax.xml.namespace.QName;
2424

25-
import org.apache.commons.beanutils.PropertyUtils;
25+
import org.apache.commons.beanutils2.PropertyUtils;
2626

2727
import com.sforce.ws.ConnectionException;
2828
import com.sforce.ws.parser.XmlInputStream;
2929
import com.sforce.ws.parser.XmlOutputStream;
3030
import com.sforce.ws.wsdl.Constants;
31-
import org.apache.commons.beanutils.SuppressPropertiesBeanIntrospector;
31+
import org.apache.commons.beanutils2.SuppressPropertiesBeanIntrospector;
3232

3333
/**
3434
* This class wraps an XMLizable and presents it as an XmlObject so that we

src/test/java/com/sforce/ws/codegen/ToStringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
import com.sforce.ws.bind.XMLizable;
3939
import com.sforce.ws.tools.wsdlc;
40-
import org.apache.commons.beanutils.PropertyUtils;
40+
import org.apache.commons.beanutils2.PropertyUtils;
4141
import org.junit.AfterClass;
4242
import org.junit.Assert;
4343
import org.junit.BeforeClass;

0 commit comments

Comments
 (0)