Remove unnecessarily suppressed warnings: rawtypes

PiperOrigin-RevId: 653400633
pull/17452/head
Mark Hansen 8 months ago committed by Copybara-Service
parent a8d83db3c7
commit 90250161d4
  1. 4
      java/core/src/main/java/com/google/protobuf/GeneratedMessage.java

@ -843,7 +843,7 @@ public abstract class GeneratedMessage extends AbstractMessage implements Serial
* the generated API only allows us to access it as a map. This method returns the underlying
* map field directly and thus enables us to access the map field as a list.
*/
@SuppressWarnings({"unused", "rawtypes"})
@SuppressWarnings("unused")
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int fieldNumber) {
return internalGetMapField(fieldNumber);
}
@ -858,7 +858,7 @@ public abstract class GeneratedMessage extends AbstractMessage implements Serial
}
/** Like {@link #internalGetMapFieldReflection} but return a mutable version. */
@SuppressWarnings({"unused", "rawtypes"})
@SuppressWarnings("unused")
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int fieldNumber) {
return internalGetMutableMapField(fieldNumber);
}

Loading…
Cancel
Save