Skip to content

Commit 9ac6e01

Browse files
JAVA-3738 update comment
1 parent c2bd2ac commit 9ac6e01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

gradle-plugin/src/main/java/com/contrastsecurity/gradle/plugin/InstallAgentTask.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public static Path retrieveAgent(
143143
final String jarPath,
144144
final String uuid,
145145
final Project project) {
146-
// Initially attempt to run agent from the previously configured location
146+
// Initially attempt to get agent from the previously configured location
147147
if (jarPath != null) {
148148
final Path agent = Paths.get(jarPath);
149149
if (!Files.exists(agent)) {
@@ -160,7 +160,6 @@ public static Path retrieveAgent(
160160
System.out.println("Agent jar found at " + project.getProjectDir().getPath());
161161
return agent;
162162
}
163-
System.out.println("Connected to Contrast at: " + connection.getRestApiURL());
164163

165164
System.out.println("Attempting to retrieve agent from TeamServer");
166165
// If no jar is provided, and no jarpath configured, attempt to retrieve the agent from TS
@@ -204,7 +203,7 @@ private ContrastSDK connectToContrast() {
204203
final UserAgentProduct gradle = UserAgentProduct.of("contrast-gradle-plugin");
205204
return new ContrastSDK.Builder(config.getUsername(), config.getServiceKey(), config.getApiKey())
206205
.withApiUrl(config.getApiUrl())
207-
// TODO figure out how to define this proxy
206+
// TODO JAVA-8883 figure out how to define this proxy
208207
// .withProxy(proxy) //with proxy?
209208
.withUserAgentProduct(gradle)
210209
.build();

0 commit comments

Comments
 (0)