-
Notifications
You must be signed in to change notification settings - Fork 625
Address Functions compiler warnings #6544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Improvements include: - Make overriden arguments have the same name as the original ones - Inline variable declarations - Remove unused lambda bodies
Javadoc Changes:--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/functions/Serializer.html 2024-11-29 14:57:31.411067285 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/functions/Serializer.html 2024-11-29 14:54:56.807108588 +0000
@@ -68,7 +68,7 @@
<tr>
<td><code>final <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a></code></td>
<td>
- <div><code><a href="/docs/reference/android/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> obj)</code></div>
+ <div><code><a href="/docs/reference/android/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> obj)</code></div>
</td>
</tr>
<tr>
@@ -91,7 +91,7 @@
<h2>Public methods</h2>
<div class="api-item"><a name="decode-kotlin.Any-"></a><a name="decode"></a>
<h3 class="api-name" id="decode(kotlin.Any)">decode</h3>
- <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> <a href="/docs/reference/android/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> obj)</pre>
+ <pre class="api-signature no-pretty-print">public final <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> <a href="/docs/reference/android/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a> obj)</pre>
</div>
<div class="api-item"><a name="encode-kotlin.Any-"></a><a name="encode"></a>
<h3 class="api-name" id="encode(kotlin.Any)">encode</h3> --- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/functions/Serializer.html 2024-11-29 14:57:31.379067293 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/functions/Serializer.html 2024-11-29 14:54:56.803108588 +0000
@@ -48,7 +48,7 @@
<tr>
<td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</code></td>
<td>
- <div><code><a href="/docs/reference/kotlin/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(obj: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>)</code></div>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(obj: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?)</code></div>
</td>
</tr>
<tr>
@@ -71,7 +71,7 @@
<h2>Public functions</h2>
<div class="api-item"><a name="decode-kotlin.Any-"></a><a name="decode"></a>
<h3 class="api-name" id="decode(kotlin.Any)">decode</h3>
- <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(obj: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/functions/Serializer.html#decode(kotlin.Any)">decode</a>(obj: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?</pre>
</div>
<div class="api-item"><a name="encode-kotlin.Any-"></a><a name="encode"></a>
<h3 class="api-name" id="encode(kotlin.Any)">encode</h3> |
Vertex AI Mock Responses Check
|
Coverage Report 1Affected Products
Test Logs |
Test Results20 files +12 20 suites +12 24s ⏱️ +5s Results for commit 8317dc0. ± Comparison against base commit 0743d5a. This pull request removes 22 and adds 23 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Size Report 1Affected Products
Test Logs |
Improvements include: