jrmccluskey commented on code in PR #35752: URL: https://github.com/apache/beam/pull/35752#discussion_r2246233413
########## sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/CachingFactory.java: ########## @@ -36,7 +36,7 @@ * inner factory, so the schema comparison only need happen on the first lookup. */ public class CachingFactory<CreatedT extends @NonNull Object> implements Factory<CreatedT> { - private transient @Nullable ConcurrentHashMap<TypeDescriptor<?>, CreatedT> cache = null; Review Comment: Swapped Nullable for MonotonicNonNull -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org