Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.maven.api.feature;

import java.util.Map;
import java.util.Properties;

import org.apache.maven.api.Constants;
import org.apache.maven.api.annotations.Nullable;
Expand Down Expand Up @@ -55,10 +54,6 @@ public static boolean deployBuildPom(@Nullable Map<String, ?> userProperties) {
return doGet(userProperties, Constants.MAVEN_DEPLOY_BUILD_POM, true);
}

private static boolean doGet(Properties userProperties, String key, boolean def) {
return doGet(userProperties != null ? userProperties.get(key) : null, def);
}

private static boolean doGet(Map<String, ?> userProperties, String key, boolean def) {
return doGet(userProperties != null ? userProperties.get(key) : null, def);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.Map;
import java.util.Set;

import org.apache.maven.api.cli.mvnup.UpgradeOptions;
import org.apache.maven.cling.invoker.mvnup.UpgradeContext;
import org.jdom2.Document;
import org.junit.jupiter.api.BeforeEach;
Expand Down Expand Up @@ -61,14 +60,6 @@ private UpgradeContext createMockContext() {
return TestUtils.createMockContext();
}

private UpgradeContext createMockContext(UpgradeOptions options) {
return TestUtils.createMockContext(options);
}

private UpgradeOptions createDefaultOptions() {
return TestUtils.createDefaultOptions();
}

@Nested
@DisplayName("Strategy Execution")
class StrategyExecutionTests {
Expand Down
Loading