From 0c2924746779a7195a1cd0cb0c096846366bf2fd Mon Sep 17 00:00:00 2001 From: Sam Orozco Date: Mon, 8 May 2017 16:04:06 -0700 Subject: [PATCH] no message --- app/sdk/list/ListItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/sdk/list/ListItem.java b/app/sdk/list/ListItem.java index 1c0225a..69a299a 100644 --- a/app/sdk/list/ListItem.java +++ b/app/sdk/list/ListItem.java @@ -224,7 +224,7 @@ public void serialize(ListItem value, JsonGenerator gen, SerializerProvider seri for ( int i = 0; i <= value.maxAttributeIndex; i++ ) { ListItemAttribute attribute = value.getAttributeForIndex(i); if ( attribute != null ) { - if ( i < 10 ) { + if ( i < 9 ) { gen.writeStringField("attribute0" + (i + 1), attribute.getStringValue()); } else { gen.writeStringField("attribute" + (i + 1), attribute.getStringValue());