Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 441810505
  • Loading branch information
Googler authored and copybara-github committed Apr 14, 2022
1 parent 563d12a commit ad7dae3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ public CodecDescriptor getCodecDescriptorForObject(Object obj)
*
* <p>Also checks if there are codecs for a superclass of the given type.
*/
private @Nullable CodecDescriptor getCodecDescriptor(Class<?> type) {
@Nullable
private CodecDescriptor getCodecDescriptor(Class<?> type) {
for (Class<?> nextType = type; nextType != null; nextType = nextType.getSuperclass()) {
CodecDescriptor result = classMappedCodecs.get(nextType);
if (result != null) {
Expand Down

0 comments on commit ad7dae3

Please sign in to comment.