Skip to content

Commit 0070ac1

Browse files
Make UnsafeByteOperations stable; removing experimental annotation.
PiperOrigin-RevId: 610787227
1 parent fe60e5b commit 0070ac1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
/**
1414
* Provides a number of unsafe byte operations to be used by advanced applications with high
15-
* performance requirements. These methods are referred to as "unsafe" because they
16-
* potentially expose the backing buffer of a {@link ByteString} to the application.
15+
* performance requirements. These methods are referred to as "unsafe" because they potentially
16+
* expose the backing buffer of a {@link ByteString} to the application.
1717
*
1818
* <p><strong>DISCLAIMER:</strong> The methods in this class should only be called if it is
1919
* guaranteed that the buffer backing the {@link ByteString} will never change! Mutation of a {@link
@@ -38,7 +38,6 @@
3838
* parts of the code base modifying the buffer. In fact, both parts of the code base may be correct
3939
* - it is the bridging with the unsafe operations that was in error!
4040
*/
41-
@ExperimentalApi
4241
public final class UnsafeByteOperations {
4342
private UnsafeByteOperations() {}
4443

0 commit comments

Comments
 (0)