Skip to content

Commit 01b1a43

Browse files
committed
Minor null fix
1 parent 4ff68a9 commit 01b1a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/fr/formiko/utils/FLUFiles.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public static boolean downloadAndUnzip(String url, String destination, String di
9999

100100
public static boolean openWebLinkInBrowser(String url) { return false; }
101101

102-
public static String toStandardPath(String path) { return path.replace('\\', '/'); }
102+
public static String toStandardPath(String path) { return path == null ? null : path.replace('\\', '/'); }
103103

104104
// Internal class to hide implementation
105105
private static class FLUFilesInternal {

0 commit comments

Comments
 (0)