Skip to content

Commit 8a6ab23

Browse files
committed
[Core] Fix to stay backward compatible after removing SystemId class
1 parent 2a4f48b commit 8a6ab23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sensorhub-datastore-h2/src/main/java/org/sensorhub/impl/datastore/h2/kryo/PersistentClassResolver.java

+3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ protected String mapClassName(String className)
113113
if (className.startsWith("com.vividsolutions"))
114114
return className.replace("com.vividsolutions", "org.locationtech");
115115

116+
else if (className.equals("org.sensorhub.api.system.SystemId"))
117+
return "org.sensorhub.api.feature.FeatureId";
118+
116119
return className;
117120
}
118121

0 commit comments

Comments
 (0)