Polishing.

Remove unused method.

See #94
This commit is contained in:
Mark Paluch
2024-08-15 11:02:54 +02:00
parent 3593bd7437
commit c6f5564ade
2 changed files with 0 additions and 8 deletions

View File

@@ -32,7 +32,6 @@ import org.springframework.data.release.git.GitProject;
import org.springframework.data.release.model.ModuleIteration;
import org.springframework.data.release.model.SupportedProject;
import org.springframework.util.StringUtils;
import org.springframework.web.util.UriTemplate;
/**
* Information about a deployment.
@@ -85,11 +84,6 @@ public class DefaultDeploymentInformation implements DeploymentInformation {
return String.format("%s-%s-release-%s", getBuildName(module.getSupportedProject()), branch, actualBuildNumber);
}
@Override
public DeploymentInformation withModule(ModuleIteration module) {
return new DefaultDeploymentInformation(module, properties, buildNumber, stagingRepositoryId, authentication);
}
/*
* (non-Javadoc)
* @see org.springframework.data.release.deployment.DeploymentInformation#getBuildName()

View File

@@ -80,7 +80,5 @@ public interface DeploymentInformation {
*/
Map<String, Object> getBuildInfoParameters();
DeploymentInformation withModule(ModuleIteration module);
boolean isMavenCentral();
}