Skip to content

Commit e9a25f7

Browse files
chore: generate libraries at Wed Jun 11 08:40:50 UTC 2025
1 parent 7f5b751 commit e9a25f7

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/StructReader.java

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,8 @@ default float getFloat(String columnName) {
179179
/**
180180
* @param columnIndex index of the column
181181
* @return the value of a column with type T or null if the column contains a null value
182-
* <p>Example
183-
*
184-
* <pre>{@code
182+
* <p>Example
183+
* <pre>{@code
185184
* Struct row = ...
186185
* String name = row.getOrNull(1, row::getString)
187186
* }</pre>
@@ -193,9 +192,8 @@ default <T> T getOrNull(int columnIndex, Function<Integer, T> function) {
193192
/**
194193
* @param columnName index of the column
195194
* @return the value of a column with type T or null if the column contains a null value
196-
* <p>Example
197-
*
198-
* <pre>{@code
195+
* <p>Example
196+
* <pre>{@code
199197
* Struct row = ...
200198
* String name = row.getOrNull("name", row::getString)
201199
* }</pre>
@@ -207,9 +205,8 @@ default <T> T getOrNull(String columnName, Function<String, T> function) {
207205
/**
208206
* @param columnIndex index of the column
209207
* @return the value of a column with type T, or the given default if the column value is null
210-
* <p>Example
211-
*
212-
* <pre>{@code
208+
* <p>Example
209+
* <pre>{@code
213210
* Struct row = ...
214211
* String name = row.getOrDefault(1, row::getString, "")
215212
* }</pre>
@@ -221,10 +218,8 @@ default <T> T getOrDefault(int columnIndex, Function<Integer, T> function, T def
221218
/**
222219
* @param columnName name of the column
223220
* @return the value of a column with type T, or the given default if the column value is null
224-
*
225-
* <p>Example
226-
*
227-
* <pre>{@code
221+
* <p>Example
222+
* <pre>{@code
228223
* Struct row = ...
229224
* String name = row.getOrDefault("name", row::getString, "")
230225
* }</pre>

0 commit comments

Comments
 (0)