Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import static de.cyface.model.Event.EventType.LIFECYCLE_START;
import static de.cyface.model.Event.EventType.LIFECYCLE_STOP;
import static de.cyface.model.Event.EventType.MODALITY_TYPE_CHANGE;
import static de.cyface.model.MetaData.SUPPORTED_VERSIONS;
import static de.cyface.model.Modality.BICYCLE;
import static de.cyface.model.Modality.WALKING;
import static org.hamcrest.CoreMatchers.equalTo;
Expand Down Expand Up @@ -308,7 +307,7 @@ void testTrackBuilderWithShortFinalSegment() throws InvalidLifecycleEvents, NoTr
"appVersion",
0,
UUID.randomUUID(),
SUPPORTED_VERSIONS,
"3.1.0",
new Date()
);
Measurement.Companion.create(metaData, tracks);
Expand Down
2 changes: 1 addition & 1 deletion libs/model/src/main/kotlin/de/cyface/model/MetaData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class MetaData: Serializable {
/**
* Regex of supported [MetaData] versions of this class.
*/
const val SUPPORTED_VERSIONS: String = "3.1.0"
const val SUPPORTED_VERSIONS: String = "^3\\.[01]\\.0$"

/**
* Used to serialize objects of this class. Only change this value if this classes attribute set changes.
Expand Down