Skip to content

Commit

Permalink
Remove commons-fileupload2 references (#7490)
Browse files Browse the repository at this point in the history
This removes references to the commons-fileupload2 library is not being use at the moment
  • Loading branch information
Mariovido authored Aug 22, 2024
1 parent fd7f750 commit 4679c0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions dd-java-agent/instrumentation/commons-fileupload/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,12 @@ apply from: "$rootDir/gradle/java.gradle"
addTestSuiteForDir('latestDepTest', 'test')

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

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

testRuntimeOnly project(':dd-java-agent:instrumentation:iast-instrumenter')
latestDepTestImplementation group: 'org.apache.commons', name: 'commons-fileupload2', version: '+'
latestDepTestImplementation group: 'commons-fileupload', name: 'commons-fileupload', version: '1.+'
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MultipartInstrumentationTest extends AgentTestRunner {
InstrumentationBridge.clearIastModules()
}

void 'test commons fileupload2 ParameterParser.parse'() {
void 'test commons fileupload ParameterParser.parse'() {
given:
final module = Mock(PropagationModule)
InstrumentationBridge.registerIastModule(module)
Expand Down

0 comments on commit 4679c0a

Please sign in to comment.