Internal change.

PiperOrigin-RevId: 516635646
pull/12228/head
Protobuf Team Bot 2 years ago committed by Copybara-Service
parent 6e6d0bce4a
commit 5d97d43863
  1. 4
      java/core/src/main/java/com/google/protobuf/UnknownFieldSetLite.java

@ -113,7 +113,9 @@ public final class UnknownFieldSetLite {
* <p>Future calls to methods that attempt to modify this object will throw.
*/
public void makeImmutable() {
this.isMutable = false;
if (this.isMutable) {
this.isMutable = false;
}
}
/** Throws an {@link UnsupportedOperationException} if immutable. */

Loading…
Cancel
Save