Commit 1041d62
Remove unused canUseUnsafe() protected method from GeneratedMessage
This was briefly used by generated code internally as part of the experimental parser/runtime work. This method was never used by protoc generated code otherwise.
We don't consider removal of protected methods for the gencode base classes to be a breaking change if they were never called by any released generated code, as it would only break someone who subclassed GeneratedMessage by hand and wrote code who called this which is not supported. In this case there's essentially no reason for someone to have been interested in calling this anyway.
PiperOrigin-RevId: 8433188031 parent 5b116fe commit 1041d62
File tree
1 file changed
+0
-4
lines changed- java/core/src/main/java/com/google/protobuf
1 file changed
+0
-4
lines changedLines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | 374 | | |
379 | 375 | | |
380 | 376 | | |
| |||
0 commit comments