-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
type-inference-wip branch: objects are compared to 0 instead of null #401
Comments
skylot
added a commit
that referenced
this issue
Dec 8, 2018
@sergey-wowwow fixed in the latest commits |
Hi, I've noticed the same thing in new codes, file public static com.paypal.android.foundation.core.operations.Operation<com.paypal.android.foundation.p2p.model.PayPalMeSuggestionsResult> newPayPalMeSuggestionsOperation(com.paypal.android.foundation.core.operations.ChallengePresenter challengePresenter, @android.support.annotation.Nullable java.lang.Object obj, int i) { // java.lang.Object obj is java.lang.String str in master branch
com.paypal.android.foundation.core.CommonContracts.requireAny(challengePresenter);
org.json.JSONObject jSONObject = new org.json.JSONObject();
try {
java.lang.String str = "preferred_id";
if (obj == 0) { // compared with 0
obj = org.json.JSONObject.NULL;
}
jSONObject.put(str, obj); APK: https://drive.google.com/file/d/16O--dtXt35zB1Ahx-9qEYvCmyeF1n0AG/view?usp=sharing |
skylot
added a commit
that referenced
this issue
Feb 26, 2019
@sergey-wowwow fixed in latest commit, please check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, method
com.paypal.android.foundation.account.model.Contact.equals(Object)
APK: https://drive.google.com/file/d/1pdmRyrp6rDEoYsTJn5RLhv39xXRq5Ksh/view?usp=sharing
The text was updated successfully, but these errors were encountered: