Skip to content

Commit 4679c0a

Browse files
authored
Remove commons-fileupload2 references (#7490)
This removes references to the commons-fileupload2 library is not being use at the moment
1 parent fd7f750 commit 4679c0a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dd-java-agent/instrumentation/commons-fileupload/build.gradle

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@ apply from: "$rootDir/gradle/java.gradle"
33
addTestSuiteForDir('latestDepTest', 'test')
44

55
dependencies {
6-
compileOnly group: 'org.apache.commons', name: 'commons-fileupload2', version: '2.0.0-M1'
7-
testImplementation group: 'org.apache.commons', name: 'commons-fileupload2', version: '2.0.0-M1'
86
testImplementation group: 'org.apache.tomcat.embed', name: 'tomcat-embed-core', version: '7.0.0'
97

108
compileOnly group: 'commons-fileupload', name: 'commons-fileupload', version: '1.5'
119
testImplementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.5'
1210
testImplementation group: 'javax.servlet', name: 'javax.servlet-api', version: '3.1.0'
1311

1412
testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter')
15-
latestDepTestImplementation group: 'org.apache.commons', name: 'commons-fileupload2', version: '+'
1613
latestDepTestImplementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.+'
1714
}

dd-java-agent/instrumentation/commons-fileupload/src/test/groovy/MultipartInstrumentationTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MultipartInstrumentationTest extends AgentTestRunner {
2626
InstrumentationBridge.clearIastModules()
2727
}
2828

29-
void 'test commons fileupload2 ParameterParser.parse'() {
29+
void 'test commons fileupload ParameterParser.parse'() {
3030
given:
3131
final module = Mock(PropagationModule)
3232
InstrumentationBridge.registerIastModule(module)

0 commit comments

Comments
 (0)