Mark UnmodifiableLazyStringList deprecated. UnmodifiableLazyStringList is unnecessary and will be removed in a future release.

PiperOrigin-RevId: 495357579
pull/11300/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 33593edfef
commit 9595cbbf9a
  1. 2
      java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java
  2. 2
      src/file_lists.cmake

@ -43,7 +43,9 @@ import java.util.RandomAccess;
* it cannot be modified via the wrapper. * it cannot be modified via the wrapper.
* *
* @author jonp@google.com (Jon Perlow) * @author jonp@google.com (Jon Perlow)
* @deprecated use {@link LazyStringArrayList#makeImmutable} instead.
*/ */
@Deprecated
public class UnmodifiableLazyStringList extends AbstractList<String> public class UnmodifiableLazyStringList extends AbstractList<String>
implements LazyStringList, RandomAccess { implements LazyStringList, RandomAccess {

@ -168,8 +168,8 @@ set(libprotobuf_hdrs
${protobuf_SOURCE_DIR}/src/google/protobuf/reflection_ops.h ${protobuf_SOURCE_DIR}/src/google/protobuf/reflection_ops.h
${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_field.h ${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_field.h
${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_ptr_field.h ${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_ptr_field.h
${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h
${protobuf_SOURCE_DIR}/src/google/protobuf/service.h ${protobuf_SOURCE_DIR}/src/google/protobuf/service.h
${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h ${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h

Loading…
Cancel
Save