Skip to content

Commit 9595cbb

Browse files
Mark UnmodifiableLazyStringList deprecated. UnmodifiableLazyStringList is unnecessary and will be removed in a future release.
PiperOrigin-RevId: 495357579
1 parent 33593ed commit 9595cbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

java/core/src/main/java/com/google/protobuf/UnmodifiableLazyStringList.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
* it cannot be modified via the wrapper.
4444
*
4545
* @author jonp@google.com (Jon Perlow)
46+
* @deprecated use {@link LazyStringArrayList#makeImmutable} instead.
4647
*/
48+
@Deprecated
4749
public class UnmodifiableLazyStringList extends AbstractList<String>
4850
implements LazyStringList, RandomAccess {
4951

src/file_lists.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ set(libprotobuf_hdrs
168168
${protobuf_SOURCE_DIR}/src/google/protobuf/reflection_ops.h
169169
${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_field.h
170170
${protobuf_SOURCE_DIR}/src/google/protobuf/repeated_ptr_field.h
171-
${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h
172171
${protobuf_SOURCE_DIR}/src/google/protobuf/service.h
172+
${protobuf_SOURCE_DIR}/src/google/protobuf/serial_arena.h
173173
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/callback.h
174174
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/common.h
175175
${protobuf_SOURCE_DIR}/src/google/protobuf/stubs/logging.h

0 commit comments

Comments
 (0)