Skip to content

Commit 207350f

Browse files
committed
IDownloader and IProductDeployer changed. method download() now void
1 parent 92a888a commit 207350f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/org/scm4j/deployer/api/IDownloader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ public interface IDownloader {
66

77
<T extends IDeploymentContext> T getContextByArtifactId(String artifactId);
88

9-
File getProductFile(String coords) throws Exception;
9+
void getProductFile(String coords);
1010

11-
File getProductWithDependency(String coords) throws Exception;
11+
void getProductWithDependency(String coords);
1212

1313
void loadProductDependency(File repository);
1414

src/main/java/org/scm4j/deployer/api/IProductDeployer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
package org.scm4j.deployer.api;
22

3-
import java.io.File;
43
import java.util.List;
54
import java.util.Map;
65

76
public interface IProductDeployer {
87

98
DeploymentResult deploy(String artifactId, String version);
109

11-
File download(String artifactId, String version);
10+
void download(String artifactId, String version);
1211

1312
List<String> listProducts();
1413

0 commit comments

Comments
 (0)