Skip to content

Commit

Permalink
Format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LTPhantom committed May 6, 2024
1 parent db6a51f commit dfda82f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
* Encodes and decodes values by reading from a ByteBuffer and writing to a ByteArrayOutputStream.
*/
class AdMessageCodec extends StandardMessageCodec {

// The type values below must be consistent for each platform.
private static final byte VALUE_AD_SIZE = (byte) 128;
private static final byte VALUE_AD_REQUEST = (byte) 129;
Expand Down Expand Up @@ -72,7 +71,8 @@ class AdMessageCodec extends StandardMessageCodec {
@NonNull Context context;
@NonNull final FlutterAdSize.AdSizeFactory adSizeFactory;
@SuppressWarnings("deprecation")
@Nullable private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable
private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@NonNull private final FlutterRequestAgentProvider requestAgentProvider;

AdMessageCodec(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ class FlutterAdRequest {
@Nullable private final Integer httpTimeoutMillis;
@Nullable private final String mediationExtrasIdentifier;
@SuppressWarnings("deprecation")
@Nullable private final MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable
private final MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable private final Map<String, String> adMobExtras;
@NonNull private final String requestAgent;
@Nullable private final List<FlutterMediationExtras> mediationExtras;
Expand All @@ -50,7 +51,8 @@ protected static class Builder {
@Nullable private Integer httpTimeoutMillis;
@Nullable private String mediationExtrasIdentifier;
@SuppressWarnings("deprecation")
@Nullable private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable
private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable private Map<String, String> adMobExtras;
@NonNull private String requestAgent;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ private static <T> T requireNonNull(T obj) {
@Nullable private UserMessagingPlatformManager userMessagingPlatformManager;
private final Map<String, NativeAdFactory> nativeAdFactories = new HashMap<>();
@SuppressWarnings("deprecation")
@Nullable private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
@Nullable
private MediationNetworkExtrasProvider mediationNetworkExtrasProvider;
private final FlutterMobileAdsWrapper flutterMobileAds;
/**
* Public constructor for the plugin. Dependency initialization is handled in lifecycle methods
Expand Down

0 comments on commit dfda82f

Please sign in to comment.