硬编码文件分隔符
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/alibaba/DataX/blob/05a000db446aa8185191824f6d56fa1c131aeb79/core/src/main/java/com/alibaba/datax/core/container/util/HookInvoker.java#L88
应用程序需要在不同的平台上运行时,使用硬编码文件分隔符会导致应用程序逻辑执行错误,应使用语言库提供的独立于平台的API,如java.io.File.separator,也可以通过使用java.lang.System.getProperty("file.separator")来获取。
Contributor guide
No contributing guide indexed for this repository
Research direction
Open core/src/main/java/com/alibaba/datax/core/container/util/HookInvoker.java at line 88 and inspect the hard-coded file separator. Replace the platform-specific usage with the Java platform-independent API requested in the issue, then verify that the application logic remains correct across operating systems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100