Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
3.0.4 vs 3.0.3
作成日
3 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
20 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
147 行
すべてコピー
10 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
138 行
すべてコピー
//
//
// Source code recreated from a .class file by IntelliJ IDEA
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
// (powered by FernFlower decompiler)
//
//
package com.amazon.device.iap.internal;
package com.amazon.device.iap.internal;
import android.app.Application;
import android.app.Application;
import android.content.Context;
import android.content.Context;
import android.content.Intent;
import android.content.Intent;
import com.amazon.a.a;
import com.amazon.a.a;
import com.amazon.a.a.o.f;
import com.amazon.a.a.o.f;
import com.amazon.device.iap.PurchasingListener;
import com.amazon.device.iap.PurchasingListener;
import com.amazon.device.iap.internal.util.b;
import com.amazon.device.iap.internal.util.b;
import com.amazon.device.iap.model.FulfillmentResult;
import com.amazon.device.iap.model.FulfillmentResult;
import com.amazon.device.iap.model.RequestId;
import com.amazon.device.iap.model.RequestId;
import java.util.Iterator;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.Set;
public class d {
public class d {
private static String a = d.class.getSimpleName();
private static String a = d.class.getSimpleName();
private static String b = "sku";
private static String b = "sku";
private static d c = new d();
private static d c = new d();
private e d;
private e d;
private Context e;
private Context e;
private PurchasingListener f;
private PurchasingListener f;
コピー
コピー済み
コピー
コピー済み
private boolean g = false;
private d() {
private d() {
}
}
public PurchasingListener a() {
public PurchasingListener a() {
return this.f;
return this.f;
}
}
public Context b() {
public Context b() {
return this.e;
return this.e;
}
}
コピー
コピー済み
コピー
コピー済み
public void c() {
private void
f
() {
this.g = true;
}
public boolean d() {
return this.g;
}
private void
h
() {
if (null == this.f) {
if (null == this.f) {
throw new IllegalStateException("You must register a PurchasingListener before invoking this operation");
throw new IllegalStateException("You must register a PurchasingListener before invoking this operation");
}
}
}
}
public void a(Context var1, PurchasingListener var2) {
public void a(Context var1, PurchasingListener var2) {
com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener registered: " + var2);
com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener registered: " + var2);
com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener Context: " + var1);
com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener Context: " + var1);
if (null != var2 && null != var1) {
if (null != var2 && null != var1) {
this.e = var1.getApplicationContext();
this.e = var1.getApplicationContext();
this.d = com.amazon.device.iap.internal.b.a().a(this.e);
this.d = com.amazon.device.iap.internal.b.a().a(this.e);
if (this.d == null) {
if (this.d == null) {
com.amazon.device.iap.internal.util.b.a(a, "requestHandler is null");
com.amazon.device.iap.internal.util.b.a(a, "requestHandler is null");
}
}
this.f = var2;
this.f = var2;
} else {
} else {
throw new IllegalArgumentException("Neither PurchasingListener or its Context can be null");
throw new IllegalArgumentException("Neither PurchasingListener or its Context can be null");
}
}
}
}
コピー
コピー済み
コピー
コピー済み
public boolean
e
() {
public boolean
c
() {
this.
h
();
this.
f
();
return com.amazon.a.a.a((Application)this.e.getApplicationContext());
return com.amazon.a.a.a((Application)this.e.getApplicationContext());
}
}
コピー
コピー済み
コピー
コピー済み
public RequestId
f
() {
public RequestId
d
() {
this.
h
();
this.
f
();
RequestId var1 = new RequestId();
RequestId var1 = new RequestId();
this.d.a(var1);
this.d.a(var1);
return var1;
return var1;
}
}
public RequestId a(String var1) {
public RequestId a(String var1) {
com.amazon.a.a.o.f.a(var1, b);
com.amazon.a.a.o.f.a(var1, b);
コピー
コピー済み
コピー
コピー済み
this.
h
();
this.
f
();
RequestId var2 = new RequestId();
RequestId var2 = new RequestId();
this.d.a(var2, var1);
this.d.a(var2, var1);
return var2;
return var2;
}
}
public RequestId a(Set<String> var1) {
public RequestId a(Set<String> var1) {
com.amazon.a.a.o.f.a(var1, "skus");
com.amazon.a.a.o.f.a(var1, "skus");
com.amazon.a.a.o.f.a(var1, "skus");
com.amazon.a.a.o.f.a(var1, "skus");
Iterator var2 = var1.iterator();
Iterator var2 = var1.iterator();
String var3;
String var3;
do {
do {
if (!var2.hasNext()) {
if (!var2.hasNext()) {
if (var1.size() > 100) {
if (var1.size() > 100) {
throw new IllegalArgumentException(var1.size() + " SKUs were provided, but no more than " + 100 + " SKUs are allowed");
throw new IllegalArgumentException(var1.size() + " SKUs were provided, but no more than " + 100 + " SKUs are allowed");
}
}
コピー
コピー済み
コピー
コピー済み
this.
h
();
this.
f
();
RequestId var4 = new RequestId();
RequestId var4 = new RequestId();
LinkedHashSet var5 = new LinkedHashSet(var1);
LinkedHashSet var5 = new LinkedHashSet(var1);
this.d.a(var4, var5);
this.d.a(var4, var5);
return var4;
return var4;
}
}
var3 = (String)var2.next();
var3 = (String)var2.next();
} while(0 != var3.trim().length());
} while(0 != var3.trim().length());
throw new IllegalArgumentException("Empty SKU values are not allowed");
throw new IllegalArgumentException("Empty SKU values are not allowed");
}
}
public RequestId a(boolean var1) {
public RequestId a(boolean var1) {
コピー
コピー済み
コピー
コピー済み
this.
h
();
this.
f
();
RequestId var2 = new RequestId();
RequestId var2 = new RequestId();
this.d.a(var2, var1);
this.d.a(var2, var1);
return var2;
return var2;
}
}
public void a(String var1, FulfillmentResult var2) {
public void a(String var1, FulfillmentResult var2) {
if (com.amazon.a.a.o.f.a(var1)) {
if (com.amazon.a.a.o.f.a(var1)) {
throw new IllegalArgumentException("Empty receiptId is not allowed");
throw new IllegalArgumentException("Empty receiptId is not allowed");
} else {
} else {
com.amazon.a.a.o.f.a(var2, "fulfillmentResult");
com.amazon.a.a.o.f.a(var2, "fulfillmentResult");
コピー
コピー済み
コピー
コピー済み
this.
h
();
this.
f
();
RequestId var3 = new RequestId();
RequestId var3 = new RequestId();
this.d.a(var3, var1, var2);
this.d.a(var3, var1, var2);
}
}
}
}
public void a(Context var1, Intent var2) {
public void a(Context var1, Intent var2) {
try {
try {
this.d.a(var1, var2);
this.d.a(var1, var2);
} catch (Exception var4) {
} catch (Exception var4) {
com.amazon.device.iap.internal.util.b.b(a, "Error in onReceive: " + var4);
com.amazon.device.iap.internal.util.b.b(a, "Error in onReceive: " + var4);
}
}
}
}
コピー
コピー済み
コピー
コピー済み
public static d
g
() {
public static d
e
() {
return c;
return c;
}
}
}
}
保存された差分
原文
ファイルを開く
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package com.amazon.device.iap.internal; import android.app.Application; import android.content.Context; import android.content.Intent; import com.amazon.a.a; import com.amazon.a.a.o.f; import com.amazon.device.iap.PurchasingListener; import com.amazon.device.iap.internal.util.b; import com.amazon.device.iap.model.FulfillmentResult; import com.amazon.device.iap.model.RequestId; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; public class d { private static String a = d.class.getSimpleName(); private static String b = "sku"; private static d c = new d(); private e d; private Context e; private PurchasingListener f; private boolean g = false; private d() { } public PurchasingListener a() { return this.f; } public Context b() { return this.e; } public void c() { this.g = true; } public boolean d() { return this.g; } private void h() { if (null == this.f) { throw new IllegalStateException("You must register a PurchasingListener before invoking this operation"); } } public void a(Context var1, PurchasingListener var2) { com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener registered: " + var2); com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener Context: " + var1); if (null != var2 && null != var1) { this.e = var1.getApplicationContext(); this.d = com.amazon.device.iap.internal.b.a().a(this.e); if (this.d == null) { com.amazon.device.iap.internal.util.b.a(a, "requestHandler is null"); } this.f = var2; } else { throw new IllegalArgumentException("Neither PurchasingListener or its Context can be null"); } } public boolean e() { this.h(); return com.amazon.a.a.a((Application)this.e.getApplicationContext()); } public RequestId f() { this.h(); RequestId var1 = new RequestId(); this.d.a(var1); return var1; } public RequestId a(String var1) { com.amazon.a.a.o.f.a(var1, b); this.h(); RequestId var2 = new RequestId(); this.d.a(var2, var1); return var2; } public RequestId a(Set<String> var1) { com.amazon.a.a.o.f.a(var1, "skus"); com.amazon.a.a.o.f.a(var1, "skus"); Iterator var2 = var1.iterator(); String var3; do { if (!var2.hasNext()) { if (var1.size() > 100) { throw new IllegalArgumentException(var1.size() + " SKUs were provided, but no more than " + 100 + " SKUs are allowed"); } this.h(); RequestId var4 = new RequestId(); LinkedHashSet var5 = new LinkedHashSet(var1); this.d.a(var4, var5); return var4; } var3 = (String)var2.next(); } while(0 != var3.trim().length()); throw new IllegalArgumentException("Empty SKU values are not allowed"); } public RequestId a(boolean var1) { this.h(); RequestId var2 = new RequestId(); this.d.a(var2, var1); return var2; } public void a(String var1, FulfillmentResult var2) { if (com.amazon.a.a.o.f.a(var1)) { throw new IllegalArgumentException("Empty receiptId is not allowed"); } else { com.amazon.a.a.o.f.a(var2, "fulfillmentResult"); this.h(); RequestId var3 = new RequestId(); this.d.a(var3, var1, var2); } } public void a(Context var1, Intent var2) { try { this.d.a(var1, var2); } catch (Exception var4) { com.amazon.device.iap.internal.util.b.b(a, "Error in onReceive: " + var4); } } public static d g() { return c; } }
変更されたテキスト
ファイルを開く
// // Source code recreated from a .class file by IntelliJ IDEA // (powered by FernFlower decompiler) // package com.amazon.device.iap.internal; import android.app.Application; import android.content.Context; import android.content.Intent; import com.amazon.a.a; import com.amazon.a.a.o.f; import com.amazon.device.iap.PurchasingListener; import com.amazon.device.iap.internal.util.b; import com.amazon.device.iap.model.FulfillmentResult; import com.amazon.device.iap.model.RequestId; import java.util.Iterator; import java.util.LinkedHashSet; import java.util.Set; public class d { private static String a = d.class.getSimpleName(); private static String b = "sku"; private static d c = new d(); private e d; private Context e; private PurchasingListener f; private d() { } public PurchasingListener a() { return this.f; } public Context b() { return this.e; } private void f() { if (null == this.f) { throw new IllegalStateException("You must register a PurchasingListener before invoking this operation"); } } public void a(Context var1, PurchasingListener var2) { com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener registered: " + var2); com.amazon.device.iap.internal.util.b.a(a, "PurchasingListener Context: " + var1); if (null != var2 && null != var1) { this.e = var1.getApplicationContext(); this.d = com.amazon.device.iap.internal.b.a().a(this.e); if (this.d == null) { com.amazon.device.iap.internal.util.b.a(a, "requestHandler is null"); } this.f = var2; } else { throw new IllegalArgumentException("Neither PurchasingListener or its Context can be null"); } } public boolean c() { this.f(); return com.amazon.a.a.a((Application)this.e.getApplicationContext()); } public RequestId d() { this.f(); RequestId var1 = new RequestId(); this.d.a(var1); return var1; } public RequestId a(String var1) { com.amazon.a.a.o.f.a(var1, b); this.f(); RequestId var2 = new RequestId(); this.d.a(var2, var1); return var2; } public RequestId a(Set<String> var1) { com.amazon.a.a.o.f.a(var1, "skus"); com.amazon.a.a.o.f.a(var1, "skus"); Iterator var2 = var1.iterator(); String var3; do { if (!var2.hasNext()) { if (var1.size() > 100) { throw new IllegalArgumentException(var1.size() + " SKUs were provided, but no more than " + 100 + " SKUs are allowed"); } this.f(); RequestId var4 = new RequestId(); LinkedHashSet var5 = new LinkedHashSet(var1); this.d.a(var4, var5); return var4; } var3 = (String)var2.next(); } while(0 != var3.trim().length()); throw new IllegalArgumentException("Empty SKU values are not allowed"); } public RequestId a(boolean var1) { this.f(); RequestId var2 = new RequestId(); this.d.a(var2, var1); return var2; } public void a(String var1, FulfillmentResult var2) { if (com.amazon.a.a.o.f.a(var1)) { throw new IllegalArgumentException("Empty receiptId is not allowed"); } else { com.amazon.a.a.o.f.a(var2, "fulfillmentResult"); this.f(); RequestId var3 = new RequestId(); this.d.a(var3, var1, var2); } } public void a(Context var1, Intent var2) { try { this.d.a(var1, var2); } catch (Exception var4) { com.amazon.device.iap.internal.util.b.b(a, "Error in onReceive: " + var4); } } public static d e() { return c; } }
違いを見つける