You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2022/08/15 02:05:11 UTC
[GitHub] [cxf] jimma commented on a diff in pull request #979: [CXF-8749]:Existing handler file fails the compile generated java sou…
jimma commented on code in PR #979:
URL: https://github.com/apache/cxf/pull/979#discussion_r945383467
##########
tools/common/src/main/java/org/apache/cxf/tools/common/ClassUtils.java:
##########
@@ -97,8 +99,9 @@ public void compile(ToolContext context) throws ToolException {
try {
Files.copy(otherFile,
- Files.createDirectories(Paths.get(targetDir, dirName)).resolve(str));
-
+ Files.createDirectories(Paths.get(targetDir, dirName)).resolve(str));
+ } catch (FileAlreadyExistsException existsException) {
+ LOG.log(Level.WARNING, "EXIST_RESOURCE_FILE", otherFile);
Review Comment:
@reta You are right and fixed.Thanks for the review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org