Subversion Repositories SmartDukaan

Rev

Rev 3430 | Rev 5327 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3430 Rev 3555
Line 971... Line 971...
971
          }
971
          }
972
          break;
972
          break;
973
        case 2: // LINES
973
        case 2: // LINES
974
          if (field.type == org.apache.thrift.protocol.TType.LIST) {
974
          if (field.type == org.apache.thrift.protocol.TType.LIST) {
975
            {
975
            {
976
              org.apache.thrift.protocol.TList _list8 = iprot.readListBegin();
976
              org.apache.thrift.protocol.TList _list12 = iprot.readListBegin();
977
              this.lines = new ArrayList<Line>(_list8.size);
977
              this.lines = new ArrayList<Line>(_list12.size);
978
              for (int _i9 = 0; _i9 < _list8.size; ++_i9)
978
              for (int _i13 = 0; _i13 < _list12.size; ++_i13)
979
              {
979
              {
980
                Line _elem10; // required
980
                Line _elem14; // required
981
                _elem10 = new Line();
981
                _elem14 = new Line();
982
                _elem10.read(iprot);
982
                _elem14.read(iprot);
983
                this.lines.add(_elem10);
983
                this.lines.add(_elem14);
984
              }
984
              }
985
              iprot.readListEnd();
985
              iprot.readListEnd();
986
            }
986
            }
987
          } else { 
987
          } else { 
988
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
988
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 1076... Line 1076...
1076
    oprot.writeFieldEnd();
1076
    oprot.writeFieldEnd();
1077
    if (this.lines != null) {
1077
    if (this.lines != null) {
1078
      oprot.writeFieldBegin(LINES_FIELD_DESC);
1078
      oprot.writeFieldBegin(LINES_FIELD_DESC);
1079
      {
1079
      {
1080
        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lines.size()));
1080
        oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.lines.size()));
1081
        for (Line _iter11 : this.lines)
1081
        for (Line _iter15 : this.lines)
1082
        {
1082
        {
1083
          _iter11.write(oprot);
1083
          _iter15.write(oprot);
1084
        }
1084
        }
1085
        oprot.writeListEnd();
1085
        oprot.writeListEnd();
1086
      }
1086
      }
1087
      oprot.writeFieldEnd();
1087
      oprot.writeFieldEnd();
1088
    }
1088
    }