Skip to content

Commit

Permalink
Java 8 Compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-bot committed May 22, 2024
1 parent 64765ea commit 31254ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/java/com/assemblyai/api/core/ClientOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ private ClientOptions(
this.environment = environment;
this.headers = new HashMap<>();
this.headers.putAll(headers);
this.headers.putAll(Map.of(
"X-Fern-SDK-Name",
"com.assemblyai.fern:api-sdk",
"X-Fern-SDK-Version",
"1.0.9",
"X-Fern-Language",
"JAVA"));
this.headers.putAll(new HashMap<String, String>() {
{
put("X-Fern-SDK-Name", "com.assemblyai.fern:api-sdk");
put("X-Fern-SDK-Version", "1.0.9");
put("X-Fern-Language", "JAVA");
}
});
this.headerSuppliers = headerSuppliers;
this.httpClient = httpClient;
}
Expand Down

0 comments on commit 31254ef

Please sign in to comment.