package retrofit2.converter.scalars; import java.io.IOException; import okhttp3.MediaType; import okhttp3.RequestBody; import retrofit2.Converter; /* loaded from: classes.dex */ final class ScalarRequestBodyConverter implements Converter { static final ScalarRequestBodyConverter INSTANCE = new ScalarRequestBodyConverter<>(); private static final MediaType MEDIA_TYPE = MediaType.get("text/plain; charset=UTF-8"); /* JADX WARN: Multi-variable type inference failed */ @Override // retrofit2.Converter public final /* bridge */ /* synthetic */ RequestBody convert(Object obj) throws IOException { return convert2((ScalarRequestBodyConverter) obj); } private ScalarRequestBodyConverter() { } @Override // retrofit2.Converter /* renamed from: convert, reason: avoid collision after fix types in other method */ public final RequestBody convert2(T t) throws IOException { return RequestBody.create(MEDIA_TYPE, String.valueOf(t)); } }