foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/serializer/repeated/impl/enums/EnumNotPackedWriteSchemas.java [108:122]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void writeStringCollection(OutputEx output, Collection<String> collection) throws IOException {
      for (String element : collection) {
        if (element == null) {
          ProtoUtils.throwNotSupportNullElement(protoField);
          return;
        }

        Integer enumValue = enumMeta.getValueByName(element);
        if (enumValue == null) {
          throw new IllegalStateException(
              String.format("invalid enum name %s for proto %s, field=%s:%s",
                  element,
                  protoField.getTypeName(),
                  ((Type) protoField.getParent()).getCanonicalName(),
                  protoField.getName()));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



foundations/foundation-protobuf/src/main/java/org/apache/servicecomb/foundation/protobuf/internal/schema/serializer/repeated/impl/enums/EnumPackedWriteSchemas.java [104:118]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private void writeStringCollection(OutputEx output, Collection<String> collection) throws IOException {
      for (String element : collection) {
        if (element == null) {
          ProtoUtils.throwNotSupportNullElement(protoField);
          return;
        }

        Integer enumValue = enumMeta.getValueByName(element);
        if (enumValue == null) {
          throw new IllegalStateException(
              String.format("invalid enum name %s for proto %s, field=%s:%s",
                  element,
                  protoField.getTypeName(),
                  ((Type) protoField.getParent()).getCanonicalName(),
                  protoField.getName()));
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



