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