core/src/main/java/com/twitter/elephantbird/util/ThriftToDynamicProto.java
private Field resolveField(Field inputField) {
    if (inputField.isList()) {
      return inputField.getListElemField();
    } else if (inputField.isSet()) {
      return inputField.getSetElemField();
    } else {
      return inputField;
    }
  }
private Field resolveField(Field inputField) {
    if (inputField.isList()) {
      return inputField.getListElemField();
    } else if (inputField.isSet()) {
      return inputField.getSetElemField();
    } else {
      return inputField;
    }
  }
private Field resolveField ( Field inputField ) { if ( inputField . isList ( ) ) { return inputField . getListElemField ( ) ; } else if ( inputField . isSet ( ) ) { return inputField . getSetElemField ( ) ; } else { return inputField ; } }
When dealing with a Set/List, we want to retrieve the relevant Field type
When dealing with a Set / List we want to retrieve the relevant Field type