Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Dec 23, 2024
1 parent b38da7c commit dc790f4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,9 @@ private Map<String, ProtoFile> loadFilesWithLocations() {
* to Linux/Unix-style forward slashes (`/`) when the application is running on a Windows OS.
* On other operating systems, the input path is returned unchanged.</p>
*
* <p>This is needed because imports in Protobuf use forward slashes (`/`) for the imports
* which causes a conflict with Windows paths. Ie: `language/language.proto` is converted to `language\language.proto`</p>
* <p>This is needed because imports in Protobuf use forward slashes (`/`)
* which causes a conflict with Windows paths. For example,`language/language.proto`
* would be converted to `language\language.proto` in Windows causing a resolution exception</p>
*
* @param path the file path to standardize; must not be {@code null}.
* @return the standardized file path with forward slashes if running on Windows, or the original path otherwise.
Expand Down

0 comments on commit dc790f4

Please sign in to comment.