Subversion Repositories SmartDukaan

Rev

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

Rev 4406 Rev 4431
Line 2795... Line 2795...
2795
          }
2795
          }
2796
          break;
2796
          break;
2797
        case 23: // OTHER_INFO
2797
        case 23: // OTHER_INFO
2798
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2798
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2799
            {
2799
            {
2800
              org.apache.thrift.protocol.TMap _map5 = iprot.readMapBegin();
2800
              org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
2801
              this.otherInfo = new HashMap<String,String>(2*_map5.size);
2801
              this.otherInfo = new HashMap<String,String>(2*_map10.size);
2802
              for (int _i6 = 0; _i6 < _map5.size; ++_i6)
2802
              for (int _i11 = 0; _i11 < _map10.size; ++_i11)
2803
              {
2803
              {
2804
                String _key7; // required
2804
                String _key12; // required
2805
                String _val8; // required
2805
                String _val13; // required
2806
                _key7 = iprot.readString();
2806
                _key12 = iprot.readString();
2807
                _val8 = iprot.readString();
2807
                _val13 = iprot.readString();
2808
                this.otherInfo.put(_key7, _val8);
2808
                this.otherInfo.put(_key12, _val13);
2809
              }
2809
              }
2810
              iprot.readMapEnd();
2810
              iprot.readMapEnd();
2811
            }
2811
            }
2812
          } else { 
2812
          } else { 
2813
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2813
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 3028... Line 3028...
3028
    }
3028
    }
3029
    if (this.otherInfo != null) {
3029
    if (this.otherInfo != null) {
3030
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
3030
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
3031
      {
3031
      {
3032
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
3032
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
3033
        for (Map.Entry<String, String> _iter9 : this.otherInfo.entrySet())
3033
        for (Map.Entry<String, String> _iter14 : this.otherInfo.entrySet())
3034
        {
3034
        {
3035
          oprot.writeString(_iter9.getKey());
3035
          oprot.writeString(_iter14.getKey());
3036
          oprot.writeString(_iter9.getValue());
3036
          oprot.writeString(_iter14.getValue());
3037
        }
3037
        }
3038
        oprot.writeMapEnd();
3038
        oprot.writeMapEnd();
3039
      }
3039
      }
3040
      oprot.writeFieldEnd();
3040
      oprot.writeFieldEnd();
3041
    }
3041
    }