PathTool.getRelativeFilePath() returns null for Windows cross-drive scenarios (lines 167 and 174) instead of "" (empty string). The method's Javadoc shows "" for null/empty inputs, and callers may not expect null.
Fix: change the two return null to return "".
PathTool.getRelativeFilePath()returnsnullfor Windows cross-drive scenarios (lines 167 and 174) instead of""(empty string). The method's Javadoc shows""for null/empty inputs, and callers may not expect null.Fix: change the two
return nulltoreturn "".