Skip to content

Commit 6ccec5d

Browse files
committed
formatting
1 parent 3f811fd commit 6ccec5d

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

dd-trace-core/src/main/java/datadog/trace/lambda/LambdaAppSecHandler.java

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -829,10 +829,17 @@ static class LambdaEventData {
829829
final Map<String, List<String>> queryParameters;
830830
final Object body;
831831

832-
static final LambdaEventData EMPTY = new LambdaEventData(
833-
Collections.emptyMap(), null, null, null, null,
834-
LambdaTriggerType.UNKNOWN,
835-
Collections.emptyMap(), Collections.emptyMap(), null);
832+
static final LambdaEventData EMPTY =
833+
new LambdaEventData(
834+
Collections.emptyMap(),
835+
null,
836+
null,
837+
null,
838+
null,
839+
LambdaTriggerType.UNKNOWN,
840+
Collections.emptyMap(),
841+
Collections.emptyMap(),
842+
null);
836843

837844
LambdaEventData(
838845
Map<String, String> headers,
@@ -879,7 +886,8 @@ private static class LambdaURIDataAdapter extends URIDataAdapterBase {
879886
}
880887

881888
String forwardedProto = headers != null ? headers.get("x-forwarded-proto") : null;
882-
this.scheme = (forwardedProto != null && !forwardedProto.isEmpty()) ? forwardedProto : "https";
889+
this.scheme =
890+
(forwardedProto != null && !forwardedProto.isEmpty()) ? forwardedProto : "https";
883891

884892
String forwardedPort = headers != null ? headers.get("x-forwarded-port") : null;
885893
int parsedPort = -1;

0 commit comments

Comments
 (0)