Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
yeikel committed Dec 23, 2024
1 parent 330b7c7 commit b38da7c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,9 @@ private Map<String, ProtoFile> loadFilesWithLocations() {
* <p>This method is designed to standardize file paths by converting Windows-style backslashes (`\`)
* 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>
* 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>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>
*
* @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 b38da7c

Please sign in to comment.