Skip to content

Commit 09b94cd

Browse files
authored
Fixes AAS Environment Serialization (#866)
1 parent bb01310 commit 09b94cd

File tree

1 file changed

+3
-0
lines changed
  • basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/base

1 file changed

+3
-0
lines changed

basyx.aasenvironment/basyx.aasenvironment-core/src/main/java/org/eclipse/digitaltwin/basyx/aasenvironment/base/DefaultAASEnvironment.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,9 @@ private static String getHashedFilePath(String filePath) throws NoSuchAlgorithmE
414414
}
415415

416416
private static boolean isURL(String path) {
417+
if(path == null || path.isEmpty()) {
418+
return false;
419+
}
417420
return path.startsWith("http");
418421
}
419422
}

0 commit comments

Comments
 (0)