正在查看: Clean Center v0.5.5 应用的 e42.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Clean Center v0.5.5 应用的 e42.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.yandex.mobile.ads.impl;
import android.util.Log;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import kotlin.collections.CollectionsKt;
import kotlin.text.StringsKt;
public final class e42 {
private static final List<String> a = CollectionsKt.listOf((Object[]) new String[]{"The integrated version of the Yandex Mobile Ads SDK is outdated.", "Please update com.yandex.android:mobileads to the latest version."});
private static String a(int i, String str) {
return "* " + str + StringsKt.repeat(" ", i - str.length()) + " *";
}
public static void b() {
Integer valueOf;
List plus = CollectionsKt.plus((Collection) CollectionsKt.plus((Collection) a, (Iterable) CollectionsKt.listOf((Object[]) new String[]{"Learn more about the latest version of the SDK here:", "https://yandex.ru/dev/mobile-ads/doc/android/quick-start/android-ads-component.html"})), (Iterable) a());
Iterator it = plus.iterator();
String str = null;
if (it.hasNext()) {
valueOf = Integer.valueOf(((String) it.next()).length());
while (it.hasNext()) {
Integer valueOf2 = Integer.valueOf(((String) it.next()).length());
if (valueOf.compareTo(valueOf2) < 0) {
valueOf = valueOf2;
}
}
} else {
valueOf = null;
}
if (valueOf != null) {
int intValue = valueOf.intValue();
String repeat = StringsKt.repeat("*", intValue + 4);
ArrayList arrayList = new ArrayList(CollectionsKt.collectionSizeOrDefault(plus, 10));
Iterator it2 = plus.iterator();
while (it2.hasNext()) {
arrayList.add(a(intValue, (String) it2.next()));
}
str = CollectionsKt.joinToString$default(CollectionsKt.plus((Collection<? extends String>) CollectionsKt.plus((Collection) CollectionsKt.listOf(repeat), (Iterable) arrayList), repeat), "\n", null, null, 0, null, null, 62, null);
}
Log.e("Yandex Mobile Ads", "Yandex Mobile Ads version validation\n" + str + "\n");
}
private static List a() {
if (gl.a() != null) {
return CollectionsKt.listOf("Changelog: " + gl.a());
}
return CollectionsKt.emptyList();
}
}