From 867e517da43898c1e94e7e9dd6f2c8cc6dc3d582 Mon Sep 17 00:00:00 2001 From: Rodrigo Lazo Paz Date: Thu, 19 Sep 2024 15:00:01 -0400 Subject: [PATCH] Remove redundant null declaration Since the constructor is private, and the builder sets it to null if missing, this declaration is actually redundant. b/368368914 --- .../com/google/firebase/vertexai/type/GenerationConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt index f582b645c8a..18a8beb2f8d 100644 --- a/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt +++ b/firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type/GenerationConfig.kt @@ -78,7 +78,7 @@ private constructor( val maxOutputTokens: Int?, val stopSequences: List?, val responseMimeType: String?, - val responseSchema: Schema? = null, + val responseSchema: Schema?, ) { /**