Skip to content

Commit e29b7eb

Browse files
committed
Fix compilation error
1 parent d95d603 commit e29b7eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

log4j-mongodb/src/test/java/org/apache/logging/log4j/mongodb/MongoDbResolver.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,8 @@ public void beforeAll(ExtensionContext context) throws Exception {
9898
protected Package packageOf(
9999
Command command, Distribution distribution, DistributionBaseUrl baseUrl) {
100100
if (distribution.platform().operatingSystem().type() == OSType.Windows) {
101-
final Package relativePackage = legacyPackageResolverFactory()
102-
.apply(command)
103-
.packageFor(distribution);
101+
final Package relativePackage =
102+
commandPackageResolver().apply(command).packageFor(distribution);
104103
final FileSet.Builder fileSetBuilder = FileSet.builder()
105104
.addEntry(FileType.Library, "ssleay32.dll")
106105
.addEntry(FileType.Library, "libeay32.dll");

0 commit comments

Comments
 (0)