initializer-generator/src/main/java/org/apache/dubbo/initializer/generation/extension/codes/sample/ProtoBufCodeContributor.java [196:206]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void writeCode(RepoRenderResult.TemplateRenderResult result, Language language, Path projectRoot, SourceStructure structure) {
        String content = result.getContent();
        Path path = reslovePackagePath(structure.getSourcesDirectory(), content);
        path = path.resolve(result.getFileName());

        try {
            doWirte(path, content, false);
        } catch (IOException e) {
            throw new BizRuntimeException(ErrorCodeEnum.SYSTEM_ERROR, "write code error", e);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



initializer-generator/src/main/java/com/alibaba/initializer/generation/extension/SampleCodeContributor.java [231:241]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected void writeCode(RepoRenderResult.TemplateRenderResult result, Language language, Path projectRoot, SourceStructure structure) {
        String content = result.getContent();
        Path path = reslovePackagePath(structure.getSourcesDirectory(), content);
        path = path.resolve(result.getFileName());

        try {
            doWirte(path, content, false);
        } catch (IOException e) {
            throw new BizRuntimeException(ErrorCodeEnum.SYSTEM_ERROR, "write code error", e);
        }
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



