Skip to content

Commit

Permalink
just test
Browse files Browse the repository at this point in the history
  • Loading branch information
uarlouski committed Nov 21, 2024
1 parent cb2a59e commit 6945338
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import org.apache.commons.lang3.SystemUtils;
import org.awaitility.Awaitility;
import org.awaitility.core.ConditionTimeoutException;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -214,7 +213,7 @@ private void waitForReady() {
}
}

@NotNull
// @NotNull
private ArrayList<String> createCommand(int port, List<AbstractAddon> addons) {
ArrayList<String> command = new ArrayList<String>() {{
add(getMitmproxyBinaryPath());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public <T> T requestToAddonsManager(String addOnPath,
String contentType,
Class<T> responseClass) {
HttpRequest.Builder requestBuilder = HttpRequest.newBuilder()
.uri(buildRequestUrl(addOnPath, operation, queryParams))
.method(method, requestBody);
.uri(buildRequestUrl(addOnPath, operation, queryParams));

if (requestBody != null) {
requestBuilder.method(method, requestBody).header("Content-Type", contentType);
Expand Down

0 comments on commit 6945338

Please sign in to comment.