Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Orozco committed May 8, 2017
1 parent fec71c0 commit 0c29247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sdk/list/ListItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0c29247

Please sign in to comment.