removed conflict data from blocks as it is not needed and not yet implemented

This commit is contained in:
sergeych committed 2023-03-23 18:38:26 +01:00
1 parent 2249eb539a
commit a1c5d9ee88
2 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ plugins {
}
group = "net.sergeych"
version = "0.0.3-SNAPSHOT"
version = "0.0.4-SNAPSHOT"
repositories {
mavenCentral()
@@ -60,14 +60,14 @@ sealed class MergedBlock<T> {
*/
data class Resolved<T>(override val data: List<T>) : MergedBlock<T>()
/**
* The portion of data that can't be merged due to the conflicting changes.
* __Note it is not yet used.__
*/
@Suppress("unused")
data class Conflict<T>(val variantA: List<T>, val variantB: List<T>) : MergedBlock<T>() {
override val data = variantA + variantB
}
// /**
// * The portion of data that can't be merged due to the conflicting changes.
// * __Note it is not yet used.__
// */
// @Suppress("unused")
// data class Conflict<T>(val variantA: List<T>, val variantB: List<T>) : MergedBlock<T>() {
// override val data = variantA + variantB
// }
}