Skip to content

Commit

Permalink
cleaning up annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
kolea2 committed Dec 4, 2023
1 parent 755b38b commit ca1a868
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public Set<Entry<String, Object>> entrySet() {
}

/** Returns an unmodifiable map view of the {@link Struct} parameter. */
@InternalApi
public static Map<String, Object> asMap(Struct struct) {
return new StructMap(checkNotNull(struct));
}
Expand All @@ -97,7 +96,6 @@ public static Map<String, Object> asMap(Struct struct) {
* <p>Notice that all numbers (int, long, float and double) are serialized as double values. Enums
* are serialized as strings.
*/
@InternalApi
public static Struct newStruct(Map<String, ?> map) {
Map<String, Value> valueMap = Maps.transformValues(checkNotNull(map), Structs::objectToValue);
return Struct.newBuilder().putAllFields(valueMap).build();
Expand Down

0 comments on commit ca1a868

Please sign in to comment.