doleyzi commented on code in PR #11557:
URL: https://github.com/apache/inlong/pull/11557#discussion_r1865187297
##########
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java:
##########
@@ -589,6 +599,11 @@ private boolean isPackageDownloaded(ModuleConfig module) {
}
}
+ private String getRealPath(String originPath) {
+ String homeDir = System.getProperty("user.home");
Review Comment:
It is recommended to add a null judgment protection
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]