Skip to content

Commit 0f2fffa

Browse files
author
Zach Chuba
committed
Remove commons-collections:commons-collections references from sourcecode.
Replacing with org.apache.commons:commons-collections4. This ensures the outdated dependency is not used by pulsar code, but does not strip commons-collections from transitive dependencies. Initially aimed at addressing a CVE bundled with commons-collections, but does not clear commons-collections from the classpath.
1 parent 771ce41 commit 0f2fffa

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

managed-ledger/src/test/java/org/apache/bookkeeper/mledger/impl/ManagedCursorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
import org.apache.bookkeeper.mledger.proto.MLDataFormats.PositionInfo;
113113
import org.apache.bookkeeper.mledger.util.ManagedLedgerUtils;
114114
import org.apache.bookkeeper.test.MockedBookKeeperTestCase;
115-
import org.apache.commons.collections.iterators.EmptyIterator;
115+
import org.apache.commons.collections4.iterators.EmptyIterator;
116116
import org.apache.commons.lang3.mutable.MutableBoolean;
117117
import org.apache.pulsar.common.api.proto.CommandSubscribe;
118118
import org.apache.pulsar.common.api.proto.IntRange;

pulsar-client-admin-shaded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
<include>com.yahoo.datasketches:sketches-core</include>
129129
<include>commons-*:*</include>
130130
<include>commons-codec:commons-codec</include>
131-
<include>commons-collections:commons-collections</include>
131+
<include>org.apache.commons:commons-collections4</include>
132132
<include>io.airlift:*</include>
133133
<include>io.grpc:*</include>
134134
<include>io.netty.incubator:*</include>

pulsar-client-all/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
<include>com.yahoo.datasketches:sketches-core</include>
172172
<include>commons-*:*</include>
173173
<include>commons-codec:commons-codec</include>
174-
<include>commons-collections:commons-collections</include>
174+
<include>org.apache.commons:commons-collections4</include>
175175
<include>io.airlift:*</include>
176176
<include>io.grpc:*</include>
177177
<include>io.netty.incubator:*</include>

pulsar-client-shaded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
<include>com.yahoo.datasketches:sketches-core</include>
146146
<include>commons-*:*</include>
147147
<include>commons-codec:commons-codec</include>
148-
<include>commons-collections:commons-collections</include>
148+
<include>org.apache.commons:commons-collections4</include>
149149
<include>io.airlift:*</include>
150150
<include>io.netty.incubator:*</include>
151151
<include>io.netty:*</include>

0 commit comments

Comments
 (0)