Skip to content

Commit 330b7c7

Browse files
committed
extend docs
1 parent c62d11b commit 330b7c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/main/java/io/kafbat/ui/serdes/builtin/ProtobufFileSerde.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ private Map<String, ProtoFile> loadFilesWithLocations() {
435435
* to Linux/Unix-style forward slashes (`/`) when the application is running on a Windows OS.
436436
* On other operating systems, the input path is returned unchanged.</p>
437437
* This is needed because imports in Protobuf use forward slashes (`/`) for the imports
438+
* which causes a conflict with Windows paths. Ie: `language/language.proto` is converted to `language\language.proto`
438439
*
439440
* @param path the file path to standardize; must not be {@code null}.
440441
* @return the standardized file path with forward slashes if running on Windows, or the original path otherwise.

0 commit comments

Comments
 (0)