You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc17b01
Browse filesBrowse the repository at this point in the historyBrowse files
if ((jsonObj.get("bannerUrl") != null && !jsonObj.get("bannerUrl").isJsonNull()) && !jsonObj.get("bannerUrl").isJsonPrimitive()) {
817
809
thrownewIllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `bannerUrl` to be a primitive type in the JSON string but got `%s`", jsonObj.get("bannerUrl").toString()));
818
810
}
819
-
// ensure the optional json data is an array if present
820
-
if (jsonObj.get("currentAvatarTags") != null && !jsonObj.get("currentAvatarTags").isJsonNull() && !jsonObj.get("currentAvatarTags").isJsonArray()) {
821
-
thrownewIllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `currentAvatarTags` to be an array in the JSON string but got `%s`", jsonObj.get("currentAvatarTags").toString()));
811
+
if ((jsonObj.get("currentAvatarTags") != null && !jsonObj.get("currentAvatarTags").isJsonNull()) && !jsonObj.get("currentAvatarTags").isJsonPrimitive()) {
812
+
thrownewIllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `currentAvatarTags` to be a primitive type in the JSON string but got `%s`", jsonObj.get("currentAvatarTags").toString()));
822
813
}
823
814
if ((jsonObj.get("debugflag") != null && !jsonObj.get("debugflag").isJsonNull()) && !jsonObj.get("debugflag").isJsonPrimitive()) {
824
815
thrownewIllegalArgumentException(String.format(java.util.Locale.ROOT, "Expected the field `debugflag` to be a primitive type in the JSON string but got `%s`", jsonObj.get("debugflag").toString()));
0 commit comments