Skip to content

Commit c6f5564

Browse files
committed
Polishing.
Remove unused method. See #94
1 parent 3593bd7 commit c6f5564

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/main/java/org/springframework/data/release/deployment/DefaultDeploymentInformation.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import org.springframework.data.release.model.ModuleIteration;
3333
import org.springframework.data.release.model.SupportedProject;
3434
import org.springframework.util.StringUtils;
35-
import org.springframework.web.util.UriTemplate;
3635

3736
/**
3837
* Information about a deployment.
@@ -85,11 +84,6 @@ public static String createBuildNumber(ModuleIteration module) {
8584
return String.format("%s-%s-release-%s", getBuildName(module.getSupportedProject()), branch, actualBuildNumber);
8685
}
8786

88-
@Override
89-
public DeploymentInformation withModule(ModuleIteration module) {
90-
return new DefaultDeploymentInformation(module, properties, buildNumber, stagingRepositoryId, authentication);
91-
}
92-
9387
/*
9488
* (non-Javadoc)
9589
* @see org.springframework.data.release.deployment.DeploymentInformation#getBuildName()

src/main/java/org/springframework/data/release/deployment/DeploymentInformation.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,5 @@ public interface DeploymentInformation {
8080
*/
8181
Map<String, Object> getBuildInfoParameters();
8282

83-
DeploymentInformation withModule(ModuleIteration module);
84-
8583
boolean isMavenCentral();
8684
}

0 commit comments

Comments
 (0)