We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e7898f commit 37f109dCopy full SHA for 37f109d
WordPress/src/main/java/org/wordpress/android/models/Person.java
@@ -1,5 +1,7 @@
1
package org.wordpress.android.models;
2
3
+import android.support.annotation.Nullable;
4
+
5
import org.json.JSONException;
6
import org.json.JSONObject;
7
import org.wordpress.android.util.AppLog;
@@ -33,6 +35,7 @@ public Person(long personID,
33
35
this.role = role;
34
36
}
37
38
+ @Nullable
39
public static Person fromJSON(JSONObject json, int localTableBlogId) {
40
if (json == null) {
41
return null;
0 commit comments